mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Create sendmail required directories if sendmail is enabled.
This commit is contained in:
parent
881951a6c9
commit
415c05a038
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98634
@ -60,6 +60,13 @@ mount_md ${varsize:=32m} /var 1
|
||||
|
||||
echo "+++ populate /var using /etc/mtree/BSD.var.dist"
|
||||
/usr/sbin/mtree -deU -f /etc/mtree/BSD.var.dist -p /var
|
||||
case ${sendmail_enable} in
|
||||
[Nn][Oo][Nn][Ee])
|
||||
;;
|
||||
*)
|
||||
/usr/sbin/mtree -deU -f /etc/mtree/BSD.sendmail.dist -p /
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "+++ create log files based on the contents of /etc/newsyslog.conf"
|
||||
LOGFILES=`/usr/bin/awk '$1 != "#" { printf "%s ", $1 } ' /etc/newsyslog.conf`
|
||||
|
Loading…
Reference in New Issue
Block a user