: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;
-}