Re: Power Off on Halt: Solution

T Taneli Vahakangas (vahakang@cs.Helsinki.FI)
Wed, 18 Mar 1998 02:01:21 +0200 (EET)


On Wed, 18 Mar 1998, Kurt Garloff wrote:

> On Tue, Mar 17, 1998 at 08:43:14PM +0100, Bernhard Rosenkraenzer wrote:
> >
> > Can't be glibc...
> > I'm having the same problem on a ATX K6 running sysvinit 2.73 and glibc
> > 2.0.7 as well as a Medion Notebook running sysvinit 2.73 and libc 5.4.44.
>
> The solution is much easier:
> The power_off command did get an own magic number for the syscall:
> Have a look into linux/include/linux/reboot.h
>
> 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)

>
> --
> Kurt Garloff, Dortmund
> <K.Garloff@ping.de>
> PGP key on http://student.physik.uni-dortmund.de/homepages/garloff
>

Taneli <vahakang@cs.helsinki.fi>

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