mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Upon installation, create a symbolic link for /etc/aliases pointing to
/etc/mail/aliases. This should both help users as well as other MTAs which still use a default aliases path of /etc/aliases.
This commit is contained in:
parent
d0b3252609
commit
4bcefa9655
1 changed files with 5 additions and 0 deletions
|
|
@ -111,6 +111,11 @@ distribution:
|
|||
${PPPCF2} ${DESTDIR}/etc/ppp
|
||||
cd ${.CURDIR}/mail; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 \
|
||||
${ETCMAIL} ${DESTDIR}/etc/mail
|
||||
@if [ -d ${DESTDIR}/etc/mail -a -f ${DESTDIR}/etc/mail/aliases -a \
|
||||
! -f ${DESTDIR}/etc/aliases ]; then \
|
||||
set -x; \
|
||||
ln -s mail/aliases ${DESTDIR}/etc/aliases; \
|
||||
fi
|
||||
${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \
|
||||
${DESTDIR}/etc/dumpdates
|
||||
${INSTALL} -c -o nobody -g ${BINGRP} -m 644 /dev/null \
|
||||
|
|
|
|||
Loading…
Reference in a new issue