From owner-freebsd-bugs Sat May 25 21:51: 8 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from mail.flipdog.com (12-254-245-65.client.attbi.com [12.254.245.65]) by hub.freebsd.org (Postfix) with ESMTP id E828537B403; Sat, 25 May 2002 21:51:03 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.flipdog.com (Postfix) with ESMTP id E5BC9AC465; Sat, 25 May 2002 22:50:53 -0600 (MDT) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 From: "Jan L. Peterson" 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 X-face: p=61=y<.Il$z+k*y~"j>%c[8R~8{j3WTnaSd-'RyC>t.Ub>AAm\zYA#5JF +W=G?EI+|EI);]=fs_MOfKN0n9`OlmB[1^0;L^64K5][nOb&gv/n}p@mm06|J|WNa asp7mMEw0w)e_6T~7v-\]yHKvI^1}[2k)] References: <200205260440.g4Q4e1937127@freefall.freebsd.org> In-reply-to: Your message of "Sat, 25 May 2002 21:40:01 PDT." <200205260440.g4Q4e1937127@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_-2152329320" Date: Sat, 25 May 2002 22:50:53 -0600 Message-Id: <20020526045054.E5BC9AC465@mail.flipdog.com> 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 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