mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-04 10:15:05 +02:00
check-lte-firmware-upgrade: add symbol in notification
This commit is contained in:
parent
35c28df68d
commit
00e99a13fb
1 changed files with 2 additions and 1 deletions
|
@ -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" . \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue