Removed debug echo's

This commit is contained in:
DL6ER 2017-01-13 23:39:57 +01:00
parent bd1c5a42e8
commit 1ed2a8637f
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -97,7 +97,6 @@ ProcessDNSSettings() {
COUNTER=1 COUNTER=1
while [[ 1 ]]; do while [[ 1 ]]; do
var=PIHOLE_DNS_${COUNTER} var=PIHOLE_DNS_${COUNTER}
echo "${COUNTER} ${var} ${!var}"
if [ -z "${!var}" ]; then if [ -z "${!var}" ]; then
break; break;
fi fi
@ -135,7 +134,6 @@ SetDNSServers(){
IFS=',' read -r -a array <<< "${args[2]}" IFS=',' read -r -a array <<< "${args[2]}"
for index in "${!array[@]}" for index in "${!array[@]}"
do do
echo "$index ${array[index]}"
add_setting "PIHOLE_DNS_$((index+1))" "${array[index]}" add_setting "PIHOLE_DNS_$((index+1))" "${array[index]}"
done done