diff options
Diffstat (limited to 'bridge-port-toggle')
-rw-r--r-- | bridge-port-toggle | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge-port-toggle b/bridge-port-toggle index 78a64f7..9ad38cb 100644 --- a/bridge-port-toggle +++ b/bridge-port-toggle @@ -6,6 +6,9 @@ # toggle bridge ports between default and alt bridge # https://git.eworm.de/cgit/routeros-scripts/about/doc/bridge-port.md +:global GlobalFunctionsReady; +:while ($GlobalFunctionsReady != true) do={ :delay 500ms; } + :global BridgePortTo; :if ($BridgePortTo != "default") do={ |