Re: Power Off on Halt: Solution

Doug Nazar (nazard@idirect.com)
Tue, 17 Mar 98 22:29:36 -0500


On Wed, 18 Mar 1998 02:01:21 +0200 (EET), T Taneli Vahakangas wrote:

>> Apply the attached patch. (It's against sysvinit-2.69.)
>> I left the BMAGIC_HALT for 2.0 compatibility.
>
>If this is the *right* fix, I think it is already fixed in sysvinit 2.74
>(so forget my previous message)

It also depends on the COMPATIBILITY define in sysvinit. By default,
halt (and therefore poweroff) basically just change the runlevel if
it's currently not in runlevel 0 or 6. The simple fix that worked here
was to modify /etc/rc.0 to call poweroff instead of halt.

Doug Nazar

Phone: (416) 708-1578
Fax: (416) 708-8081

PGP KeyId: 0xFFD7050D

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu