Update automated install/basic-install.sh

Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
Signed-off-by: Piotr Tyrakowski <verscup@gmail.com>
This commit is contained in:
Piotr Tyrakowski 2025-05-12 21:13:01 +02:00 committed by GitHub
parent 9f3e71b0b6
commit 13848f2da1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -705,7 +705,7 @@ find_IPv4_information() {
# Get available interfaces that are UP
get_available_interfaces() {
# There may be more than one so it's all stored in a variable
availableInterfaces=$(ip --oneline link show up | grep -v "loo" | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1)
availableInterfaces=$(ip --oneline link show up | awk '{print $2}' | grep -v "^lo" | cut -d':' -f1 | cut -d'@' -f1)
}
# A function for displaying the dialogs the user sees when first running the installer