diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-01-17 21:59:58 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-01-17 21:59:58 (GMT) |
commit | 8b62e097a7aa99c5a5a4a7a81da9a04dd35b2cf7 (patch) | |
tree | 43be3409193b0d3f008e811b84f2f64e9e470f86 /abs/core/LinHES-system/mythwelcome-set-alarm.sh | |
parent | 840371690b62ee807ad63855af9a6ed66f0b38ba (diff) | |
parent | d3bcf5aad566eddc2514d84c148ed1f7d0ee4033 (diff) | |
download | linhes_pkgbuild-8b62e097a7aa99c5a5a4a7a81da9a04dd35b2cf7.zip linhes_pkgbuild-8b62e097a7aa99c5a5a4a7a81da9a04dd35b2cf7.tar.gz linhes_pkgbuild-8b62e097a7aa99c5a5a4a7a81da9a04dd35b2cf7.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/LinHES-system/mythwelcome-set-alarm.sh')
-rwxr-xr-x | abs/core/LinHES-system/mythwelcome-set-alarm.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/mythwelcome-set-alarm.sh b/abs/core/LinHES-system/mythwelcome-set-alarm.sh index 990adf7..7b10372 100755 --- a/abs/core/LinHES-system/mythwelcome-set-alarm.sh +++ b/abs/core/LinHES-system/mythwelcome-set-alarm.sh @@ -1,6 +1,6 @@ #!/bin/sh #$1 is the first argument to the script. It is the time in seconds since 1970 -#This is defined in mythwelcome with the time_t argument +#This is defined in mythwelcome and mythbackend with the time_t argument. # Configure mythwelcome --setup page: # Command to Set Wakeup Time: sudo sh -c "/usr/LH/bin/mythwelcome-set-alarm.sh $time" @@ -16,7 +16,7 @@ # Wakeup time format: yyyy-MM-ddThh:mm:ss # Set wakeup time command: /usr/bin/mythshutdown --setwakeup $time # Server Halt command: /usr/bin/mythshutdown --shutdown -# Pre shutdown check command: /usr/bin/mythshutdown --check +# Pre shutdown check command: /usr/bin/mythshutdown --check echo 0 > /sys/class/rtc/rtc0/wakealarm #this clears your alarm echo $1 > /sys/class/rtc/rtc0/wakealarm #this writes your alarm |