2020-09-18 11:00:27 +02:00
|
|
|
#!rsc by RouterOS
|
2020-03-12 08:40:29 +01:00
|
|
|
# RouterOS script: global-wait
|
|
|
|
|
# Copyright (c) 2020 Christian Hesse <mail@eworm.de>
|
2020-06-19 22:17:42 +02:00
|
|
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
2020-03-12 08:40:29 +01:00
|
|
|
#
|
|
|
|
|
# wait for global-functions to finish
|
2020-03-27 21:45:38 +01:00
|
|
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/global-wait.md
|
2020-03-12 08:40:29 +01:00
|
|
|
|
|
|
|
|
:global GlobalFunctionsReady;
|
|
|
|
|
|
|
|
|
|
:while ($GlobalFunctionsReady != true) do={
|
|
|
|
|
:delay 500ms;
|
|
|
|
|
}
|