Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 08:35:40 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Paul Halliday <paul.halliday@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: rc: not working as expected? (round 2)
Message-ID:  <20081010153540.GA35710@icarus.home.lan>
In-Reply-To: <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com>
References:  <2dab70a30810100819v175fe867j87ad533b7f2651c9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




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