aboutsummaryrefslogtreecommitdiffstats
path: root/netwatch-notify
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-01-02 21:44:22 +0100
committerGravatar Christian Hesse <mail@eworm.de>2022-01-03 10:00:16 +0100
commitcd3fde59d767e9948cbaad6fea08deb6b9b7a181 (patch)
tree73912c887cff7d2dde0019343402e9d32f9a1195 /netwatch-notify
parent491ecdb81254c07840939d9fd21d7f888e6c8386 (diff)
netwatch-notify: give netwatch some time to settle
Diffstat (limited to 'netwatch-notify')
-rw-r--r--netwatch-notify4
1 files changed, 4 insertions, 0 deletions
diff --git a/netwatch-notify b/netwatch-notify
index da6c5ce..ae89cfb 100644
--- a/netwatch-notify
+++ b/netwatch-notify
@@ -46,6 +46,10 @@
$ScriptLock $0;
+:if ([ / system resource get uptime ] < 5m) do={
+ $LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true;
+}
+
:if ([ :typeof $NetwatchNotify ] = "nothing") do={
:set NetwatchNotify [ :toarray "" ];
}