You are not logged in.

#1 2004-06-13 22:03:10

leejpar
Member
From: Texas, USA
Registered: 2004-05-28
Posts: 51
Website

acpid scripts

Anyone written any scripts for acpid that they would like to share? The only info I can find on this topic is a brief hint in the man page for acpid. Some "real" example would help! ACPI does not really do much without some scripts to handle the events. When some of these surface or get written, it would be nice if they were included with the acpid deamon pkg. Debian apparently has at least one acpid script for handling the pressing of the power "button", but I have not seen it yet, probably relates to man page hint. Anyone really having ACPI working will have written or found some acpid scripts.   roll


Linux Registered User #337161
'It's free. It works. Duh.'" - Eric Harrison

Offline

#2 2004-06-14 05:22:05

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: acpid scripts

for the power button
make a file eg. poweroff in /etc/acpi/events
and enter in it(i got that from the manpage and it works):
event=button/power.*
action=/sbin/halt

Offline

Board footer

Powered by FluxBB