]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 22:20:02 16.08.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Sun, 16 Aug 2026 19:20:03 +0000 (22:20 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Sun, 16 Aug 2026 19:20:03 +0000 (22:20 +0300)
html/AM-GlobalFunc.rsc
html/AM-setup.rsc

index 60300f528001e520d92db3cf4a73bce227b1534d..3bc7a8dd5aec6dc3ac94e8681eb2824a3e746b6d 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/9073/0c0a0340";
+:global CommitId "main/9074/79b6a4e7";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 22:15:03 16.08.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 22:20:02 16.08.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 140;
index 47b4d972d64e4ef7a6f9085ef6afcd92d466bcc7..6d4de92f921a9d696f49237ae98007ed29909041 100644 (file)
           ($CertSettings->"builtin-trust-store") = "all") && \\r
          [ :len [ /certificate/builtin/find where common-name=$CertCommonName ] ] > 0)) do={\r
         :put "Importing certificate...";\r
-        /tool/fetch ($CertUrl . $CertFileName) dst-path=$CertFileName as-value;\r
-        :delay 1s;\r
-        /certificate/import file-name=$CertFileName passphrase="";\r
-        /certificate/set name="Root-YE" [ find where common-name="Root YE" ];\r
-        :delay 1s;\r
+        :do {
+            /tool/fetch ($CertUrl . $CertFileName) dst-path=$CertFileName as-value;
+            :delay 1s;
+            /certificate/import file-name=$CertFileName passphrase="";
+            /certificate/set name="Root-YE" [ find where common-name="Root YE" ];
+            :delay 1s;
+        } on-error={ }
       };\r
   :local CertSettings [ /certificate/settings/get ];\r
   :if ([ :len [ /certificate/find where fingerprint=$CertFingerprint ] ] != 1) do={\r