From 66fd3214031d31907fbadaef478c31de42476116 Mon Sep 17 00:00:00 2001 From: Devin Teske Date: Fri, 8 Nov 2013 10:14:32 +0000 Subject: [PATCH] Copy the install log to the deployed /var/log directory so that we have post-mortem data on how the machine was configured/installed. --- usr.sbin/bsdinstall/scripts/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/bsdinstall/scripts/config b/usr.sbin/bsdinstall/scripts/config index 1e75683f070..c3962443c9d 100755 --- a/usr.sbin/bsdinstall/scripts/config +++ b/usr.sbin/bsdinstall/scripts/config @@ -39,6 +39,8 @@ rm $BSDINSTALL_TMPBOOT/loader.conf.* cp $BSDINSTALL_TMPBOOT/* $BSDINSTALL_CHROOT/boot +[ "$debugFile" ] && cp "$debugFile" $BSDINSTALL_CHROOT/var/log/ + # Set up other things from installed config chroot $BSDINSTALL_CHROOT /usr/bin/newaliases