diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-02-24 21:48:27 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-02-24 21:48:27 +0100 |
commit | 53b507e006737667a7b2f16288e88e0d0fccf78b (patch) | |
tree | b9f6a0ceaa465785faa0fe83dcaa82ad1841f255 /debian/patches/0705-crontab.patch | |
parent | 7a40b1039a0cef3c47c75260f47aba0548c1cdbb (diff) |
refresh patches
Diffstat (limited to 'debian/patches/0705-crontab.patch')
-rw-r--r-- | debian/patches/0705-crontab.patch | 10 |
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 |