From 373381fc28b4eee880064ddab5523adfba099ecf Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 19 Mar 2010 11:59:02 +0000 Subject: Don't add the atrun-line to the crontab when MK_AT is set. This prevents spurious calls to sendmail every 5 minutes. MFC after: 1 week --- etc/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/Makefile') diff --git a/etc/Makefile b/etc/Makefile index 6c10444..a256500 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -161,6 +161,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 '/atrun/d' ${DESTDIR}/etc/crontab +.endif .if ${MK_TCSH} == "no" sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd .endif -- cgit v1.1