diff options
author | Christian Hesse <mail@eworm.de> | 2022-10-19 11:50:52 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-10-19 11:57:52 +0200 |
commit | fe87e9551d07ff33c62ce0f7611113c2218343a7 (patch) | |
tree | e14868b2f8c690cc5b195499dda2b338cd23298d /firmware-upgrade-reboot | |
parent | bff6689b103287f44c573e3134b9b9a64c36c0a8 (diff) |
firmware-upgrade-reboot: update wording, give version
Diffstat (limited to 'firmware-upgrade-reboot')
-rw-r--r-- | firmware-upgrade-reboot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware-upgrade-reboot b/firmware-upgrade-reboot index 27bbe41..7f27bea 100644 --- a/firmware-upgrade-reboot +++ b/firmware-upgrade-reboot @@ -15,7 +15,8 @@ :local RouterBoard [ /system/routerboard/get ]; :if ($RouterBoard->"current-firmware" = $RouterBoard->"upgrade-firmware") do={ - $LogPrintExit2 info $0 ("Firmware is already up to date.") true; + $LogPrintExit2 info $0 ("Current and upgrade firmware match with version " . \ + $RouterBoard->"current-firmware" . ".") true; } :if ([ $VersionToNum ($RouterBoard->"current-firmware") ] > [ $VersionToNum ($RouterBoard->"upgrade-firmware") ]) do={ $LogPrintExit2 info $0 ("Different firmware version is available, but it is a downgrade. Ignoring.") true; |