From c0586fbb4fe74b933efc1631a397e510eb5e2319 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 13 Dec 2002 23:36:31 +0000 Subject: o Don't consider LOOPBACK devices as configured... --- etc/network.subr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/network.subr') diff --git a/etc/network.subr b/etc/network.subr index 5e68a3d..fba88d1 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -146,7 +146,8 @@ network_start() dhcp_interfaces="" for ifn in ${network_interfaces}; do - if ifconfig ${ifn} | grep -s UP, > /dev/null 2>&1; then + _up=`ifconfig ${ifn} | head -1 | grep -v LOOPBACK | grep UP,` + if [ "$_up" != "" ]; then # Interface is already up, so ignore it. continue; fi -- cgit v1.1