mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-29 00:24:16 +02:00
basic-install.sh listing interfaces
Following up on below one: https://github.com/pi-hole/pi-hole/pull/6236 And below poor attempt: https://github.com/pi-hole/pi-hole/pull/6256 Signed-off-by: deHakkelaar <deHakkelaar@users.noreply.github.com>
This commit is contained in:
parent
4d4195ed4e
commit
6130b800e3
@ -577,7 +577,7 @@ Do you wish to continue with an IPv6-only installation?\\n\\n" \
|
||||
# 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 | awk '{print $2}' | grep -v "^lo" | cut -d':' -f1 | cut -d'@' -f1)
|
||||
availableInterfaces=$(ip --oneline link show up | awk -F ': |@' '!/<.*LOOPBACK.*>/ {print $2}')
|
||||
}
|
||||
|
||||
# A function for displaying the dialogs the user sees when first running the installer
|
||||
|
Loading…
x
Reference in New Issue
Block a user