mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
More tabs to spaces.
This commit is contained in:
parent
d64e86288c
commit
61140348fe
5 changed files with 298 additions and 297 deletions
|
@ -26,7 +26,6 @@ listMain=""
|
||||||
listAlt=""
|
listAlt=""
|
||||||
|
|
||||||
helpFunc() {
|
helpFunc() {
|
||||||
|
|
||||||
if [[ ${listMain} == ${whitelist} ]]; then
|
if [[ ${listMain} == ${whitelist} ]]; then
|
||||||
letter="w"
|
letter="w"
|
||||||
word="white"
|
word="white"
|
||||||
|
@ -103,6 +102,7 @@ RemoveDomain() {
|
||||||
list="$2"
|
list="$2"
|
||||||
|
|
||||||
bool=true
|
bool=true
|
||||||
|
|
||||||
#Is it in the other list? Logic follows that if its whitelisted it should not be blacklisted and vice versa
|
#Is it in the other list? Logic follows that if its whitelisted it should not be blacklisted and vice versa
|
||||||
grep -Ex -q "$1" ${list} > /dev/null 2>&1 || bool=false
|
grep -Ex -q "$1" ${list} > /dev/null 2>&1 || bool=false
|
||||||
if [[ "${bool}" == true ]]; then
|
if [[ "${bool}" == true ]]; then
|
||||||
|
@ -128,6 +128,7 @@ Displaylist() {
|
||||||
else
|
else
|
||||||
string="domains caught in the sinkhole"
|
string="domains caught in the sinkhole"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
verbose=false
|
verbose=false
|
||||||
echo -e " Displaying $string \n"
|
echo -e " Displaying $string \n"
|
||||||
count=1
|
count=1
|
||||||
|
|
Loading…
Reference in a new issue