diff options
author | ed <ed@FreeBSD.org> | 2010-03-24 12:14:59 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-03-24 12:14:59 +0000 |
commit | 8541816f7482343e29d47b4e3032593c46c69582 (patch) | |
tree | 63023b181db5cd269f41d44941016f28c178b411 /etc/Makefile | |
parent | c6ee0bbd3bad420718c2502836809db8bc41ee39 (diff) | |
download | FreeBSD-src-8541816f7482343e29d47b4e3032593c46c69582.zip FreeBSD-src-8541816f7482343e29d47b4e3032593c46c69582.tar.gz |
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.
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index e68df03..23bc526 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 |