check-lte-firmware-upgrade: give current and available version

This commit is contained in:
Christian Hesse 2020-04-07 16:07:00 +02:00
parent fe8820d7d5
commit 06c8f279f8

View file

@ -23,7 +23,9 @@
:if (($Firmware->"installed") != ($Firmware->"latest")) do={
$SendNotification ("LTE firmware upgrade") \
("A new firmware version " . ($Firmware->"latest") . " is available for " . \
"LTE interface " . $IntName . " on " . $Identity . ".") "" "true";
"LTE interface " . $IntName . " on " . $Identity . ".\n\n" . \
"Installed: " . ($Firmware->"installed") . "\n" . \
"Available: " . ($Firmware->"latest")) "" "true";
:set SentLteFirmwareUpgradeNotification ($Firmware->"latest");
}
}