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

global-functions: $WaitTimeSync: replace comment with debug output

This commit is contained in:
Christian Hesse
2020-05-17 23:41:54 +02:00
parent 3179994017
commit 83a8743879

View File

@@ -730,6 +730,7 @@
# wait for time to become synced
:set WaitTimeSync do={
:global LogPrintExit;
:global TimeIsSync;
:while ([ $TimeIsSync ] = false) do={
@@ -738,7 +739,7 @@
:do {
/ system script run rotate-ntp;
} on-error={
# catch error and fall through
$LogPrintExit debug ("Running rotate-ntp failed.") false;
}
}
:delay 1s;