aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
diff options
context:
space:
mode:
Diffstat (limited to 'packages-update')
-rw-r--r--packages-update3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages-update b/packages-update
index 022a110..4a2f418 100644
--- a/packages-update
+++ b/packages-update
@@ -6,6 +6,9 @@
# download packages and reboot for installation
# https://git.eworm.de/cgit/routeros-scripts/about/doc/packages-update.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global DownloadPackage;
:global LogPrintExit;
:global ScriptFromTerminal;