aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-17 07:43:49 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-17 07:52:56 +0200
commit33899b990432b266c500a35a7f0837d1357f8f3f (patch)
tree0917169acba379cab8f053783b57ece76d63800d /check-routeros-update
parent17e9635ca1cf676499bb2cff9470da04faa3504b (diff)
check-routeros-update: use $SymbolByUnicodeName
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/check-routeros-update b/check-routeros-update
index 62ad64a..8b1b54f 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -15,6 +15,7 @@
:global LogPrintExit;
:global ScriptFromTerminal;
:global SendNotification;
+:global SymbolByUnicodeName;
:global VersionToNum;
:local DoUpdate do={
@@ -88,7 +89,7 @@
$Update->"latest-version" . ".") true;
}
- $SendNotification ("\E2\9C\A8 RouterOS update") \
+ $SendNotification ([ $SymbolByUnicodeName "sparkles" ] . " RouterOS update") \
("A new RouterOS version " . ($Update->"latest-version") . \
" is available for " . $Identity . ".\n\n" . \
[ $DeviceInfo ] . "\n\n" . \