LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Shutdown routine with power button (https://www.linuxquestions.org/questions/linux-newbie-8/shutdown-routine-with-power-button-29989/)

bfought 09-09-2002 04:05 PM

Shutdown routine with power button
 
Is there a way start a shutdown routine when the power button is pressed once? :confused:

jglen490 09-09-2002 04:24 PM

Probably not. On most machines, the power button directly interacts with the flow of electricity :cool: .

What you can do, usually, is configure the control/alt/delete keyin to do a "shutdown -h now" command which will gracefully bring your Linux system to a state where it can be interrupted from the power supply.

What distro do you have and do you use a GUI or a window manager?

MasterC 09-09-2002 06:23 PM

Some time ago, in a galaxy far far away, on a planet known as Microhard, I was able to do that in another well known OS. I think there must be a way, this would be of course on an ATX case, not AT. I will poke around and see if I can find anything, that may have been a feature of the BIOS though.

Cool


All times are GMT -5. The time now is 08:49 PM.