summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/scripts
diff options
context:
space:
mode:
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