1
0
mirror of https://github.com/moparisthebest/pi-hole synced 2024-10-31 15:35:06 -04:00

Update gravity-adv.sh

This commit is contained in:
Mospaeda 2015-03-19 22:59:55 +01:00
parent a8874fb606
commit 5f3cb2e569

View File

@ -7,6 +7,10 @@ piholeIP="127.0.0.1"
# Config file to hold URL rules # Config file to hold URL rules
eventHorizion="/etc/dnsmasq.d/adList.conf" eventHorizion="/etc/dnsmasq.d/adList.conf"
whitelist=/etc/pihole/whitelist.txt whitelist=/etc/pihole/whitelist.txt
# Create the pihole resource directory if it doesn't exist. Future files will be stored here # 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 sudo mv /tmp/andLight.txt $eventHorizion
# Restart DNS # Restart DNS
sudo service dnsmasq restart sudo service dnsmasq restart