From 5a3076c7c31751d6bbbeea40f4d9e55825d454dd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 18 Aug 2019 19:16:08 +0200 Subject: check-routeros-update: make notifications silent --- check-routeros-update | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/check-routeros-update b/check-routeros-update index c4e620c..78fd9c6 100644 --- a/check-routeros-update +++ b/check-routeros-update @@ -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"); } -- cgit v1.2.3-54-g00ecf