aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-17 08:07:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-17 08:12:00 +0200
commit075859c8986827b21c313affa896de814e3ae763 (patch)
tree9aecdc889603e6add0a0633e66a5b4c84d933452 /check-routeros-update
parent0e7b2d3ac735ca4922dc87671138297623ebd4bc (diff)
global-functions: introduce and use $SymbolForNotificationchange-24
Diffstat (limited to 'check-routeros-update')
-rw-r--r--check-routeros-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-routeros-update b/check-routeros-update
index 8b1b54f..ee018c0 100644
--- a/check-routeros-update
+++ b/check-routeros-update
@@ -15,7 +15,7 @@
:global LogPrintExit;
:global ScriptFromTerminal;
:global SendNotification;
-:global SymbolByUnicodeName;
+:global SymbolForNotification;
:global VersionToNum;
:local DoUpdate do={
@@ -89,7 +89,7 @@
$Update->"latest-version" . ".") true;
}
- $SendNotification ([ $SymbolByUnicodeName "sparkles" ] . " RouterOS update") \
+ $SendNotification ([ $SymbolForNotification "sparkles" ] . "RouterOS update") \
("A new RouterOS version " . ($Update->"latest-version") . \
" is available for " . $Identity . ".\n\n" . \
[ $DeviceInfo ] . "\n\n" . \