aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-download-packages
diff options
context:
space:
mode:
Diffstat (limited to 'capsman-download-packages')
-rw-r--r--capsman-download-packages3
1 files changed, 3 insertions, 0 deletions
diff --git a/capsman-download-packages b/capsman-download-packages
index b6bff3a..13537fa 100644
--- a/capsman-download-packages
+++ b/capsman-download-packages
@@ -7,6 +7,9 @@
# download and cleanup packages for CAP installation from CAPsMAN
# https://git.eworm.de/cgit/routeros-scripts/about/doc/capsman-download-packages.md
+:global GlobalFunctionsReady;
+:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+
:global CleanFilePath;
:global DownloadPackage;
:global LogPrintExit;