Skip site navigation (1)Skip section navigation (2)
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
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
<jlp@softhome.net>

--==_Exmh_-2152329320--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020526045054.E5BC9AC465>