Only create /var/log/sendmail.st if start sendmail.
For those of us that never use or start sendmail, it is unneeded. Approved by: bapt (mentor)
This commit is contained in:
parent
9f6fd8397c
commit
64fe1b5e1d
@ -197,6 +197,10 @@ sendmail_precmd()
|
||||
sendmail_cert_create
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -f /var/log/sendmail.st ]; then
|
||||
/usr/bin/install -m 640 -o root -g wheel /dev/null /var/log/sendmail.st
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
@ -70,8 +70,6 @@ distribution:
|
||||
${.CURDIR}/freebsd.submit.mc freebsd.submit.cf ${DESTDIR}/etc/mail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${SMDIR}/helpfile ${DESTDIR}/etc/mail
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 640 \
|
||||
/dev/null ${DESTDIR}/var/log/sendmail.st
|
||||
.if defined(INSTALL_CF)
|
||||
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||
${INSTALL_CF} ${DEST_CF}
|
||||
|
Loading…
Reference in New Issue
Block a user