Only looking for blocking entries (do not scan whitelist.txt)

This commit is contained in:
DL6ER 2016-12-05 17:12:28 +01:00
parent 6cd3c93472
commit 74cb79252c

2
pihole
View file

@ -69,7 +69,7 @@ setupLCDFunction() {
queryFunc() {
domain="${2}"
lists=( /etc/pihole/list.* /etc/pihole/whitelist.txt /etc/pihole/blacklist.txt)
lists=( /etc/pihole/list.* /etc/pihole/blacklist.txt)
for list in ${lists[@]}; do
count=$(grep -c ${domain} $list)
echo "::: ${list} (${count} results)"