aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-08-18 19:16:08 +0200
committerGravatar Christian Hesse <mail@eworm.de>2019-08-18 21:30:59 +0200
commit5a3076c7c31751d6bbbeea40f4d9e55825d454dd (patch)
treec77f75e588421a5d4624186a8003c8512247de22
parenta78d9d0470fcb7d4a77880f1f45172697935a636 (diff)
check-routeros-update: make notifications silent
-rw-r--r--check-routeros-update5
1 files 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");
}