"Anthony E. Greene" wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, 25 Nov 2001, Bill Hartwell wrote:
>
> >On Sunday 25 November 2001 10:27 pm, Redhat mailing list wrote:
> >> What I mean is normally shutdown, sorry i 4got to clear this.  I have two
> >> OS running on my machine,
> >> one is
> >> windows 2000 and the other is linux.  when I'm running windows and press
> >> my power switch, the windows OS normaly shutdowns, not just turning the
> >> power off.  Im thinking if this could be made in linux....pressing power
> >> switch and sends a "shutdown -h now" like command...
> >
> >That's one interesting machine you have. I know about binding ctrl-alt-del to
> >the shutdown command, but normally a power switch is directly linked to the
> >power supply, and therefore hitting that switch simply kills your power. A
> >machine that can be set up to do a normal shutdown by hitting the power
> >switch would make a LOT of people very happy.
>
> It's too bad he's not running gdm or kdm. Both of these have a shutdown
> command on the login screen. Just clickt he shutdown, turn off the
> monitor, and walk away. It's just as fast and easy as reaching for the
> power button. When the OS is finished shutting down, it sends a signal to
> the motherboard and the power supply is turned off.
>

I think this is the thing you need.  I may look into it myself.  We have many
keyboard-less machines that we cannont shutdown cleanly if the network freaks for
some reason ( one possibility is power failure and dhcp server down for some
reason.  At least that is the way I read the DHCP from the book.  It has not
happened yet but I am paranoid).  Now if I can just find a dhcp client that meets
the RFC and will keep its last ip address if the server is not there for some
reason Sigh...

Any way I digress as well as probably set myself up for some flames.
check out:
http://deadlock.et.tudelft.nl/~joris/powerswitch/README.powerswitch

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to