From 5f3cb2e569479d4f6d1d716311f1c221d60cd747 Mon Sep 17 00:00:00 2001 From: Mospaeda Date: Thu, 19 Mar 2015 22:59:55 +0100 Subject: [PATCH] Update gravity-adv.sh --- gravity-adv.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gravity-adv.sh b/gravity-adv.sh index 5de6c4d..77646ae 100755 --- a/gravity-adv.sh +++ b/gravity-adv.sh @@ -7,6 +7,10 @@ piholeIP="127.0.0.1" # Config file to hold URL rules eventHorizion="/etc/dnsmasq.d/adList.conf" + + + + whitelist=/etc/pihole/whitelist.txt # Create the pihole resource directory if it doesn't exist. Future files will be stored here @@ -54,4 +58,4 @@ echo "$numberOfAdsBlocked ad domains blocked." sudo mv /tmp/andLight.txt $eventHorizion # Restart DNS -sudo service dnsmasq restart \ No newline at end of file +sudo service dnsmasq restart