1
0
mirror of https://github.com/pi-hole/docker-pi-hole.git synced 2024-06-27 03:35:09 +02:00

Merge pull request #175 from shaf/dev

#171,#142 enable DNSSEC for alpine
This commit is contained in:
Adam Hill 2017-10-16 19:17:54 -05:00 committed by GitHub
commit be87bcb6a3

View File

@ -75,7 +75,10 @@ instalLogLoc="${instalLogLoc}"
installPihole | tee "${tmpLog}"
sed -i 's/readonly //g' /opt/pihole/webpage.sh
if [[ "$TAG" == 'alpine' ]] ; then
cp /etc/.pihole/advanced/pihole.cron /etc/crontabs/pihole
cp /etc/.pihole/advanced/pihole.cron /etc/crontabs/pihole
# More chewing gum patching, post installPihole dnsmasq replacement seems to work probably due to dnsmasq uid missing
apk del dnsmasq && apk add dnsmasq-dnssec
# Fix hostname bug on block page
sed -i "s/\$_SERVER\['SERVER_NAME'\]/\$_SERVER\['HTTP_HOST'\]/" /var/www/html/pihole/index.php