summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-09-15 15:12:34 -0300
committerRenato Botelho <renato@netgate.com>2017-09-15 15:16:06 -0300
commit112dfddc15f103d2542e2761717743c7fd64222b (patch)
treebcfeff2a07a98deeb3b28cbf1188c65c68e912f4 /usr.sbin/bsdinstall
parentf82c1fa9268a7e8a20a72efd2786d87f0795f582 (diff)
downloadFreeBSD-src-112dfddc15f103d2542e2761717743c7fd64222b.zip
FreeBSD-src-112dfddc15f103d2542e2761717743c7fd64222b.tar.gz
Save a debug of factory.sh
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/auto3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto
index e2e3d52..95b401ae 100755
--- a/usr.sbin/bsdinstall/scripts/auto
+++ b/usr.sbin/bsdinstall/scripts/auto
@@ -390,7 +390,8 @@ if [ -n "${mounted_nullfs}" ]; then
fi
if [ -f /root/factory.sh ]; then
- sh /root/factory.sh || error "System configuration failed"
+ sh -x /root/factory.sh 2>/tmp/factory.debug \
+ || error "System configuration failed"
fi
#bsdinstall rootpass || error "Could not set root password"
OpenPOWER on IntegriCloud