From: vados-dev <192440777+vados-dev@users.noreply.github.com> Date: Mon, 4 May 2026 07:20:03 +0000 (+0300) Subject: Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:20:02 04.05.2026. X-Git-Url: https://git.vados.ru/gitweb.cgi?a=commitdiff_plain;h=0e7ad17dd23ca8e2924cd9c84e8278de565eee9e;p=Mikrotiks%2Fros.vados.ru.git Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:20:02 04.05.2026. --- diff --git a/html/AM-GlobalFunc.rsc b/html/AM-GlobalFunc.rsc index 98be28c8b..fa4da0821 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/538/bdafd908"; +:global CommitId "main/539/f765de68"; :global CommitTAG "unknown"; -:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:15:03 04.05.2026."; +:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:20:02 04.05.2026."; # The variables are received right here. :global GlobalConfVersion 138; @@ -1741,20 +1741,19 @@ /system/scheduler/add name="AM-ScriptInstallUpdate" comment=$Comment start-time=startup interval=1d on-event=$OnEvent; } -:do { -:onerror Err { - :global GlobalConfReady; - :retry { :if ($GlobalConfReady != true) \ - do={ :error ("Global config not ready."); }; } delay=500ms max=50; - :log warning ("This script $ScriptName Loaded " . \ [ $IfThenElse ($CommitId != "unknown") ([ $CommitBrief ] . " ") ] . \ "on " . $devBoardName . "\nRouterOS: " . $devCurVersion . "\nArchitecture: " . $devCurArch . "\nIdentity: " . $Identity); # signal we are ready -:set GlobalFunctionsReady true; +:set GlobalFuncReady true; +:do { +:onerror Err { + :global GlobalConfReady; + :retry { :if ($GlobalConfReady != true) \ + do={ :error ("Global config not ready."); }; } delay=500ms max=50; } do={ :global ExitOnError; $ExitOnError $0 $Err; } -} \ No newline at end of file +}