aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/check-routeros-update b/check-routeros-update
index 412d84a..09127d3 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -6,6 +6,9 @@
# check for RouterOS update, send notification and/or install
# https://git.eworm.de/cgit/routeros-scripts/about/doc/check-routeros-update.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global Identity;
:global SafeUpdateNeighbor;
:global SafeUpdatePatch;