Update gravity-adv.sh
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user