routeros-scripts/global-wait
Christian Hesse 7189a3bbe5 global-wait: do not claim to be a backup script...
Probalby a copy and paste issue?
2022-05-04 21:11:26 +02:00

11 lines
394 B
Text

#!rsc by RouterOS
# RouterOS script: global-wait
# Copyright (c) 2020-2022 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# 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; }