... | ... |
@@ -28,7 +28,6 @@ function set_RTCWAKE_TIME () { |
28 | 28 |
NOW=$(date +%_H%M%S) |
29 | 29 |
if test -z "$AWAKE_TIME"; then |
30 | 30 |
for ((i=0; i<${#AWAKE_TIMES[@]}; i++)); do |
31 |
- echo "set_RTCWAKE_TIME: test $NOW -lt ${AWAKE_TIMES[i]//:}" >> $LOG |
|
32 | 31 |
if test $NOW -lt ${AWAKE_TIMES[i]//:}; then |
33 | 32 |
RTCWAKE_TIME=$(date +%s -d ${AWAKE_TIMES[i]}) |
34 | 33 |
echo "next wake up at ${AWAKE_TIMES[i]}" >> $LOG |