Update gravity-adv.sh

This commit is contained in:
Mospaeda 2015-03-19 22:59:55 +01:00
parent a8874fb606
commit 5f3cb2e569
1 changed files with 5 additions and 1 deletions

View File

@ -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
sudo service dnsmasq restart