diff options
author | Renato Botelho <renato@netgate.com> | 2016-11-08 15:02:45 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-11-08 15:03:16 -0200 |
commit | c80761972e0cc060d24a9d792b6078c9cc71a1a1 (patch) | |
tree | fe99b01dbc5bbbdefbf81c087f585133b315e385 /usr.sbin/bsdinstall/scripts | |
parent | 6cab0727aaeee48a1a9c27bdddc8add3d9b81643 (diff) | |
download | FreeBSD-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-x | usr.sbin/bsdinstall/scripts/config | 4 |
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 |