From 74cb79252cf22109b863bf8d022afa52f87da2c5 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Mon, 5 Dec 2016 17:12:28 +0100 Subject: [PATCH] Only looking for blocking entries (do not scan whitelist.txt) --- pihole | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pihole b/pihole index 5abdc01c..8adb15ed 100755 --- a/pihole +++ b/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)"