Mover {SUDO} mkdir -p /etc/pihole/ back to the beginning.

This commit is contained in:
Promofaux 2016-10-02 12:44:33 +01:00
parent aca5064743
commit c281b47905

View file

@ -804,7 +804,6 @@ installPihole() {
checkForDependencies # done
stopServices
setUser
${SUDO} mkdir -p /etc/pihole/
if [ ! -d "/var/www/html" ]; then
${SUDO} mkdir -p /var/www/html
fi
@ -939,7 +938,7 @@ installerDependencies
if [[ ${useUpdateVars} == false ]]; then
welcomeDialogs
${SUDO} mkdir -p /etc/pihole/
# Find IP used to route to outside world
findIPRoute
# Find interfaces and let the user choose one