From 12e5d40495e74d17fb86bad7c6c7d433d8bef687 Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Wed, 1 Apr 2026 04:50:03 +0300 Subject: [PATCH] Autocommit in repo: ros.vados.ru, generated by owner: root, in 04:50:03 01.04.2026. --- html/AM-GlobalFunc.rsc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 19db87e3d..ab7dfb108 100644 --- a/html/AM-GlobalFunc.rsc +++ b/html/AM-GlobalFunc.rsc @@ -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; @@ -1310,6 +1310,7 @@ } } + :local CommitIdBefore $CommitId; :local GlobalConfVersionBefore $GlobalConfVersion; :local ReloadGlobal false; :local DeviceMode [ /system/device-mode/get ]; @@ -1570,7 +1571,9 @@ # 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} -- 2.52.0