summaryrefslogtreecommitdiff
path: root/debian/patches/0705-crontab.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0705-crontab.patch')
-rw-r--r--debian/patches/0705-crontab.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch
new file mode 100644
index 0000000..f19523e
--- /dev/null
+++ b/debian/patches/0705-crontab.patch
@@ -0,0 +1,20 @@
+Description: Prevent watchdog to send minutly emails and log entries
+Author: Harry Coin <hcoin@quietfountain.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/1535408
+Last-Update: 2016-05-15
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/scripts/ipmiutil_wdt
+===================================================================
+--- trunk.orig/scripts/ipmiutil_wdt
++++ trunk/scripts/ipmiutil_wdt
+@@ -51,7 +51,8 @@ start() {
+ if [ $RETVAL -eq 0 ]; then
+ # restart the watchdog every 60 seconds via /etc/cron.d
+ cat - <<%%% >$wdtcron
+-* * * * * root $prog -r >/dev/null
++MAILTO=''
++* * * * * root $prog -r > $prog.lastrun 2&>1
+ %%%
+ # make crond re-read the /etc/cron.d
+ $restart_cron >>$wdtlog