debian/addons/events/suspendbtn
raw| 1 | # /etc/acpi/events/suspendbtn |
| 2 | # Called when the user presses the suspend button |
| 3 | |
| 4 | # Note that this script is part of the SUSPEND part of acpi-support. This is |
| 5 | # not a key translation event, it is intended to perform a hibernate if no |
| 6 | # power management daemon is running. |
| 7 | |
| 8 | event=button[ /]suspend |
| 9 | action=/etc/acpi/sleep_suspend.sh suspend |
| 10 |