From 9212eea8bdd647435f1d111cb62ce90b87ab1b8e Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 14 Jan 2017 15:25:42 -0800 Subject: [PATCH] Only ignore DOWN interfaces, `tun` interfaces are UNKNOWN. Signed-off-by: Dan Schaper --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 80943739..6448aa0f 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -180,7 +180,7 @@ find_IPv4_information() { get_available_interfaces() { # Get available UP interfaces. - availableInterfaces=$(ip -o link | grep "state UP" | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1) + availableInterfaces=$(ip -o link | grep -v "state DOWN\|lo" | awk '{print $2}' | cut -d':' -f1 | cut -d'@' -f1) } welcomeDialogs() {