/acpi/events/powerbtn
http://github.com/brinkman83/bashrc · #! · 13 lines · 10 code · 3 blank · 0 comment · 0 complexity · 57f021ab2369f211018d6e7d11434314 MD5 · raw file
- # /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