attempt to fix

This commit is contained in:
Tommy Huff 2016-10-20 10:12:02 -04:00
parent 3b6ecc573e
commit 15d68467a1

View file

@ -319,13 +319,8 @@ gravity_reload() {
#First escape forward slashes in the path: #First escape forward slashes in the path:
adList=${adList//\//\\\/} adList=${adList//\//\\\/}
#Now replace the line in dnsmasq file #Now replace the line in dnsmasq file
<<<<<<< HEAD
# sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf # sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
=======
sed -i "s/^addn-hosts.*/addn-hosts=$adList/" /etc/dnsmasq.d/01-pihole.conf
>>>>>>> upstream/promoTweaksTheSecond
pihole restartdns pihole restartdns
} }