Re: Power off on shutdown not working in 2.2.0-pre9

Ben Hutchings (womble@zzumbouk.demon.co.uk)
Mon, 25 Jan 1999 02:23:11 +0000


On Sun, Jan 24, 1999 at 07:19:20PM +0200, Meelis Roos wrote:
> TP> Machine does not power down when executing "shutdown -h".
>
> You need newer SysVinit. I wonder why the CHanges file doesn't mention
> it?

Earlier development kernels would change the meaning of `halt' to be
`power-off' if this was enabled, to avoid the need for any change in
SysVinit. I suppose someone decided this was a bad idea, so now
power-off must be explicitly requested by the shutdown program. The
new SysVinit does this if the new -p flag is used (together with -f).
So it's necessary to add the -p flag to the halt/shutdown command in
the script that really shuts down the computer - typically
/etc/init.d/halt or /etc/rc.d/init.d/halt.

-- 
Ben Hutchings, software engineer | web site to be reconstructed at some time
womble@ferret.lmh.ox.ac.uk | Team *AMIGA* | Jay Miner Society - www.jms.org
Absolutum obsoletum. (If it works, it's out of date.) - Stafford Beer

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/