From 00e99a13fbbe0fe5be2b148365e0afffa905718a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Jul 2020 12:26:55 +0200 Subject: check-lte-firmware-upgrade: add symbol in notification --- check-lte-firmware-upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" . \ -- cgit v1.2.3-70-g09d2