Fixed Pi-hole user not being created

This commit is contained in:
Mcat12 2016-02-20 09:48:06 -05:00
parent 3e7ecda80f
commit 4a1e88f4bf

View file

@ -558,6 +558,7 @@ installPihole() {
# Install base files and web interface # Install base files and web interface
checkForDependencies # done checkForDependencies # done
stopServices stopServices
setUser
$SUDO mkdir -p /etc/pihole/ $SUDO mkdir -p /etc/pihole/
$SUDO chown www-data:www-data /var/www/html $SUDO chown www-data:www-data /var/www/html
$SUDO chmod 775 /var/www/html $SUDO chmod 775 /var/www/html
@ -567,7 +568,6 @@ installPihole() {
getGitFiles getGitFiles
installScripts installScripts
installConfigs installConfigs
#installWebAdmin
CreateLogFile CreateLogFile
installPiholeWeb installPiholeWeb
installCron installCron