diff options
author | Christian Hesse <mail@eworm.de> | 2023-04-24 21:54:50 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-04-24 22:26:26 +0200 |
commit | 83e57e6aabcd59b453f0e96695e7ceaf31c1ad6b (patch) | |
tree | 01f4c9ea7d3751814e808855434748b522b51ba9 /check-lte-firmware-upgrade.rsc | |
parent | fb9feea5950caec1c9bd7b9a3188cc312bf61956 (diff) | |
parent | 82b5ae174ac15bb6c2b7180980da12c1908de7df (diff) |
Merge branch 'FormatLine' into next
Diffstat (limited to 'check-lte-firmware-upgrade.rsc')
-rw-r--r-- | check-lte-firmware-upgrade.rsc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/check-lte-firmware-upgrade.rsc b/check-lte-firmware-upgrade.rsc index 02e864b..81bdf9b 100644 --- a/check-lte-firmware-upgrade.rsc +++ b/check-lte-firmware-upgrade.rsc @@ -23,6 +23,7 @@ :global SentLteFirmwareUpgradeNotification; :global CharacterReplace; + :global FormatLine; :global LogPrintExit2; :global ScriptFromTerminal; :global SendNotification2; @@ -71,9 +72,9 @@ subject=([ $SymbolForNotification "sparkles" ] . "LTE firmware upgrade"); \ message=("A new firmware version " . ($Firmware->"latest") . " is available for " . \ "LTE interface " . $IntName . " on " . $Identity . ".\n\n" . \ - "Interface: " . [ $CharacterReplace ($Info->"manufacturer" . " " . $Info->"model") ("\"") "" ] . "\n" . \ - "Installed: " . ($Firmware->"installed") . "\n" . \ - "Available: " . ($Firmware->"latest")); silent=true }); + [ $FormatLine "Interface" [ $CharacterReplace ($Info->"manufacturer" . " " . $Info->"model") ("\"") "" ] ] . "\n" . \ + [ $FormatLine "Installed" ($Firmware->"installed") ] . "\n" . \ + [ $FormatLine "Available" ($Firmware->"latest") ]); silent=true }); :set ($SentLteFirmwareUpgradeNotification->$IntName) ($Firmware->"latest"); } |