mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Only looking for blocking entries (do not scan whitelist.txt)
This commit is contained in:
parent
6cd3c93472
commit
74cb79252c
1 changed files with 1 additions and 1 deletions
2
pihole
2
pihole
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue