mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-24 04:44:26 +02:00
global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate semi-mandatory
... and remove the migration from changes.
This commit is contained in:
parent
05a9531dac
commit
40dc2415d3
2 changed files with 5 additions and 5 deletions
|
@ -552,11 +552,16 @@
|
|||
:global ScriptUpdatesUrlSuffix;
|
||||
:global SentConfigChangesNotification;
|
||||
|
||||
:global CertificateAvailable;
|
||||
:global LogPrintExit;
|
||||
:global ParseKeyValueStore;
|
||||
:global SendNotification;
|
||||
:global SymbolForNotification;
|
||||
|
||||
:if ([ $CertificateAvailable "R3" ] = false) do={
|
||||
$LogPrintExit warning ("Downloading certificate failed, trying without.") false;
|
||||
}
|
||||
|
||||
:foreach Script in=$Scripts do={
|
||||
:if ([ :len [ / system script find where name=$Script ] ] = 0) do={
|
||||
$LogPrintExit info ("Adding new script: " . $Script) false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue