mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Update gravity-adv.sh
This commit is contained in:
parent
185969b137
commit
7809ee386e
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ curl -A 'Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0' -
|
||||||
# Add entries from the local blacklist file if it exists in /etc/pihole directory
|
# Add entries from the local blacklist file if it exists in /etc/pihole directory
|
||||||
if [[ -f $blacklist ]];then
|
if [[ -f $blacklist ]];then
|
||||||
echo "Getting the local blacklist from /etc/pihole directory"
|
echo "Getting the local blacklist from /etc/pihole directory"
|
||||||
cat /etc/pihole/blacklist.txt >> /tmp/matter.txt
|
cat $blacklist >> /tmp/matter.txt
|
||||||
else
|
else
|
||||||
echo "No local blacklist.txt file available on /etc/pihole directory"
|
:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sort the aggregated results and remove any duplicates
|
# Sort the aggregated results and remove any duplicates
|
||||||
|
|
Loading…
Reference in a new issue