aboutsummaryrefslogtreecommitdiffstats
path: root/rotate-ntp
diff options
context:
space:
mode:
Diffstat (limited to 'rotate-ntp')
-rw-r--r--rotate-ntp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rotate-ntp b/rotate-ntp
index a0cc524..6578078 100644
--- a/rotate-ntp
+++ b/rotate-ntp
@@ -6,6 +6,9 @@
# rotate the ntp servers
# https://git.eworm.de/cgit/routeros-scripts/about/doc/rotate-ntp.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global NtpPool;
:global LogPrintExit;