aboutsummaryrefslogtreecommitdiffstats
path: root/ipv6-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-02-18 14:52:47 +0100
committerGravatar Christian Hesse <mail@eworm.de>2021-02-18 21:45:38 +0100
commitd5afc79eed2a54ab005f1b0ccf656c43a57e0a9b (patch)
treefb659b8c3fff90a6c5068513293c67132c3ec9aa /ipv6-update
parent2db73a189c6eb2cc16ec2f2a4c4b33133ae8130d (diff)
global: drop script 'global-wait'change-44
All scripts wait for the global functions on their own now.
Diffstat (limited to 'ipv6-update')
-rw-r--r--ipv6-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipv6-update b/ipv6-update
index d5b15c4..4f0812c 100644
--- a/ipv6-update
+++ b/ipv6-update
@@ -6,6 +6,9 @@
# update firewall and dns settings on IPv6 prefix change
# https://git.eworm.de/cgit/routeros-scripts/about/doc/ipv6-update.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:local PdPrefix $"pd-prefix";
:global LogPrintExit;