Showing 1 changed files with 3 additions and 0 deletions
+3
rtcwake
... ...
@@ -84,6 +84,9 @@ EOL
84 84
                         eval "$ON_ERROR"
85 85
                     fi
86 86
                     break
87
+                elif test -n "$STAY_AWAKE" && test -e $STAY_AWAKE; then
88
+                    rm -f $STAY_AWAKE
89
+                    exit
87 90
                 fi
88 91
             done
89 92
             systemctl suspend