mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-02 09:15:03 +02:00
reintroduce global-wait
This commit is contained in:
parent
3b997d3087
commit
185fe2c730
9 changed files with 65 additions and 6 deletions
13
global-wait
Normal file
13
global-wait
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!rsc by RouterOS
|
||||
# RouterOS script: global-wait
|
||||
# Copyright (c) 2020-2021 Christian Hesse <mail@eworm.de>
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||
#
|
||||
# provides: backup-script
|
||||
#
|
||||
# wait for global-functions to finish
|
||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/global-wait.md
|
||||
|
||||
:local 0 "global-wait";
|
||||
:global GlobalFunctionsReady;
|
||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
Loading…
Add table
Add a link
Reference in a new issue