Jan's Linux Log

This blog started out as an install log of RedHat 9 on a Compaq Presario 2538cl laptop (linuxpresario.blogspot.com) . However, I soon started to include little logs to myself when I made configuration changes to software, etc. So, I've moved it over to our domain, and changed its name to Linux Log. Here you will find some tips & tricks related to Linux configuration on a laptop, as well as software related things that I run into. I log here things that worked for me, of course, your mileage may vary.

Any questions/comments? E-mail me at linux_atsign_boshoff|za|net.

« Modem working | Main | Latest RH Kernel »

acpid Installed

June 03, 2003

Installed the acpid utility, which looks for power events and issue commands that you specify. You can get this utility at the acpid event daemon website. Right now, I only have one event, which basically shuts down the computer when you press the power button. I'd like more creative options here, but haven't really thought of any. Let me know if you come up with something useful.

I have a file called power in /etc/acpid/events that contains:

event=button[ /]power
action=shutdown -t 15 -h now "%e"