]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 02:20:03 05.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 23:20:04 +0000 (02:20 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 23:20:04 +0000 (02:20 +0300)
html/AM-GlobalFunc.rsc
html/AM-setup.rsc

index f8009cd86b56072eba0c8b5d41155ffe553cc1b0..25e238a0fec392ae8a787b316ac0176475758d8a 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/619/a99e710a";
+:global CommitId "main/620/61c53edc";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 01:30:03 05.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 02:20:03 05.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 140;
index fbbeecac533d1e6ed5e91f8cb1370c56eeeb829b..fdcb9169dadad162bdd2ac16f008c2f3c3c30f1a 100644 (file)
   }\r
 \r
   :log warning ("\n\$GlobalScriptsUrl = " . $GlobalScriptsUrl);\r
-  \r
-  :local CertSettings [ /certificate/settings/get ];\r
-  :if ([ :len [ /certificate/find where fingerprint=$CertFingerprint ] ] != 1) do={\r
-      :error "Something is wrong with your certificates!";\r
-    } else={\r
+ \r
+\r
     :if (!((($CertSettings->"builtin-trust-anchors") = "trusted" || \\r
           ($CertSettings->"builtin-trust-store") ~ "fetch" || \\r
           ($CertSettings->"builtin-trust-store") = "all") && \\r
@@ -75,6 +72,9 @@
         /certificate/import file-name=$CertFileName passphrase="";\r
         :delay 1s;\r
       };\r
+  :local CertSettings [ /certificate/settings/get ];\r
+  :if ([ :len [ /certificate/find where fingerprint=$CertFingerprint ] ] != 1) do={\r
+      :error "Something is wrong with your certificates!";\r
   };\r
 \r
 :local MkTmpfs do={\r