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:
slamanna212 2016-02-15 17:54:17 -05:00
parent 06444c1c27
commit 94600c54cb
1 changed files with 4 additions and 1 deletions

View File

@ -302,7 +302,10 @@ setStaticIPv4() {
setDNS(){
DNSChoseCmd=(whiptail --separate-output --radiolist "Select Upstream DNS Provider" $r $c 2)
DNSChooseOptions=(Google "" on
OpenDNS "" off)
OpenDNS "" off
Level3 "" off
Norton "" off
Comodo "" off)
DNSchoices=$("${DNSChoseCmd[@]}" "${DNSChooseOptions[@]}" 2>&1 >/dev/tty)
if [[ $? = 0 ]];then
case $DNSchoices in