mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-06-28 12:20:08 +02:00
global-functions: $DeviceInfo: firmware only if upgrade pending
This commit is contained in:
parent
8c0bd18bbb
commit
a00e912bb5
1 changed files with 2 additions and 1 deletions
|
@ -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 . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue