You are not logged in.
Pages: 1
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.
Linux Registered User #337161
'It's free. It works. Duh.'" - Eric Harrison
Offline
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
Pages: 1