mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-03 06:34:27 +02:00
check-routeros-update: make notifications silent
This commit is contained in:
parent
a78d9d0470
commit
5a3076c7c3
1 changed files with 3 additions and 2 deletions
|
@ -52,7 +52,7 @@
|
|||
:log info ("Version " . $Update->"latest-version" . " is considered safe, updating...");
|
||||
$SendNotification ("RouterOS update") \
|
||||
("Version " . $Update->"latest-version" . " is considered safe for " . $Update->"channel" . \
|
||||
", updating on " . $Identity . "...");
|
||||
", updating on " . $Identity . "...") "" "true";
|
||||
$DoUpdate;
|
||||
}
|
||||
}
|
||||
|
@ -81,6 +81,7 @@
|
|||
"Channel: " . $Update->"channel" . "\n" . \
|
||||
"Installed: " . $Update->"installed-version" . "\n" . \
|
||||
"Available: " . $Update->"latest-version" . "\n\n" .\
|
||||
"https://mikrotik.com/download/changelogs/" . $Update->"channel" . "-release-tree");
|
||||
"https://mikrotik.com/download/changelogs/" . $Update->"channel" . "-release-tree") \
|
||||
"" "true";
|
||||
:set SentRouterosUpdateNotification ($Update->"latest-version");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue