mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $DeviceInfo: firmware only if upgrade pending
This commit is contained in:
@ -221,7 +221,8 @@
|
||||
[ $IfThenElse ([ :typeof ($Update->"latest-version") ] != "nothing" && \
|
||||
$Update->"installed-version" != $Update->"latest-version") \
|
||||
("\n Available: " . $Update->"latest-version") ] . \
|
||||
[ $IfThenElse ($RouterBoard->"routerboard" = true) \
|
||||
[ $IfThenElse ($RouterBoard->"routerboard" = true && \
|
||||
$RouterBoard->"current-firmware" != $RouterBoard->"upgrade-firmware") \
|
||||
("\n Firmware: " . $RouterBoard->"current-firmware") ] . \
|
||||
"\nRouterOS-Scripts:" . \
|
||||
"\n Current: " . $GlobalConfigVersion . \
|
||||
|
Reference in New Issue
Block a user