2023-03-07 09:57:42 +00:00
|
|
|
#!rsc by RouterOS
|
|
|
|
# RouterOS script: global-wait
|
2024-01-01 14:25:25 +00:00
|
|
|
# Copyright (c) 2020-2024 Christian Hesse <mail@eworm.de>
|
2023-03-07 09:57:42 +00:00
|
|
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
|
|
|
#
|
2023-11-15 20:31:18 +00:00
|
|
|
# requires RouterOS, version=7.12
|
|
|
|
#
|
2023-03-07 09:57:42 +00:00
|
|
|
# wait for global-functions to finish
|
|
|
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/global-wait.md
|
|
|
|
|
2023-11-15 20:31:18 +00:00
|
|
|
:local 0 [ :jobname ];
|
2023-03-07 09:57:42 +00:00
|
|
|
:global GlobalFunctionsReady;
|
|
|
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|