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.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch
index 375ddba..f19523e 100644
--- a/debian/patches/0705-crontab.patch
+++ b/debian/patches/0705-crontab.patch
@@ -8,13 +8,13 @@ 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
+@@ -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
- $crond_sh restart >>$wdtlog
+ $restart_cron >>$wdtlog