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. --- bridge-port-to-default | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bridge-port-to-default') diff --git a/bridge-port-to-default b/bridge-port-to-default index 286fb45..60e3112 100644 --- a/bridge-port-to-default +++ b/bridge-port-to-default @@ -6,6 +6,9 @@ # reset bridge ports to default bridge # https://git.eworm.de/cgit/routeros-scripts/about/doc/bridge-port.md +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global BridgePortTo; :global IfThenElse; -- cgit v1.2.3-54-g00ecf