|
|
|
@ -674,7 +674,7 @@ chooseInterface() {
|
|
|
|
|
# Feed the available interfaces into this while loop
|
|
|
|
|
done <<< "${availableInterfaces}"
|
|
|
|
|
# The whiptail command that will be run, stored in a variable
|
|
|
|
|
chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An Interface (press space to toggle selection)" "${r}" "${c}" "${interfaceCount}")
|
|
|
|
|
chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An Interface (press space to toggle selection)" "${r}" "${c}" 6)
|
|
|
|
|
# Now run the command using the interfaces saved into the array
|
|
|
|
|
chooseInterfaceOptions=$("${chooseInterfaceCmd[@]}" "${interfacesArray[@]}" 2>&1 >/dev/tty) || \
|
|
|
|
|
# If the user chooses Cancel, exit
|
|
|
|
|