Date: Thu, 18 Oct 2001 13:40:49 -0700 (PDT) From: Gordon Tetlow <gordont@gnf.org> To: <arch@freebsd.org> Cc: <kevin.way@overtone.org> Subject: Re: New rc.d init script roadmap Message-ID: <Pine.LNX.4.33.0110181337150.1612-100000@smtp.gnf.org> In-Reply-To: <20011018112752.B20348@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0110181337150.1612-100000>