aboutsummaryrefslogtreecommitdiffstats
path: root/firmware-upgrade-reboot
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-10-19 11:50:52 +0200
committerGravatar Christian Hesse <mail@eworm.de>2022-10-19 11:57:52 +0200
commitfe87e9551d07ff33c62ce0f7611113c2218343a7 (patch)
treee14868b2f8c690cc5b195499dda2b338cd23298d /firmware-upgrade-reboot
parentbff6689b103287f44c573e3134b9b9a64c36c0a8 (diff)
firmware-upgrade-reboot: update wording, give version
Diffstat (limited to 'firmware-upgrade-reboot')
-rw-r--r--firmware-upgrade-reboot3
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;