mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-11 16:40:55 +00:00
Add additional instruction.
Include "(Press space to select)" on ChooseInterface
This commit is contained in:
parent
b6f8bd408f
commit
655c422c3c
@ -188,7 +188,7 @@ chooseInterface() {
|
|||||||
|
|
||||||
# Find out how many interfaces are available to choose from
|
# Find out how many interfaces are available to choose from
|
||||||
interfaceCount=$(echo "$availableInterfaces" | wc -l)
|
interfaceCount=$(echo "$availableInterfaces" | wc -l)
|
||||||
chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An Interface" ${r} ${c} ${interfaceCount})
|
chooseInterfaceCmd=(whiptail --separate-output --radiolist "Choose An Interface (press space to select)" ${r} ${c} ${interfaceCount})
|
||||||
chooseInterfaceOptions=$("${chooseInterfaceCmd[@]}" "${interfacesArray[@]}" 2>&1 >/dev/tty)
|
chooseInterfaceOptions=$("${chooseInterfaceCmd[@]}" "${interfacesArray[@]}" 2>&1 >/dev/tty)
|
||||||
if [[ $? = 0 ]]; then
|
if [[ $? = 0 ]]; then
|
||||||
for desiredInterface in ${chooseInterfaceOptions}
|
for desiredInterface in ${chooseInterfaceOptions}
|
||||||
|
Loading…
Reference in New Issue
Block a user