updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acpi-eee / power-button.sh
blobf11d3750ca45bae3a60eec376601d608da31bf49
1 #!/bin/bash
2 # Executed on power button press
4 POWER_BUTTON_COMMAND="/sbin/shutdown -t3 -h now"
6 source /etc/acpi/eee.conf
8 $POWER_BUTTON_COMMAND &
10 # Well create power.lock, if it does not yet exist. this will disable suspend2ram.sh and it will be re-enabled once eee-initscript is run.
11 touch /etc/acpi/power.lock
13 exit 0