aboutsummaryrefslogtreecommitdiffstats
path: root/global-wait
blob: 29d634d28da12417285b84fe7f8c76acea8cadc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!rsc
# RouterOS script: global-wait
# Copyright (c) 2020 Christian Hesse <mail@eworm.de>
#
# wait for global-functions to finish

:global GlobalFunctionsReady;

:while ($GlobalFunctionsReady != true) do={
  :delay 500ms;
}