diff options
author | Christian Hesse <mail@eworm.de> | 2022-01-02 21:44:22 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-01-03 10:00:16 +0100 |
commit | cd3fde59d767e9948cbaad6fea08deb6b9b7a181 (patch) | |
tree | 73912c887cff7d2dde0019343402e9d32f9a1195 /netwatch-notify | |
parent | 491ecdb81254c07840939d9fd21d7f888e6c8386 (diff) |
netwatch-notify: give netwatch some time to settle
Diffstat (limited to 'netwatch-notify')
-rw-r--r-- | netwatch-notify | 4 |
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 "" ]; } |