mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: use variable name $ScriptName
This commit is contained in:
parent
771ca341b0
commit
d46156ad92
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
# global functions
|
# global functions
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/
|
# https://git.eworm.de/cgit/routeros-scripts/about/
|
||||||
|
|
||||||
:local 0 [ :jobname ];
|
:local ScriptName [ :jobname ];
|
||||||
|
|
||||||
# expected configuration version
|
# expected configuration version
|
||||||
:global ExpectedConfigVersion 119;
|
:global ExpectedConfigVersion 119;
|
||||||
|
@ -1534,7 +1534,7 @@
|
||||||
|
|
||||||
# Log success
|
# Log success
|
||||||
:local Resource [ /system/resource/get ];
|
:local Resource [ /system/resource/get ];
|
||||||
$LogPrintOnce info $0 ("Loaded on " . $Resource->"board-name" . \
|
$LogPrintOnce info $ScriptName ("Loaded on " . $Resource->"board-name" . \
|
||||||
" with RouterOS " . $Resource->"version" . ".") false;
|
" with RouterOS " . $Resource->"version" . ".") false;
|
||||||
|
|
||||||
# signal we are ready
|
# signal we are ready
|
||||||
|
|
Loading…
Reference in a new issue