From owner-freebsd-bugs Sat May 25 22: 0:14 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 175D537B40A for ; Sat, 25 May 2002 22:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4Q505I39001; Sat, 25 May 2002 22:00:05 -0700 (PDT) (envelope-from gnats) Date: Sat, 25 May 2002 22:00:05 -0700 (PDT) Message-Id: <200205260500.g4Q505I39001@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Jan L. Peterson" Subject: Re: conf/38559: rc.network hangs for a long time attempting dhcp setup of disconnected interface Reply-To: "Jan L. Peterson" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/38559; it has been noted by GNATS. From: "Jan L. Peterson" To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Cc: Subject: Re: conf/38559: rc.network hangs for a long time attempting dhcp setup of disconnected interface Date: Sat, 25 May 2002 22:50:53 -0600 This is a multipart MIME message. --==_Exmh_-2152329320 Content-Type: text/plain; charset=us-ascii Here's the patch as promised. -jan- --==_Exmh_-2152329320 Content-Type: text/plain ; name="j1"; charset=us-ascii Content-Description: j1 Content-Disposition: attachment; filename="j1" *** 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 ;; *) --==_Exmh_-2152329320 Content-Type: text/plain; charset=us-ascii Jan L. Peterson --==_Exmh_-2152329320-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message