From owner-freebsd-arch Thu Oct 18 11:47:14 2001 Delivered-To: freebsd-arch@freebsd.org Received: from relay.gnf.org (relay.gnf.org [208.44.31.36]) by hub.freebsd.org (Postfix) with ESMTP id 9683437B401 for ; Thu, 18 Oct 2001 11:47:12 -0700 (PDT) Received: from mail.gnf.org (smtp.gnf.org [10.0.0.11]) by relay.gnf.org (8.11.6/8.11.6) with ESMTP id f9IIlBs29519; Thu, 18 Oct 2001 11:47:11 -0700 Received: by mail.gnf.org (Postfix, from userid 888) id 0957211E509; Thu, 18 Oct 2001 11:44:14 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id 0527E11A576; Thu, 18 Oct 2001 11:44:14 -0700 (PDT) Date: Thu, 18 Oct 2001 11:44:13 -0700 (PDT) From: Gordon Tetlow To: Cc: Joe Abley , Subject: Re: New rc.d init script roadmap In-Reply-To: <20011018112838.C20348@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 18 Oct 2001, David O'Brien wrote: > On Thu, Oct 18, 2001 at 01:19:45PM -0400, Joe Abley wrote: > > > There is one main issue to resolve before I go through and rewrite the > > > rc.d scripts. Do we want to keep the existing FreeBSD scripts as much as > > > possible? or do we want them to look like NetBSD's? I prefer the former > > > myself. I think Kevin's implementation has gone more for the latter. > > > > I think the former is more likely to result in scripts that > > exactly match the current functionality. > > Why? As long as the same services start up, why does it matter? Well, then what do you want to do about the massive differences between NetBSD and FreeBSD in /etc/defaults/rc.conf? We have gone with the convention of $_enable while NetBSD has gone with $. I don't want to break the entire history of that, but it's going to cause code divergence. I'd suggest to add conditional code that checks for FreeBSD and add _enable to the rcvar, but I don't really like that idea as it makes it difficult from just looking at the rc script for a program to determine what rc.conf variable to set. I'd love to see NetBSD's and FreeBSD's code converge on this, but I just don't know how feasible it is in the short to near term. -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message