Showing 1 changed files with 0 additions and 2 deletions
-2
rtcwake
... ...
@@ -30,11 +30,9 @@ function set_RTCWAKE_TIME () {
30 30
         for ((i=0; i<${#AWAKE_TIMES[@]}; i++)); do
31 31
             if test $NOW -lt ${AWAKE_TIMES[i]//:}; then
32 32
                 RTCWAKE_TIME=$(date +%s -d ${AWAKE_TIMES[i]})
33
-                echo "next wake up at ${AWAKE_TIMES[i]}" >> $LOG
34 33
                 break
35 34
             elif test $i -eq $((${#AWAKE_TIMES[@]} - 1)); then
36 35
                 RTCWAKE_TIME=$(date +%s -d "tomorrow ${AWAKE_TIMES[0]}")
37
-                echo "next wake up tomorrow at ${AWAKE_TIMES[0]}" >> $LOG
38 36
             fi
39 37
         done
40 38
     else