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.
This commit is contained in:
parent
be24350167
commit
63f82f9410
@ -157,6 +157,9 @@ distribution:
|
|||||||
${BIN2} ${DESTDIR}/etc; \
|
${BIN2} ${DESTDIR}/etc; \
|
||||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \
|
||||||
master.passwd nsmb.conf opieaccess ${DESTDIR}/etc;
|
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"
|
.if ${MK_TCSH} == "no"
|
||||||
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user