summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/scripts
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-17 17:08:02 -0200
committerRenato Botelho <renato@netgate.com>2017-01-17 17:08:16 -0200
commit7a320d50b99856913ca535c3ff208e50c47c8d5c (patch)
treec8b3b21a8fdf49497cc1d1b6adb4523f7864eaeb /usr.sbin/bsdinstall/scripts
parentbaeac042059786f1ed0cca7ca4a4a32721362cab (diff)
downloadFreeBSD-src-7a320d50b99856913ca535c3ff208e50c47c8d5c.zip
FreeBSD-src-7a320d50b99856913ca535c3ff208e50c47c8d5c.tar.gz
Fix #7003: Use default loader.conf from chroot
Diffstat (limited to 'usr.sbin/bsdinstall/scripts')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/config4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config
index c383052..6c0a2ce 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -38,8 +38,8 @@ rm $BSDINSTALL_TMPETC/sysctl.conf*
cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc
# Copy pfSense loader.conf
-if [ -f $BSDINSTALL_TMPBOOT/loader.conf ]; then
- cp $BSDINSTALL_TMPBOOT/loader.conf \
+if [ -f $BSDINSTALL_CHROOT/boot/loader.conf ]; then
+ cp $BSDINSTALL_CHROOT/boot/loader.conf \
$BSDINSTALL_TMPBOOT/loader.conf.pfSense
fi
cat $BSDINSTALL_TMPBOOT/loader.conf.* >> $BSDINSTALL_TMPBOOT/loader.conf
OpenPOWER on IntegriCloud