Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2008 19:19:51 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: Startup after named
Message-ID:  <20080602091951.GC89632@k7.mavetju>
In-Reply-To: <4843696C.9070608@FreeBSD.org>
References:  <20080601105933.GA23625@k7.mavetju> <4843696C.9070608@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 01, 2008 at 08:30:52PM -0700, Doug Barton wrote:
> Edwin Groothuis wrote:
> >A certain port (net/freenet6) needs to be started up after the
> >system is capable of doing DNS requests. That sounds like "REQUIRE:
> >named".
> >
> >But what if the system doesn't have named enabled?
> >What kind of require can I use for either named *or* networking?
> 
> REQUIRE is somewhat poorly named, as it implies that the feature must 
> be enabled to satisfy the requirement, which is not true. It would 
> more properly be called AFTER since it only applies to how rcorder 
> arranges the scripts to be run (and therefore tested to see if they 
> are enabled or not).
> 
> Without knowing the details of what you're working on, you can 
> probably just REQUIRE named.

I tried it this afternoon in the train (don't ask my why I did it
there), and it works if you mentally replace "REQUIRE" with "AFTER"
:-)

Thanks for the answer, Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |              Weblog: http://www.mavetju.org/weblog/



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