From owner-freebsd-arch Thu Oct 18 13:43:53 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 ECAF637B401 for ; Thu, 18 Oct 2001 13:43:46 -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 f9IKhks31849; Thu, 18 Oct 2001 13:43:46 -0700 Received: by mail.gnf.org (Postfix, from userid 888) id 38CBC11E508; Thu, 18 Oct 2001 13:40:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id 351BA11A572; Thu, 18 Oct 2001 13:40:49 -0700 (PDT) Date: Thu, 18 Oct 2001 13:40:49 -0700 (PDT) From: Gordon Tetlow To: Cc: Subject: Re: New rc.d init script roadmap In-Reply-To: <20011018112752.B20348@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 09:46:13AM -0700, Gordon Tetlow wrote: > > > Can you look at Kevin's work and see if you two could merge it into one > > > prototype? > > > > I just looked briefly at it. I think we are actually in about the same > > place, although he's a bit further along on the scripts. Although most of > > them are directly from NetBSD and not a conversion of the existing FreeBSD > > boot scripts/order. > > That is what we want -- as small a deveration from the NetBSD ones as > possible. Otherwise there is no way they will accept our changes (unless > they clearly give a measurable enhancement). We want to share this > common source as much as possible -- gratuitous changes from the NetBSD > rc.d system will not benefit anyone. Going from our existing RC scripts > to an rc.d system is a big enough upheaval that we(FreeBSD) can accept a > large change from our existing RC scripts (ie, a direct conversion is not > as needed). How should we handle differences? Something like: os=`sysctl -n kern.ostype` case ${os} in FreeBSD) # Stuff for FreeBSD ;; NetBSD) # Stuff for NetBSD seac would do the job. Remember, uname isn't always accessible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message