mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-24 10:38:41 +02:00
netwatch-notify: give netwatch some time to settle
This commit is contained in:
parent
491ecdb812
commit
cd3fde59d7
1 changed files with 4 additions and 0 deletions
|
@ -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 "" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue