mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-06-20 17:55:40 +02:00
check-perpetual-license: check for global config to be ready
This commit is contained in:
parent
506acb748b
commit
78463f469b
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@
|
|||
|
||||
:local ExitOK false;
|
||||
:onerror Err {
|
||||
:global GlobalFunctionsReady;
|
||||
:retry { :if ($GlobalFunctionsReady != true) \
|
||||
do={ :error ("Global functions not ready."); }; } delay=500ms max=50;
|
||||
:global GlobalConfigReady; :global GlobalFunctionsReady;
|
||||
:retry { :if ($GlobalConfigReady != true || $GlobalFunctionsReady != true) \
|
||||
do={ :error ("Global config and/or functions not ready."); }; } delay=500ms max=50;
|
||||
:local ScriptName [ :jobname ];
|
||||
|
||||
:global Identity;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue