Created
September 19, 2016 14:27
-
-
Save bennettscience/24753482382aba148e6ca191ca6e0a46 to your computer and use it in GitHub Desktop.
Bash script to automate shutdown and startup of a kiosk computer
This file contains 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/bash | |
echo 0 > /sys/class/rtc/rtc0/wakealarm | |
echo `date '+%s' -d '+ 10 minutes'` > /sys/class/rtc/rtc0/wakealarm | |
shutdown |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment