blob: 375ddba81b1955a9de787939b8541e6229c79806 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
@@ -63,7 +63,8 @@ start() {
# RETVAL=$?
# 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
$crond_sh restart >>$wdtlog
|