mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-02 20:20:56 +00:00
Keep .yml's from going to user local repos.
This commit is contained in:
parent
f2d7a3d26d
commit
dfb4ac0365
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
*.swp
|
*.swp
|
||||||
__pycache__
|
__pycache__
|
||||||
.cache
|
.cache
|
||||||
|
*.yml
|
||||||
|
2
pihole
2
pihole
@ -62,7 +62,7 @@ setupLCDFunction() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
queryFunc() {
|
queryFunc() {
|
||||||
domain=$2
|
domain="${2}"
|
||||||
for list in /etc/pihole/list.*; do
|
for list in /etc/pihole/list.*; do
|
||||||
count=$(grep ${domain} $list | wc -l)
|
count=$(grep ${domain} $list | wc -l)
|
||||||
echo "::: ${list} (${count} results)"
|
echo "::: ${list} (${count} results)"
|
||||||
|
Loading…
Reference in New Issue
Block a user