From owner-freebsd-hackers Sat Jun 16 9:17:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [206.40.252.115]) by hub.freebsd.org (Postfix) with ESMTP id 0F67C37B405 for ; Sat, 16 Jun 2001 09:17:33 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f5GGHVb81106; Sat, 16 Jun 2001 09:17:31 -0700 (PDT) (envelope-from obrien) Date: Sat, 16 Jun 2001 09:17:31 -0700 From: "David O'Brien" To: Gordon Tetlow Cc: "David O'Brien -Hackers" Subject: Re: import NetBSD rc system Message-ID: <20010616091731.A81063@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20010616011923.A39762@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from gordont@bluemtn.net on Sat, Jun 16, 2001 at 07:58:06AM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jun 16, 2001 at 07:58:06AM -0700, Gordon Tetlow wrote: > I'll submit the patches I have for this that make it work in both FreeBSD > and NetBSD. BTW, why do we use libutil.h and they use util.h? Just the way things are. > I like Matt's idea (I think it was Matt) to have a new_rc switch. I'll > look at adding the code for it and submitting a patch, You are going off on a tangent. You are worried about the flag day before we even have a flag to run up the poll. > > > /etc/rc.subr ported > > > > What changes were needed here? > > I basically added a function called checkwildno() that is similar to > checkyesno that returns 1 for NO (plus variants) or '' and returns 0 for > anything else. This gets rid of alot of case statements in the modules, > making them simple if's. Again, why don't we just concentrate on porting the NetBSD scripts and not the second system enhancements? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message