summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-07-13 13:25:12 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-07-13 13:25:12 +0000
commit7181bd5c48be5cb1372ab6a12378d789abbcec73 (patch)
tree480ec34cf200ceceeffdeb10feb0854a8f24836c
parent706512ba38c659f7df569a92197fce593a2cd371 (diff)
downloadFreeBSD-src-7181bd5c48be5cb1372ab6a12378d789abbcec73.zip
FreeBSD-src-7181bd5c48be5cb1372ab6a12378d789abbcec73.tar.gz
Run newaliases at the end of the install process.
Submitted by: kevlo
-rwxr-xr-xusr.sbin/bsdinstall/scripts/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config
index 5d7c3ce..4340450 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -30,3 +30,7 @@ cat $BSDINSTALL_TMPETC/rc.conf.* >> $BSDINSTALL_TMPETC/rc.conf
rm $BSDINSTALL_TMPETC/rc.conf.*
cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc
+
+# Set up other things from installed config
+chroot $BSDINSTALL_CHROOT /usr/bin/newaliases
+
OpenPOWER on IntegriCloud