global: drop script 'global-wait'

All scripts wait for the global functions on their own now.
This commit is contained in:
Christian Hesse 2021-02-18 14:52:47 +01:00
parent 2db73a189c
commit d5afc79eed
51 changed files with 137 additions and 81 deletions

View file

@ -1,13 +1,11 @@
#!rsc by RouterOS
# RouterOS script: global-wait
# Copyright (c) 2020-2021 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# wait for global-functions to finish
# https://git.eworm.de/cgit/routeros-scripts/about/doc/global-wait.md
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={
:delay 500ms;
}
:global LogPrintExit;
$LogPrintExit warning ("This script 'global-wait' is now useless, please remove it from configuration.") true;