svn commit: r205329 - head/etc
Ed Schouten
ed at FreeBSD.org
Fri Mar 19 11:59:03 UTC 2010
Author: ed
Date: Fri Mar 19 11:59:02 2010
New Revision: 205329
URL: http://svn.freebsd.org/changeset/base/205329
Log:
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
Modified:
head/etc/Makefile
Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile Fri Mar 19 11:14:37 2010 (r205328)
+++ head/etc/Makefile Fri Mar 19 11:59:02 2010 (r205329)
@@ -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
More information about the svn-src-head
mailing list