2023-03-07 10:57:42 +01:00
|
|
|
#!rsc by RouterOS
|
|
|
|
# RouterOS script: global-wait
|
2025-01-02 00:04:06 +01:00
|
|
|
# Copyright (c) 2020-2025 Christian Hesse <mail@eworm.de>
|
2025-01-24 20:46:11 +01:00
|
|
|
# https://rsc.eworm.de/COPYING.md
|
2023-03-07 10:57:42 +01:00
|
|
|
#
|
2025-02-07 17:39:48 +01:00
|
|
|
# requires RouterOS, version=7.15
|
2023-11-15 21:31:18 +01:00
|
|
|
#
|
2023-03-07 10:57:42 +01:00
|
|
|
# wait for global-functions to finish
|
2025-01-24 20:46:11 +01:00
|
|
|
# https://rsc.eworm.de/doc/global-wait.md
|
2023-03-07 10:57:42 +01:00
|
|
|
|
2025-05-06 14:09:50 +02:00
|
|
|
:global GlobalConfigReady;
|
2023-03-07 10:57:42 +01:00
|
|
|
:global GlobalFunctionsReady;
|
2025-05-06 14:09:50 +02:00
|
|
|
:while ($GlobalConfigReady != true || $GlobalFunctionsReady != true) do={ :delay 500ms; }
|