mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-08-03 01:35:03 +02:00
global: drop script 'global-wait'
All scripts wait for the global functions on their own now.
This commit is contained in:
parent
2db73a189c
commit
d5afc79eed
51 changed files with 137 additions and 81 deletions
10
global-wait
10
global-wait
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue