14 lines
423 B
Plaintext
14 lines
423 B
Plaintext
# /etc/acpi/events/powerbtn
|
|
# This is called when the user presses the power button and calls
|
|
# /etc/acpi/powerbtn.sh for further processing.
|
|
|
|
# Optionally you can specify the placeholder %e. It will pass
|
|
# through the whole kernel event message to the program you've
|
|
# specified.
|
|
|
|
# We need to react on "button power.*" and "button/power.*" because
|
|
# of kernel changes.
|
|
|
|
event=button[ /]power
|
|
action=/etc/acpi/powerbtn.sh
|