aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "" ];
}