mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-07-28 16:14:07 +02:00
Revert "fix(get_available_interfaces): only drop the loopback device (‘lo’), don’t filter every “lo” substring"
This commit is contained in:
parent
3c1d8690fa
commit
f6d477f228
@ -705,7 +705,7 @@ find_IPv4_information() {
|
|||||||
# Get available interfaces that are UP
|
# Get available interfaces that are UP
|
||||||
get_available_interfaces() {
|
get_available_interfaces() {
|
||||||
# There may be more than one so it's all stored in a variable
|
# 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 | grep -v "lo" | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1)
|
||||||
}
|
}
|
||||||
|
|
||||||
# A function for displaying the dialogs the user sees when first running the installer
|
# A function for displaying the dialogs the user sees when first running the installer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user