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
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?
>
> --
> Meelis Roos (mroos@tartu.cyber.ee)


Well, maybe Changes does not mention it, but...
/usr/src/linux/Documentation/Configure.help
"Configure.help" [readonly] line 8481 of 11048 --76%-- col 1

CONFIG_APM_POWER_OFF
Enable the ability to power off the computer after the Linux kernel
is halted. You will need software (e.g., a suitable version of the
halt(8) command ("man 8 halt")) to cause the computer to power down.
Recent versions of the sysvinit package available from
ftp://metalab.unc.edu/pub/Linux/system/daemons/init/ (user:
anonymous) contain support for this ("halt -p" shuts down Linux and
powers off the computer, if executed from runlevel 0). As with the
other APM options, this option may not work reliably with some APM
BIOS implementations.

---

On Red Hat:

vi /etc/rc.d/init.d/halt

change command = "halt" to command = "halt -p"

Cheers.

-
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