From 112dfddc15f103d2542e2761717743c7fd64222b Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 15 Sep 2017 15:12:34 -0300 Subject: Save a debug of factory.sh --- usr.sbin/bsdinstall/scripts/auto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/bsdinstall/scripts') 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" -- cgit v1.1