o Don't consider LOOPBACK devices as configured...
This commit is contained in:
parent
a109c1e8f8
commit
c0586fbb4f
@ -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
|
||||
|
@ -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
|
||||
|
@ -209,7 +209,8 @@ network_pass1() {
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user