Startup after named

Edwin Groothuis edwin at mavetju.org
Mon Jun 2 09:19:57 UTC 2008


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 at mavetju.org    |              Weblog: http://www.mavetju.org/weblog/


More information about the freebsd-rc mailing list