mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Added Default State for New DNS Options
Added default state of off for 3 new DNS options to better match existing code
This commit is contained in:
parent
06444c1c27
commit
94600c54cb
1 changed files with 4 additions and 1 deletions
|
@ -302,7 +302,10 @@ setStaticIPv4() {
|
||||||
setDNS(){
|
setDNS(){
|
||||||
DNSChoseCmd=(whiptail --separate-output --radiolist "Select Upstream DNS Provider" $r $c 2)
|
DNSChoseCmd=(whiptail --separate-output --radiolist "Select Upstream DNS Provider" $r $c 2)
|
||||||
DNSChooseOptions=(Google "" on
|
DNSChooseOptions=(Google "" on
|
||||||
OpenDNS "" off)
|
OpenDNS "" off
|
||||||
|
Level3 "" off
|
||||||
|
Norton "" off
|
||||||
|
Comodo "" off)
|
||||||
DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty)
|
DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty)
|
||||||
if [[ $? = 0 ]];then
|
if [[ $? = 0 ]];then
|
||||||
case $DNSchoices in
|
case $DNSchoices in
|
||||||
|
|
Loading…
Reference in a new issue