From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 15:36:54 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 51E8E10656A8 for ; Fri, 10 Oct 2008 15:36:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2518FC39 for ; Fri, 10 Oct 2008 15:36:54 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from 68-189-244-97.dhcp.oxfr.ma.charter.com ([68.189.244.97] helo=Gregory-Larkins-Computer.local) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KoK2s-000GYM-WB; Fri, 10 Oct 2008 11:36:52 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by Gregory-Larkins-Computer.local (Postfix) with ESMTP id C250C25E4058; Fri, 10 Oct 2008 11:36:50 -0400 (EDT) Message-ID: <48EF7695.5070407@FreeBSD.org> Date: Fri, 10 Oct 2008 11:36:53 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Paul Halliday References: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.3 (-) 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 Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2008 15:36:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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? > > Thanks. Hi Paul, You may be using "REQUIRE: abc" in one script, but have you placed a corresponding "PROVIDE: abc" in another script? I also use rcorder to print the order in which my rc.d scripts will be loaded: http://www.freebsd.org/cgi/man.cgi?query=rcorder&sourceid=opensearch. Check /etc/rc to see how rcorder is invoked at various times during bootup. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI73aV0sRouByUApARApUrAJ0VYBe6StWNPIFw6GUGphDQ+yjoywCbB0hF +BUsLASWGkL7PDVnP56vpTY= =idyk -----END PGP SIGNATURE-----