mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-20 17:55:40 +02:00
global-wait: check for global config to be ready
This commit is contained in:
parent
f2dbb9eff3
commit
0f58cecc0f
1 changed files with 2 additions and 1 deletions
|
@ -8,5 +8,6 @@
|
|||
# wait for global-functions to finish
|
||||
# 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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue