global-functions: give commit info when laoding

This commit is contained in:
Christian Hesse 2026-01-20 11:35:57 +01:00
parent 44990958ea
commit bde26dc1a5

View file

@ -1950,8 +1950,9 @@
# Log success # Log success
:local Resource [ /system/resource/get ]; :local Resource [ /system/resource/get ];
$LogPrintOnce info $ScriptName ("Loaded on " . $Resource->"board-name" . \ $LogPrintOnce info $ScriptName ("Loaded " . \
" with RouterOS " . $Resource->"version" . "."); [ $IfThenElse ($CommitId != "unknown") ([ $CommitBrief ] . " ") ] . \
"on " . $Resource->"board-name" . " with RouterOS " . $Resource->"version" . ".");
# signal we are ready # signal we are ready
:set GlobalFunctionsReady true; :set GlobalFunctionsReady true;