From 906a1753be4f51a10fbd7ff0aaf411fd1ea7bdce Mon Sep 17 00:00:00 2001 From: Promofaux Date: Wed, 14 Dec 2016 19:42:20 +0000 Subject: [PATCH] specifically comment out gravity.list addn-host --- pihole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pihole b/pihole index 6d5f8c9d..5509df47 100755 --- a/pihole +++ b/pihole @@ -135,7 +135,7 @@ restartDNS() { piholeEnable() { if [[ "${1}" == "0" ]] ; then #Disable Pihole - sed -i 's/^addn-hosts/#addn-hosts/' /etc/dnsmasq.d/01-pihole.conf + sed -i 's/^addn-hosts=\/etc\/pihole\/gravity.list/#addn-hosts=\/etc\/pihole\/gravity.list/' /etc/dnsmasq.d/01-pihole.conf echo "::: Blocking has been disabled!" if [[ $# > 1 ]] ; then if [[ ${2} == *"s"* ]] ; then