1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

kill off an old ugly hack

This commit is contained in:
Adam Warner 2016-10-20 13:37:07 +01:00
parent 3623183072
commit c71a976e76

View File

@ -320,7 +320,6 @@ gravity_reload() {
adList=${adList//\//\\\/}
#Now replace the line in dnsmasq file
sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
find "$piholeDir" -type f -exec chmod 666 {} \;
dnsmasqPid=$(pidof dnsmasq)