diff options
author | ed <ed@FreeBSD.org> | 2010-03-19 11:59:02 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-03-19 11:59:02 +0000 |
commit | 373381fc28b4eee880064ddab5523adfba099ecf (patch) | |
tree | f20d7505b56d19b0a75c2230a5eac84036e3d447 /etc | |
parent | 169d74536d95c758336ebab2d6bfdf88d1c7c63e (diff) | |
download | FreeBSD-src-373381fc28b4eee880064ddab5523adfba099ecf.zip FreeBSD-src-373381fc28b4eee880064ddab5523adfba099ecf.tar.gz |
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
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
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 |