mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
netwatch-dns: be move verbose on time to settle
This commit is contained in:
parent
8a0a4c355b
commit
0ad1a79d67
1 changed files with 3 additions and 2 deletions
|
@ -18,8 +18,9 @@
|
|||
|
||||
$ScriptLock $0;
|
||||
|
||||
:if ([ /system/resource/get uptime ] < 5m30s) do={
|
||||
$LogPrintExit2 info $0 ("System just booted, giving netwatch some time to settle.") true;
|
||||
:local SettleTime (5m30s - [ /system/resource/get uptime ]);
|
||||
:if ($SettleTime > 0s) do={
|
||||
$LogPrintExit2 info $0 ("System just booted, giving netwatch " . $SettleTime . " to settle.") true;
|
||||
}
|
||||
|
||||
:local DnsServers ({});
|
||||
|
|
Loading…
Reference in a new issue