Created
May 4, 2011 19:38
-
-
Save laurynas/955861 to your computer and use it in GitHub Desktop.
Execute ACPI wakeup schedule and halt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
SCHEDULE_CMD="/opt/schedule_acpi_wakeup/schedule_acpi_wakeup.sh" | |
if [ ! -x $SCHEDULE_CMD ]; then | |
echo "$SCHEDULE_CMD not found" | |
exit 1 | |
fi | |
$SCHEDULE_CMD | |
/sbin/halt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment