Commit 5a3076c7 authored by Christian Hesse's avatar Christian Hesse

check-routeros-update: make notifications silent

parent a78d9d04
......@@ -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");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment