From fe87e9551d07ff33c62ce0f7611113c2218343a7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 19 Oct 2022 11:50:52 +0200 Subject: firmware-upgrade-reboot: update wording, give version --- firmware-upgrade-reboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2