aboutsummaryrefslogtreecommitdiffstats
path: root/global-wait.rsc
diff options
context:
space:
mode:
Diffstat (limited to 'global-wait.rsc')
-rw-r--r--global-wait.rsc11
1 files changed, 6 insertions, 5 deletions
diff --git a/global-wait.rsc b/global-wait.rsc
index 239f575..23b5629 100644
--- a/global-wait.rsc
+++ b/global-wait.rsc
@@ -1,12 +1,13 @@
#!rsc by RouterOS
# RouterOS script: global-wait
-# Copyright (c) 2020-2024 Christian Hesse <mail@eworm.de>
-# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
+# Copyright (c) 2020-2025 Christian Hesse <mail@eworm.de>
+# https://rsc.eworm.de/COPYING.md
#
-# requires RouterOS, version=7.13
+# requires RouterOS, version=7.15
#
# wait for global-functions to finish
-# https://git.eworm.de/cgit/routeros-scripts/about/doc/global-wait.md
+# https://rsc.eworm.de/doc/global-wait.md
+:global GlobalConfigReady;
:global GlobalFunctionsReady;
-:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
+:while ($GlobalConfigReady != true || $GlobalFunctionsReady != true) do={ :delay 500ms; }