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