1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-09 07:30:56 +00:00

fix indentations

This commit is contained in:
Justin Theberge 2016-04-08 10:14:17 -04:00
parent bdfc86f850
commit 9a4c5cef86
2 changed files with 19 additions and 23 deletions

View File

@ -175,16 +175,14 @@ function Reload() {
} }
function DisplayBlist() { function DisplayBlist() {
clear clear
echo -e " Displaying Gravity Affected Domains \n" echo -e " Displaying Gravity Affected Domains \n"
count=1
GRD="$blacklist" while IFS= read -r AD
count=1 do
while IFS= read -r RD echo "${count}: $AD"
do count=$((count+1))
echo "${count}: $RD" done < "$blacklist"
count=$((count+1))
done < "$blacklist"
} }
################################################### ###################################################

View File

@ -188,16 +188,14 @@ function Reload() {
} }
function DisplayWlist() { function DisplayWlist() {
clear clear
echo -e " Displaying Gravity Resistant Domains \n" echo -e " Displaying Gravity Resistant Domains \n"
count=1
GRD="$whitelist" while IFS= read -r RD
count=1 do
while IFS= read -r RD
do
echo "${count}: $RD" echo "${count}: $RD"
count=$((count+1)) count=$((count+1))
done < "$whitelist" done < "$whitelist"
} }
################################################### ###################################################