Merge branch 'dev' of github.com:diginc/docker-pi-hole into dev

This commit is contained in:
diginc 2017-09-05 22:03:55 -05:00
commit fc71c30dde
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ installPihole | tee "${tmpLog}"
sed -i 's/readonly //g' /opt/pihole/webpage.sh
if [[ "$IMAGE" == 'alpine' ]] ; then
cp /etc/.pihole/advanced/pihole.cron /etc/crontabs/pihole
# Fix hostname bug on block page
sed -i "s/\$_SERVER\['SERVER_NAME'\]/\$_SERVER\['HTTP_HOST'\]/" /var/www/html/pihole/index.php
fi