aboutsummaryrefslogtreecommitdiffstats
path: root/check-lte-firmware-upgrade
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-17 12:26:55 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-17 12:26:55 +0200
commit00e99a13fbbe0fe5be2b148365e0afffa905718a (patch)
tree758daf3d0e1815f7ee33453b6730f112bc96a666 /check-lte-firmware-upgrade
parent35c28df68dc8e04338d52fc966c97347cc612f0d (diff)
check-lte-firmware-upgrade: add symbol in notification
Diffstat (limited to 'check-lte-firmware-upgrade')
-rw-r--r--check-lte-firmware-upgrade3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-lte-firmware-upgrade b/check-lte-firmware-upgrade
index 6aaec79..b4ca5d3 100644
--- a/check-lte-firmware-upgrade
+++ b/check-lte-firmware-upgrade
@@ -11,6 +11,7 @@
:global LogPrintExit;
:global SendNotification;
+:global SymbolForNotification;
:foreach Interface in=[ / interface lte find ] do={
:local IntName [ / interface lte get $Interface name ];
@@ -22,7 +23,7 @@
($Firmware->"latest") . ".") false;
} else={
:if (($Firmware->"installed") != ($Firmware->"latest")) do={
- $SendNotification ("LTE firmware upgrade") \
+ $SendNotification ([ $SymbolForNotification "sparkles" ] . "LTE firmware upgrade") \
("A new firmware version " . ($Firmware->"latest") . " is available for " . \
"LTE interface " . $IntName . " on " . $Identity . ".\n\n" . \
"Installed: " . ($Firmware->"installed") . "\n" . \