aboutsummaryrefslogtreecommitdiffstats
path: root/update-tunnelbroker
diff options
context:
space:
mode:
Diffstat (limited to 'update-tunnelbroker')
-rw-r--r--update-tunnelbroker3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-tunnelbroker b/update-tunnelbroker
index d014178..6cdb195 100644
--- a/update-tunnelbroker
+++ b/update-tunnelbroker
@@ -7,6 +7,9 @@
# update local address of tunnelbroker interface
# https://git.eworm.de/cgit/routeros-scripts/about/doc/update-tunnelbroker.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global CertificateAvailable;
:global LogPrintExit;
:global ParseKeyValueStore;