From owner-freebsd-rc@FreeBSD.ORG Mon Jun 2 03:57:34 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F1E81065677 for ; Mon, 2 Jun 2008 03:57:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with ESMTP id 933E88FC0C for ; Mon, 2 Jun 2008 03:57:33 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 24780 invoked by uid 399); 2 Jun 2008 03:43:35 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 2 Jun 2008 03:43:35 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4843696C.9070608@FreeBSD.org> Date: Sun, 01 Jun 2008 20:30:52 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.14 (X11/20080525) MIME-Version: 1.0 To: Edwin Groothuis References: <20080601105933.GA23625@k7.mavetju> In-Reply-To: <20080601105933.GA23625@k7.mavetju> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: Startup after named X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 03:57:34 -0000 Edwin Groothuis wrote: > Hello, > > 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. hth, Doug -- This .signature sanitized for your protection