acpid for Debian
----------------------

The acpid daemon now handles user defined events, too. Place event files
under /etc/acpid.d.
If an event occurs, acpid recurses through the event files in order to
see if the regex defined after "event" matches. If they do, action is
executed.

Example: /etc/acpid.d/power

# This file handles the actions for the power button
event=button power.*
action=/etc/acpid/power.sh

Your script will get the complete event string (as reported by
/proc/acpid/events) as $1. You may want to split this by calling
set $*. $1 then holds the event group, $2 takes the event and
$3 and $4 take funny hex values.

Cajus Pollmeier <C.Pollmeier@gmx.net>, Fri, 10 Aug 2001 11:58:48 +0200
