From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:35:42 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D14791065688 for ; Fri, 10 Oct 2008 15:35:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id B52D68FC13 for ; Fri, 10 Oct 2008 15:35:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id R22T1a00917UAYkA73biBS; Fri, 10 Oct 2008 15:35:42 +0000 Received: from koitsu.dyndns.org ([69.181.141.110]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id R3bg1a00E2P6wsM8Z3bgn4; Fri, 10 Oct 2008 15:35:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=5hEdkC7PT9sA:10 a=WnzRKLxnhysA:10 a=QycZ5dHgAAAA:8 a=g_dDDK1G4s5Hpgg4PKEA:9 a=DXfkHRH4Oa1Sm7UEuyPEbd0kdu0A:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 95B9EC9419; Fri, 10 Oct 2008 08:35:40 -0700 (PDT) Date: Fri, 10 Oct 2008 08:35:40 -0700 From: Jeremy Chadwick To: Paul Halliday Message-ID: <20081010153540.GA35710@icarus.home.lan> References: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: questions@freebsd.org Subject: Re: rc: not working as expected? (round 2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:35:42 -0000 On Fri, Oct 10, 2008 at 12:19:21PM -0300, Paul Halliday wrote: > (I mistakenly sent the last msg before finishing..) > > Or maybe an interpretation issue. > > I have a few startup scripts in rc.d and I am experiencing timing > issues. i.e. I need xyz to start before abc. > > Within xyz I tried: > > # REQUIRE: abc > > This didn't work so I tried: > > 100.xyz > 900.abc > which doesn't appear to work either. > > What am I missing? The answer is probably in the rcorder(8) or rc(8) man pages. I'm betting you need to use the "BEFORE" clause, and the string you need to match on is whatever one (or more) of the "PROVIDE" clauses are in the script which you want to start first. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |