2010-02-07 Vladimir Serbinenko <phcoder@gmail.com>
* kern/ieee1275/openfw.c (grub_halt): Try executing "poweroff".
This commit is contained in:
parent
473df63dc0
commit
62509f0434
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue