aboutsummaryrefslogtreecommitdiffstats
path: root/bridge-port-to-default
diff options
context:
space:
mode:
Diffstat (limited to 'bridge-port-to-default')
-rw-r--r--bridge-port-to-default3
1 files changed, 3 insertions, 0 deletions
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;