Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Stefan Brunnengraeber on September 14, 2002, 04:18:46 AM
-
Hello,
is there an easy way to fetch the signal of the power button of an ATX motherboard to make a good shutdown -h now instead of stealing the servers power?
A small piece of software etc..
In SuSE Linux I think, this is possible via software, but I'm not firm in searching this in the code ... :-)
Thanks.
Stefan
Germany
-
Not quite sure what you are looking for but this might help...
I have set up a ups monitor daemon (powerd) to monitor /dev/ttys0 - even though I have no ups on the server.. I have put a toggle switch between RTC and CTS and set powerd to detect CTS high and trigger shutdown in zero minutes. I use this on a family server so it is easy for the kids to shut it down when storms threaten.
HTH
regards
David
-
Hello,
thanks.
The mainly achieved thing is to prevent a hard power down if I press the power switch at the frontpanel of the server.
I'm searching for a solution to get a shutdown -h now when someone presses the power button.
I have a Spacewalker housing, look at www.spacewalker.com
Stefan
-
Hi all,
Maybe you can read this articles and get some ideas. It feets quite well what you are looking for.
http://www.linuxfocus.org/English/January2001/article186.shtml
http://www.linuxfocus.org/English/July2002/article239.shtml
Hope it helps. Regards
-
thing is, all modern PCs have a shut down button built in - the power button, and ACPI to control it.
Windows will shut down gracefully with the power button, so shirley Linux must?
Anyway to enable that?