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