Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@user-laptop:/home/user# cat /etc/acpi/events/powerbtn
- # /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
- root@user-laptop:/home/user#
Advertisement
Add Comment
Please, Sign In to add comment