mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-01-22 17:09:33 +00:00
global-functions: give commit info when laoding
This commit is contained in:
parent
44990958ea
commit
bde26dc1a5
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue