lkml.org 
[lkml]   [1999]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Power off on shutdown not working in 2.2.0-pre9
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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog