: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;
}
}
+ :local CommitIdBefore $CommitId;
:local GlobalConfVersionBefore $GlobalConfVersion;
:local ReloadGlobal false;
:local DeviceMode [ /system/device-mode/get ];
# 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}