1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

netwatch-notify: give netwatch some time to settle

This commit is contained in:
Christian Hesse
2022-01-02 21:44:22 +01:00
parent 491ecdb812
commit cd3fde59d7

View File

@ -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 "" ];
}