From c80761972e0cc060d24a9d792b6078c9cc71a1a1 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 8 Nov 2016 15:02:45 -0200 Subject: Copy boot.config to target system if it's present --- usr.sbin/bsdinstall/scripts/config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr.sbin') 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 -- cgit v1.1