summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/scripts
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:16 -0200
commitc80761972e0cc060d24a9d792b6078c9cc71a1a1 (patch)
treefe99b01dbc5bbbdefbf81c087f585133b315e385 /usr.sbin/bsdinstall/scripts
parent6cab0727aaeee48a1a9c27bdddc8add3d9b81643 (diff)
downloadFreeBSD-src-c80761972e0cc060d24a9d792b6078c9cc71a1a1.zip
FreeBSD-src-c80761972e0cc060d24a9d792b6078c9cc71a1a1.tar.gz
Copy boot.config to target system if it's present
Diffstat (limited to 'usr.sbin/bsdinstall/scripts')
-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