From owner-freebsd-arch Mon Oct 22 6:46:23 2001 Delivered-To: freebsd-arch@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 6E7DE37B405 for ; Mon, 22 Oct 2001 06:46:17 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id 441F35808; Mon, 22 Oct 2001 15:46:15 +0200 (CEST) Date: Mon, 22 Oct 2001 15:46:15 +0200 From: Guido van Rooij To: Dag-Erling Smorgrav Cc: Will Andrews , arch@FreeBSD.org Subject: Re: New rc.d init script roadmap Message-ID: <20011022154615.A42579@gvr.gvr.org> References: <20011018163033.C57251@squall.waterspout.com> <20011018164026.A25747@squall.waterspout.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from des@ofug.org on Fri, Oct 19, 2001 at 12:12:31AM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 19, 2001 at 12:12:31AM +0200, Dag-Erling Smorgrav wrote: > > This issue is sufficiently complex that I actually think a small > well-thought-out special-purpose script language would be better > suited to this task that a bunch of shell scripts + rcorder, but > that is probably a far too politically controversial suggestion. > > (it's all a matter of interdependent objects on which you can perform > various operations, so a Real Hacker would come up with a lightweight > object-oriented script language that could not only manage the startup > sequence but replace make(1) as well. > Since checking is done differently per service, it makes most sense to me to put the checks in the service scripts. That means that non-standard services like ipfilter must implement there own ipfilter_cmd scripts and skip the start command if alread started. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message