Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryubiuser <ckoenig@posteo.de>2021-11-22 18:37:58 +0300
committerGitHub <noreply@github.com>2021-11-22 18:37:58 +0300
commitb750b01acc69f4a817b81e4683df3c5b86f38da7 (patch)
treeffd8d00e9fae5dce4df0bbb99cf7c59ce72d6f58 /automated install/basic-install.sh
parentd85fee27a9ec06117a4c33961bc4b6507659172c (diff)
parent996a2c74fa0004fdd40b172cd9eec695a2d31768 (diff)
Merge pull request #4434 from MichaIng/patch-1
Use a fixed list height for network interface selection
Diffstat (limited to 'automated install/basic-install.sh')
-rwxr-xr-xautomated install/basic-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index c806a6ae..5c317edc 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -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