aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-rolling-upgrade')
-rw-r--r--capsman-rolling-upgrade3
1 files changed, 3 insertions, 0 deletions
diff --git a/capsman-rolling-upgrade b/capsman-rolling-upgrade
index 1f091b8..a765fb5 100644
--- a/capsman-rolling-upgrade
+++ b/capsman-rolling-upgrade
@@ -7,6 +7,9 @@
# upgrade CAPs one after another
# https://git.eworm.de/cgit/routeros-scripts/about/doc/capsman-rolling-upgrade.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global LogPrintExit;
:global ScriptLock;