From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CudhC-0000rN-Ae for mharc-grub-devel@gnu.org; Fri, 28 Jan 2005 16:30:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cudh1-0000o2-DA for grub-devel@gnu.org; Fri, 28 Jan 2005 16:30:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cudgo-0000fp-Vg for grub-devel@gnu.org; Fri, 28 Jan 2005 16:30:03 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cudgn-0000e0-6i for grub-devel@gnu.org; Fri, 28 Jan 2005 16:30:01 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CudQS-0007P3-Ff for grub-devel@gnu.org; Fri, 28 Jan 2005 16:13:08 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id E7EF4A230 for ; Fri, 28 Jan 2005 22:08:35 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 23407-06 for ; Fri, 28 Jan 2005 22:08:34 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 013A69678 for ; Fri, 28 Jan 2005 22:08:34 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id B29BDC046 for ; Fri, 28 Jan 2005 22:08:33 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <87pszp1fjq.fsf@marco.marco-g.com> <41FAA3D8.3090108@yahoo.fr> From: Marco Gerards Date: Fri, 28 Jan 2005 21:08:27 +0000 In-Reply-To: <41FAA3D8.3090108@yahoo.fr> (Vincent Pelletier's message of "Fri, 28 Jan 2005 21:43:04 +0100") Message-ID: <87hdl11ctw.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl 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:30:21 -0000 Vincent Pelletier writes: > 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. Is that a client interface command or a command for the command line interface? On my pegasos I have the shut-down command on the command line interface. The power-off command does not exist. -- Marco