diff --git a/gravity-adv.sh b/gravity-adv.sh index 5de6c4d1..77646ae5 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