mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue