From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 19 18:18:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2591F106566B; Tue, 19 Jun 2012 18:18:51 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 759CD8FC15; Tue, 19 Jun 2012 18:18:50 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5JIIkrm034303; Tue, 19 Jun 2012 20:18:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5JIIkFQ034296; Tue, 19 Jun 2012 20:18:46 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 19 Jun 2012 20:18:46 +0200 (CEST) From: Wojciech Puchar To: Garrett Cooper In-Reply-To: Message-ID: References: <20120615124849.GI96212@ass.kameli.org> <20120618081140.GK96212@ass.kameli.org> <4FDF6177.5050608@unsane.co.uk> <4FDF6586.9060501@gentoo.org> <4FDFB166.2040709@FreeBSD.org> <4FE0AD56.8050604@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 19 Jun 2012 20:18:47 +0200 (CEST) Cc: Doug Barton , "freebsd-hackers@freebsd.org" , Richard Yao , Vincent Hoffman , Nathan Whitehorn , Outback Dingo , openrc@gentoo.org, =?ISO-8859-15?Q?Atte_Peltom=E4ki?= Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jun 2012 18:18:51 -0000 sorry i was wrong /etc/rc.d/defaultroute use sleep to wait for dhclient only. On Tue, 19 Jun 2012, Garrett Cooper wrote: > On Tue, Jun 19, 2012 at 10:51 AM, Wojciech Puchar > wrote: >>>> grep sleep /etc/rc.d/* usr/local/etc/rc.d/* >>> >>> Sleeps in /etc tend to be there for good reasons, and new ones are >>> vigorously scrutinized. If you see any that you think are dubious, feel >>> free to mention them on freebsd-rc@. >> >> I don't say they are not needed but that they exist. >> anyway i don't understand sleep 1 after setting default route. > > Probably working around annoying races in the driver / network / > routing stack. Please see my previous reply. > Thanks, > -Garrett >