summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.diskless27
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.diskless2 b/etc/rc.diskless2
index a21dfbe..5c17585 100644
--- a/etc/rc.diskless2
+++ b/etc/rc.diskless2
@@ -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`
OpenPOWER on IntegriCloud