routeros-scripts/global-wait

14 lines
422 B
Text
Raw Normal View History

2021-11-15 21:17:43 +00:00
#!rsc by RouterOS
# RouterOS script: global-wait
2022-01-01 20:38:15 +00:00
# Copyright (c) 2020-2022 Christian Hesse <mail@eworm.de>
2021-11-15 21:17:43 +00:00
# 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; }