summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-11-08 15:02:45 -0200
committerRenato Botelho <renato@netgate.com>2016-11-08 15:03:32 -0200
commita8846e08507aa8c933c8d695d368c96914c6383e (patch)
tree60a26d866a1f92b82d31e9182c0f53c392629054 /usr.sbin
parentf3e8e7f6b55a7219d0e59f675ecc1ab4e412ba58 (diff)
downloadFreeBSD-src-a8846e08507aa8c933c8d695d368c96914c6383e.zip
FreeBSD-src-a8846e08507aa8c933c8d695d368c96914c6383e.tar.gz
Copy boot.config to target system if it's present
Diffstat (limited to 'usr.sbin')
-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 ae7e608..66ad0c8 100755
--- a/usr.sbin/bsdinstall/scripts/config
+++ b/usr.sbin/bsdinstall/scripts/config
@@ -46,6 +46,10 @@ if [ -f /tmp/loader.conf.pfSense ]; then
cp /tmp/loader.conf.pfSense $BSDINSTALL_CHROOT/boot/loader.conf
fi
+if [ -f /tmp/boot.config ]; then
+ cp /tmp/boot.conf $BSDINSTALL_CHROOT
+fi
+
[ "${debugFile#+}" ] && cp "${debugFile#+}" $BSDINSTALL_CHROOT/var/log/
# Set up other things from installed config
OpenPOWER on IntegriCloud