Make full path to directory for pihole web page.

This commit is contained in:
Dan Schaper 2017-01-27 20:28:03 -08:00
parent 5b43f13935
commit 91bcc18e6a
No known key found for this signature in database
GPG key ID: 572E999E385B7BFC
2 changed files with 36 additions and 1 deletions

View file

@ -815,7 +815,7 @@ installPiholeWeb() {
fi
else
mkdir /var/www/html/pihole
mkdir -p /var/www/html/pihole
if [ -f /var/www/html/index.lighttpd.html ]; then
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.orig
else