summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-08 13:55:52 -0200
committerRenato Botelho <renato@netgate.com>2016-11-08 13:55:52 -0200
commitf3e8e7f6b55a7219d0e59f675ecc1ab4e412ba58 (patch)
treebc90e445667b76b1e29633f86cf5f4662124bd7f /usr.sbin
parentefc275e9cdcef6fe00c12af08299f4a1387e7411 (diff)
downloadFreeBSD-src-f3e8e7f6b55a7219d0e59f675ecc1ab4e412ba58.zip
FreeBSD-src-f3e8e7f6b55a7219d0e59f675ecc1ab4e412ba58.tar.gz
Copy loader.conf.pfSense to target system when it's available
Diffstat (limited to 'usr.sbin')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config
index f80b2e2..ae7e608 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -42,6 +42,9 @@ rm $BSDINSTALL_TMPBOOT/loader.conf.*
df -t zfs $BSDINSTALL_CHROOT > /dev/null && echo "zfs_load=\"YES\"" >> $BSDINSTALL_TMPBOOT/loader.conf
#cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot
+if [ -f /tmp/loader.conf.pfSense ]; then
+ cp /tmp/loader.conf.pfSense $BSDINSTALL_CHROOT/boot/loader.conf
+fi
[ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/
OpenPOWER on IntegriCloud