From 86bdae0076edf3a96a41ade11bc0675fa988e45a Mon Sep 17 00:00:00 2001 From: deHakkelaar Date: Sun, 13 Jul 2025 11:05:58 +0200 Subject: [PATCH] Update basic-install.sh Added comments --- automated install/basic-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index dfecda9c..3932fb59 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -577,6 +577,9 @@ 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 + # The ip command list all interfaces that are in the up state + # The awk command filters out any interfaces that have the LOOPBACK flag set + # while using the characters ": " or "@" as a field separator for awk availableInterfaces=$(ip --oneline link show up | awk -F ': |@' '!/<.*LOOPBACK.*>/ {print $2}') }