]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 04:50:03 01.04.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Wed, 1 Apr 2026 01:50:03 +0000 (04:50 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Wed, 1 Apr 2026 01:50:03 +0000 (04:50 +0300)
html/AM-GlobalFunc.rsc

index 19db87e3def3f5735793d867e5d3f13b1ac065e8..ab7dfb108d2436ba5b05f5c9ceed4db608587ea9 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/199/b67d4fe3";
+:global CommitId "main/200/3a0f3316";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 04:45:02 01.04.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 04:50:03 01.04.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 138;
     }
   }
 
+  :local CommitIdBefore $CommitId;
   :local GlobalConfVersionBefore $GlobalConfVersion;
   :local ReloadGlobal false;
   :local DeviceMode [ /system/device-mode/get ];
 # signal we are ready
 :set GlobalFuncReady true;
 :set ExitOK true;
-:log warning ("This script $ScriptName Loaded on " . $devBoardName . "\nRouterOS: " . $devCurVersion . "\nArchitecture: " . $devCurArch . "\nIdentity: " . $Identity);
+:log warning ("This script $ScriptName Loaded " . \
+    [ $IfThenElse ($CommitId != "unknown") ([ $CommitBrief ] . " ") ] . \
+    "on " . $devBoardName . "\nRouterOS: " . $devCurVersion . "\nArchitecture: " . $devCurArch . "\nIdentity: " . $Identity);
 } do={:global ExitOnError; $ExitOnError $0 $Err;}
 
 #} do={:global ExitError; $ExitError $ExitOK [ :jobname ] $Err}