mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-25 13:24:29 +02: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" && \
|
||||
$Update->"installed-version" != $Update->"latest-version") \
|
||||
("\n Available: " . $Update->"latest-version") ] . \
|
||||
[ $IfThenElse ($RouterBoard->"routerboard" = true) \
|
||||
("\n Firmware: " . $RouterBoard->"current-firmware") ] . \
|
||||
"\nRouterOS-Scripts:" . \
|
||||
"\n Current: " . $GlobalConfigVersion . \
|
||||
[ $IfThenElse ($GlobalConfigVersion != $ExpectedConfigVersion) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue