From d5afc79eed2a54ab005f1b0ccf656c43a57e0a9b Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 18 Feb 2021 14:52:47 +0100 Subject: global: drop script 'global-wait' All scripts wait for the global functions on their own now. --- ipv6-update | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipv6-update') 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; -- cgit v1.2.3-54-g00ecf