mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-14 18:32:55 +00:00
Keep .yml's from going to user local repos.
This commit is contained in:
parent
f2d7a3d26d
commit
dfb4ac0365
2 changed files with 2 additions and 1 deletions
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 a new issue