summaryrefslogtreecommitdiffstats
path: root/abs/core/acpid/default
blob: 93944aa2b2f74f6b71a072300ee395c3bf47d65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This is the ACPID default configuration, it takes all
# events and passes them to /etc/acpi/default.sh for further
# processing.

# event keeps a regular expression matching the event. To get
# power events only, just use something like "event=button power.*"
# to catch it.
# action keeps the command to be executed after an event occurs
#This halts the computer when the Power button is pressed.

event=button power.*
#action=/sbin/shutdown -h now
action=/usr/local/sbin/shutdown.sh

# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
# specified.

event=.*
action=/etc/acpi/acpi_handler.sh %e