2008-01-19 Robert Millan <rmh@aybabtu.com>

* kern/powerpc/ieee1275/openfw.c (grub_halt): Issue "power-off"
        command after "shut-down", since implementations differ on which
        the command for halt is.
This commit is contained in:
robertmh 2008-01-19 22:19:20 +00:00
parent 59f1fd8de8
commit e2da7d26bb
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2008-01-19 Robert Millan <rmh@aybabtu.com>
* kern/powerpc/ieee1275/openfw.c (grub_halt): Issue "power-off"
command after "shut-down", since implementations differ on which
the command for halt is.
2008-01-19 Robert Millan <rmh@aybabtu.com> 2008-01-19 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/linuxbios/console.h: Add header protection. * include/grub/i386/linuxbios/console.h: Add header protection.

View file

@ -401,5 +401,8 @@ grub_reboot (void)
void void
grub_halt (void) grub_halt (void)
{ {
/* Not standarized. We try both known commands. */
grub_ieee1275_interpret ("shut-down", 0); grub_ieee1275_interpret ("shut-down", 0);
grub_ieee1275_interpret ("power-off", 0);
} }