Compare commits

..

5 commits

Author SHA1 Message Date
Christian Hesse
0a97bd14d0 mode-button: set dont-require-permissions
Actually this is a fixup for the RouterOS 7.24 changes.
2026-07-27 21:43:32 +02:00
Christian Hesse
1b3fb933e3 global-functions: $ScriptInstallUpdate: match in one regular expression 2026-07-27 21:43:32 +02:00
Christian Hesse
db751235c2 global-functions: $ScriptInstallUpdate: drop the check for matching policies...
... as this started to produce false positives.
2026-07-27 21:43:32 +02:00
Christian Hesse
3fd8fd1f09 global-functions: $ScriptInstallUpdate: support setting dont-require-permissions 2026-07-27 21:43:32 +02:00
Christian Hesse
461aab48e8 global-functions: $ScriptInstallUpdate: support setting policy 2026-07-27 21:43:32 +02:00

View file

@ -72,7 +72,7 @@
:local Data false;
:local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ];
:foreach Cert in=[ :toarray delimiter=":" [ :tostr ($List->"cert") ] ] do={
:foreach Cert in=[ :toarray delimiter=":" ($List->"cert") ] do={
:if ([ :len ($Cert) ] > 0) do={
:set CheckCertificate true;
:if ([ $CertificateAvailable $Cert "fetch" ] = false) do={