diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index ea51306..98935a8 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -10,6 +10,8 @@ # curl -L install.pi-hole.net | bash ######## VARIABLES ######### +instalLogLoc=/etc/pihole/install.log + # Get the screen size in case we need a full-screen message and so we can display a dialog that is sized nicely screenSize=$(stty -a | tr \; \\012 | egrep 'rows|columns' | cut '-d ' -f3) @@ -202,7 +204,7 @@ XXX EOF # Execute the command in the background (hidden from the user, not actually a background process) -${commands[${echoes[$k]}]} > /dev/null 2>&1 +${commands[${echoes[$k]}]} > $instalLogLoc 2>&1 done # As the loop is progressing, the output is sent to whiptail to be displayed to the user