mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-21 16:39:32 +00:00
global-functions: give commit info when laoding
This commit is contained in:
parent
eab3b731f5
commit
36d6a4235a
1 changed files with 3 additions and 2 deletions
|
|
@ -1951,8 +1951,9 @@
|
|||
|
||||
# Log success
|
||||
:local Resource [ /system/resource/get ];
|
||||
$LogPrintOnce info $ScriptName ("Loaded on " . $Resource->"board-name" . \
|
||||
" with RouterOS " . $Resource->"version" . ".");
|
||||
$LogPrintOnce info $ScriptName ("Loaded " . \
|
||||
[ $IfThenElse ($CommitId != "unknown") ([ $CommitBrief ] . " ") ] . \
|
||||
"on " . $Resource->"board-name" . " with RouterOS " . $Resource->"version" . ".");
|
||||
|
||||
# signal we are ready
|
||||
:set GlobalFunctionsReady true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue