From 1faabd6cbccaf0ab1ccecc74bcf0d54e1be3d4f0 Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 11 Dec 2002 23:30:34 +0000 Subject: o Don't do anything if the interface is already up. o Only delay in pccard_ether when we're doing dhcp and starting the interface. Approved: (re blanket for devd) --- etc/rc.network | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc/rc.network') diff --git a/etc/rc.network b/etc/rc.network index 925876b..3d6282f 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -209,6 +209,11 @@ network_pass1() { dhcp_interfaces="" for ifn in ${network_interfaces}; do + if ifconfig ${interface} | grep -s UP,; then + # Interface is already up, so ignore it. + continue; + fi + if [ -r /etc/start_if.${ifn} ]; then . /etc/start_if.${ifn} eval showstat_$ifn=1 -- cgit v1.1