From eaf6938c35eebf5a8dffd9b73e93f025cec94b58 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 21 Jan 2017 16:14:05 -0800 Subject: [PATCH] DNS whiptail from radio to menu --- automated install/basic-install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 9a4ced19..c9e7a3b2 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -432,13 +432,13 @@ valid_ip() { setDNS() { local DNSSettingsCorrect - DNSChooseOptions=(Google "" on - OpenDNS "" off - Level3 "" off - Norton "" off - Comodo "" off - Custom "" off) - DNSchoices=$(whiptail --separate-output --radiolist "Select Upstream DNS Provider. To use your own, select Custom." ${r} ${c} 6 \ + DNSChooseOptions=(Google "" + OpenDNS "" + Level3 "" + Norton "" + Comodo "" + Custom "") + DNSchoices=$(whiptail --separate-output --menu "Select Upstream DNS Provider. To use your own, select Custom." ${r} ${c} 6 \ "${DNSChooseOptions[@]}" 2>&1 >/dev/tty) || \ { echo "::: Cancel selected. Exiting"; exit 1; } case ${DNSchoices} in