2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>

* kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-02-07 22:49:45 +01:00
parent 473df63dc0
commit 62509f0434
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
* kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
* genkernsyms.sh.in: Use TARGET_CC.

View File

@ -405,8 +405,9 @@ grub_reboot (void)
void
grub_halt (void)
{
/* Not standardized. We try both known commands. */
/* Not standardized. We try three known commands. */
grub_ieee1275_interpret ("shut-down", 0);
grub_ieee1275_interpret ("power-off", 0);
grub_ieee1275_interpret ("poweroff", 0);
}