mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-29 20:50:53 +02:00
Merge pull request #175 from shaf/dev
#171,#142 enable DNSSEC for alpine
This commit is contained in:
commit
be87bcb6a3
|
@ -75,7 +75,10 @@ instalLogLoc="${instalLogLoc}"
|
||||||
installPihole | tee "${tmpLog}"
|
installPihole | tee "${tmpLog}"
|
||||||
sed -i 's/readonly //g' /opt/pihole/webpage.sh
|
sed -i 's/readonly //g' /opt/pihole/webpage.sh
|
||||||
if [[ "$TAG" == 'alpine' ]] ; then
|
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
|
# Fix hostname bug on block page
|
||||||
sed -i "s/\$_SERVER\['SERVER_NAME'\]/\$_SERVER\['HTTP_HOST'\]/" /var/www/html/pihole/index.php
|
sed -i "s/\$_SERVER\['SERVER_NAME'\]/\$_SERVER\['HTTP_HOST'\]/" /var/www/html/pihole/index.php
|
||||||
|
|
Loading…
Reference in New Issue
Block a user