From e2da7d26bbafcc0db60ed54437d233b6c5e72f2f Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 19 Jan 2008 22:19:20 +0000 Subject: [PATCH] 2008-01-19 Robert Millan * kern/powerpc/ieee1275/openfw.c (grub_halt): Issue "power-off" command after "shut-down", since implementations differ on which the command for halt is. --- ChangeLog | 6 ++++++ kern/powerpc/ieee1275/openfw.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 776060afc..dfec837ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-19 Robert Millan + + * 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 * include/grub/i386/linuxbios/console.h: Add header protection. diff --git a/kern/powerpc/ieee1275/openfw.c b/kern/powerpc/ieee1275/openfw.c index 7e4f5c565..c9e801355 100644 --- a/kern/powerpc/ieee1275/openfw.c +++ b/kern/powerpc/ieee1275/openfw.c @@ -401,5 +401,8 @@ grub_reboot (void) void grub_halt (void) { + /* Not standarized. We try both known commands. */ + grub_ieee1275_interpret ("shut-down", 0); + grub_ieee1275_interpret ("power-off", 0); }