From 80a6ab5c70a4526ff51ee92179be23abc3b43dab Mon Sep 17 00:00:00 2001 From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Mon, 4 May 2026 11:55:03 +0300 Subject: [PATCH] Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:55:02 04.05.2026. --- html/AM-GlobalFunc.rsc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 216e7226d..08b3c041b 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/550/ba41107a"; +:global CommitId "main/551/dd782772"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:50:03 04.05.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 11:55:02 04.05.2026."; # The variables are received right here. :global GlobalConfVersion 140; @@ -1660,12 +1660,9 @@ :if ([ :len [ /system/scheduler/find where name="AM-ScriptInstallUpdate" ] ] = 0) do={ /system/scheduler/add name="AM-ScriptInstallUpdate" comment=$Comment start-time=startup interval=1d on-event=$OnEvent; } -:do={ + :log warning ("This script $ScriptName Loaded " . \ [ $IfThenElse ($CommitId != "unknown") ([ $CommitBrief ] . " ") ] . \ "on " . $devBoardName . "\nRouterOS: " . $devCurVersion . "\nArchitecture: " . $devCurArch . "\nIdentity: " . $Identity); # signal we are ready :set GlobalFuncReady true; -} onerror Err { - :global ExitOnError; $ExitOnError $0 $Err; -} -- 2.52.0