LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 10-04-2004, 07:03 AM   #1
kikkubey
LQ Newbie
 
Registered: Oct 2004
Location: Hanoi Vietnam
Posts: 4

Rep: Reputation: 0
How to control the power button in redhat 7.3 like windows XP - please helps !


Is there anyone know how to control the power button in redhat 7.3 like windows XP, for example, in WinXP, I could set that: when I press the power button and nothing is happened - that what I want because when I am running my model and I don't want if anyone press power button and everything is ... poor me :-(.

Thank you very much.
 
Old 10-04-2004, 08:39 AM   #2
db391
Member
 
Registered: Jun 2004
Location: Britain
Distribution: Slackware
Posts: 186

Rep: Reputation: 31
you need to enable acpi & acpid support:

first edit (i forget the exact path) /etc/acpi/event.d/default

and edit the power line so that instead of '/sbin/init 0' you can put another command like 'echo 'i am doing nothing''

now edit /etc/lilo.conf and add a line in your image section:

append="acpi=on"

update lilo, reboot, and start acpid.
 
Old 10-05-2004, 01:48 AM   #3
kikkubey
LQ Newbie
 
Registered: Oct 2004
Location: Hanoi Vietnam
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you so much. Now I will try to do what U said.
 
  


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
How to Power-Off with Button? win32sux Linux - Hardware 6 07-01-2006 02:19 PM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 09:08 PM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 03:43 PM
Can I use the power button like in Windows? Mackan Linux - Newbie 2 03-16-2002 04:43 AM
X-windows helps on mandrake 8.0! newguy2001 Linux - Newbie 0 05-18-2001 12:44 AM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
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