LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-09-2002, 04:05 PM   #1
bfought
LQ Newbie
 
Registered: Sep 2002
Posts: 1

Rep: Reputation: 0
Question Shutdown routine with power button


Is there a way start a shutdown routine when the power button is pressed once?
 
Old 09-09-2002, 04:24 PM   #2
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

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

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?
 
Old 09-09-2002, 06:23 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Button for Shutdown gokul Linux - Hardware 4 01-24-2004 12:40 PM
ACPI: shutdown computer by pushing power button... elluva Mandriva 10 12-15-2003 03:57 AM
RH 9 orderly shutdown by power button? geezjan Red Hat 1 09-19-2003 10:01 AM
Automatic shutdown when power button pressed.. mr_smidge Linux - General 9 09-08-2003 02:16 AM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 02:43 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration