From 63f82f9410f90a5cc8a37f81bf1f13ee2a45c75b Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Wed, 24 Mar 2010 12:14:59 +0000 Subject: [PATCH] MFC r205329 and r205335: Don't add the atrun-line to the crontab when MK_AT is set. This prevents spurious calls to sendmail every 5 minutes. --- etc/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/Makefile b/etc/Makefile index e68df034bb5..23bc526da05 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -157,6 +157,9 @@ distribution: ${BIN2} ${DESTDIR}/etc; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; +.if ${MK_AT} == "no" + sed -i "" -e 's;.*/usr/libexec/atrun;#&;' ${DESTDIR}/etc/crontab +.endif .if ${MK_TCSH} == "no" sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd .endif