mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 18:14:27 +02:00
check-routeros-update: use $SymbolByUnicodeName
This commit is contained in:
parent
17e9635ca1
commit
33899b9904
1 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
:global LogPrintExit;
|
:global LogPrintExit;
|
||||||
:global ScriptFromTerminal;
|
:global ScriptFromTerminal;
|
||||||
:global SendNotification;
|
:global SendNotification;
|
||||||
|
:global SymbolByUnicodeName;
|
||||||
:global VersionToNum;
|
:global VersionToNum;
|
||||||
|
|
||||||
:local DoUpdate do={
|
:local DoUpdate do={
|
||||||
|
@ -88,7 +89,7 @@
|
||||||
$Update->"latest-version" . ".") true;
|
$Update->"latest-version" . ".") true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$SendNotification ("\E2\9C\A8 RouterOS update") \
|
$SendNotification ([ $SymbolByUnicodeName "sparkles" ] . " RouterOS update") \
|
||||||
("A new RouterOS version " . ($Update->"latest-version") . \
|
("A new RouterOS version " . ($Update->"latest-version") . \
|
||||||
" is available for " . $Identity . ".\n\n" . \
|
" is available for " . $Identity . ".\n\n" . \
|
||||||
[ $DeviceInfo ] . "\n\n" . \
|
[ $DeviceInfo ] . "\n\n" . \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue