mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $DeviceInfo: add current firmware
(I would like to show a note if the upgrade is pending... But did not find a way to get that information. Is there?)
This commit is contained in:
parent
15d8652c29
commit
5b786e10c8
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,8 @@
|
||||||
[ $IfThenElse ([ :typeof ($Update->"latest-version") ] != "nothing" && \
|
[ $IfThenElse ([ :typeof ($Update->"latest-version") ] != "nothing" && \
|
||||||
$Update->"installed-version" != $Update->"latest-version") \
|
$Update->"installed-version" != $Update->"latest-version") \
|
||||||
("\n Available: " . $Update->"latest-version") ] . \
|
("\n Available: " . $Update->"latest-version") ] . \
|
||||||
|
[ $IfThenElse ($RouterBoard->"routerboard" = true) \
|
||||||
|
("\n Firmware: " . $RouterBoard->"current-firmware") ] . \
|
||||||
"\nRouterOS-Scripts:" . \
|
"\nRouterOS-Scripts:" . \
|
||||||
"\n Current: " . $GlobalConfigVersion . \
|
"\n Current: " . $GlobalConfigVersion . \
|
||||||
[ $IfThenElse ($GlobalConfigVersion != $ExpectedConfigVersion) \
|
[ $IfThenElse ($GlobalConfigVersion != $ExpectedConfigVersion) \
|
||||||
|
|
Loading…
Reference in a new issue