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

index 216e7226d8827e8f1ef19af2f0e6fb33a16049c4..08b3c041be04480ca7c24d7a7f01d74ef71a3806 100644 (file)
@@ -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;
 :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;
-}