From 30de5c947b76ec2ba75e50a9369fce920245ccf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 08:30:03 +0200 Subject: d/p/0705-crontab.patch: Fix overwrite binary --- debian/patches/0705-crontab.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/patches/0705-crontab.patch') diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch index f19523e..ac796e5 100644 --- a/debian/patches/0705-crontab.patch +++ b/debian/patches/0705-crontab.patch @@ -1,7 +1,7 @@ Description: Prevent watchdog to send minutly emails and log entries Author: Harry Coin Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/1535408 -Last-Update: 2016-05-15 +Last-Update: 2022-10-24 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ Index: trunk/scripts/ipmiutil_wdt @@ -14,7 +14,7 @@ Index: trunk/scripts/ipmiutil_wdt cat - <<%%% >$wdtcron -* * * * * root $prog -r >/dev/null +MAILTO='' -+* * * * * root $prog -r > $prog.lastrun 2&>1 ++* * * * * root $prog -r > /tmp/wdt.lastrun 2&>1 %%% # make crond re-read the /etc/cron.d $restart_cron >>$wdtlog -- cgit v1.2.3 From b76117e0b2af2503ac5cfe3b23164ef117340f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 24 Oct 2022 12:39:25 +0200 Subject: Use /dev/null for the cron output --- debian/patches/0705-crontab.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/patches/0705-crontab.patch') diff --git a/debian/patches/0705-crontab.patch b/debian/patches/0705-crontab.patch index ac796e5..ecf5854 100644 --- a/debian/patches/0705-crontab.patch +++ b/debian/patches/0705-crontab.patch @@ -14,7 +14,7 @@ Index: trunk/scripts/ipmiutil_wdt cat - <<%%% >$wdtcron -* * * * * root $prog -r >/dev/null +MAILTO='' -+* * * * * root $prog -r > /tmp/wdt.lastrun 2&>1 ++* * * * * root $prog -r >/dev/null 2&>1 %%% # make crond re-read the /etc/cron.d $restart_cron >>$wdtlog -- cgit v1.2.3