x220-acpi: Add acpi event scripts for Lenovo X220
[shutils.git] / lenovo-x220-linuxacpi / etc / acpi / events / default
1 # /etc/acpi/events/default
2 # This is the ACPID default configuration, it takes all
3 # events and passes them to /etc/acpi/default.sh for further
4 # processing.
5
6 # event keeps a regular expression matching the event. To get
7 # power events only, just use something like "event=button[ /]power.*"
8 # to catch it.
9 # action keeps the command to be executed after an event occurs
10 # In case of the power event above, your entry may look this way:
11 #event=button[ /]power.*
12 #action=/sbin/init 0
13
14 # Optionally you can specify the placeholder %e. It will pass
15 # through the whole kernel event message to the program you've
16 # specified.
17
18 event=.*
19 action=/etc/acpi/default.sh %e