Date: Sat, 25 May 2002 22:50:53 -0600 From: "Jan L. Peterson" <jlp@softhome.net> To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: conf/38559: rc.network hangs for a long time attempting dhcp setup of disconnected interface Message-ID: <20020526045054.E5BC9AC465@mail.flipdog.com> In-Reply-To: Your message of "Sat, 25 May 2002 21:40:01 PDT." <200205260440.g4Q4e1937127@freefall.freebsd.org> References: <200205260440.g4Q4e1937127@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Here's the patch as promised. -jan- [-- Attachment #2 --] *** rc.network-orig Sat May 25 22:32:58 2002 --- rc.network Fri May 17 21:52:56 2002 *************** *** 203,209 **** ;; [Dd][Hh][Cc][Pp]) # DHCP inits are done all in one go below ! dhcp_interfaces="$dhcp_interfaces $ifn" eval showstat_$ifn=1 ;; *) --- 203,218 ---- ;; [Dd][Hh][Cc][Pp]) # DHCP inits are done all in one go below ! ### jlp ! ### ! ### check dhcp interfaces for signal before adding them in ! ### ! if ifconfig $ifn | grep status | ! grep -v "no carrier" >/dev/null 2>&1; then ! dhcp_interfaces="$dhcp_interfaces $ifn" ! fi ! ### ! ### eval showstat_$ifn=1 ;; *) [-- Attachment #3 --] Jan L. Peterson <jlp@softhome.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020526045054.E5BC9AC465>
