From dbca66326a0d3bec33b3ee335e2b41017912e3cf Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 12 Feb 2022 20:40:57 +0100 Subject: [PATCH] sleep faster --- bundles/wol-sleeper/files/suspend_if_idle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/wol-sleeper/files/suspend_if_idle b/bundles/wol-sleeper/files/suspend_if_idle index 99434d9..2355bbb 100644 --- a/bundles/wol-sleeper/files/suspend_if_idle +++ b/bundles/wol-sleeper/files/suspend_if_idle @@ -1,7 +1,7 @@ #!/bin/bash UPTIME=$(cat /proc/uptime | cut -d. -f1) -MIN_UPTIME=$(expr 60 \* 30) +MIN_UPTIME=$(expr 60 \* 10) if [[ "$UPTIME" -lt "$MIN_UPTIME" ]] then echo "ABORT: uptime ($UPTIME) lower than min ($MIN_UPTIME)"