From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CudKm-0001ao-0I for mharc-grub-devel@gnu.org; Fri, 28 Jan 2005 16:07:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CudHb-0000RP-Ux for grub-devel@gnu.org; Fri, 28 Jan 2005 16:04:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CudHJ-0000H1-2Y for grub-devel@gnu.org; Fri, 28 Jan 2005 16:03:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CudHG-0000FT-CB for grub-devel@gnu.org; Fri, 28 Jan 2005 16:03:38 -0500 Received: from [217.12.11.33] (helo=smtp002.mail.ukl.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CucxF-0005Fk-53 for grub-devel@gnu.org; Fri, 28 Jan 2005 15:42:57 -0500 Received: from unknown (HELO ?192.168.0.2?) (subdino2004@83.194.40.238 with plain) by smtp002.mail.ukl.yahoo.com with SMTP; 28 Jan 2005 20:42:56 -0000 Message-ID: <41FAA3D8.3090108@yahoo.fr> Date: Fri, 28 Jan 2005 21:43:04 +0100 From: Vincent Pelletier User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <87pszp1fjq.fsf@marco.marco-g.com> In-Reply-To: <87pszp1fjq.fsf@marco.marco-g.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: reboot and halt commands for the PPC X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 21:07:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marco Gerards wrote: | The shut-down command that is run the same way is more problematic | because I can not find it in the spec. | +static grub_err_t | +grub_cmd_halt (struct grub_arg_list *state __attribute__ ((unused)), | + int argc __attribute__ ((unused)), | + char **args __attribute__ ((unused))) | +{ | + grub_ieee1275_interpret ("shut-down", 0); | + return 0; Isn't it "power-off" ? afaik, my sparc only understand power-off to cut the power. Vincent Pelletier -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB+qPYFEQoKRQyjtURAqXwAJ9ZCBY53aqTgBhWyPcp8tbgigjCgwCfWbBp 5e5i5X2AgBpzxfs/AmBMhzE= =pjHx -----END PGP SIGNATURE-----