From owner-freebsd-arch Wed Jun 20 18:36:35 2001 Delivered-To: freebsd-arch@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id DAEA537B409; Wed, 20 Jun 2001 18:36:15 -0700 (PDT) (envelope-from obrien@nuxi.ucdavis.edu) Received: from dragon.nuxi.com (root@trang.nuxi.com [206.40.252.115]) by relay.nuxi.com (8.11.2/8.11.2) with ESMTP id f5L1aER05606; Wed, 20 Jun 2001 18:36:14 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f5L1L6700954; Wed, 20 Jun 2001 18:21:06 -0700 (PDT) (envelope-from obrien) Date: Wed, 20 Jun 2001 18:21:06 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Cc: Doug Barton , Warner Losh , freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org Subject: Re: Changes to the /etc/rc* boot system Message-ID: <20010620182106.C99923@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20010618175638.L37408-100000@dt051n37.san.rr.com> <200106190451.f5J4ppV59574@harmony.village.org> <3B2EF1F8.9710CC61@DougBarton.net> <20010620175006.A99923@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 des@ofug.org on Thu, Jun 21, 2001 at 02:56:31AM +0200 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-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, Jun 21, 2001 at 02:56:31AM +0200, Dag-Erling Smorgrav wrote: > I think a step in the right direction might be to fiddle with our > Makefiles so that developers have the option to install the NetBSD rc > stuff instead of our own. I have patches for `rcorder' (posted to -arch). I will either commit them, or a new vendor import after USENIX. Once that is done, I'll add rcorder to src/sbin/Makefile. Here is a patch that will get the rc.d files install in the minimal amount of changes. Index: Makefile =================================================================== RCS file: /home/ncvs/src/etc/Makefile,v retrieving revision 1.255 diff -u -r1.255 Makefile --- Makefile 2001/06/13 16:39:23 1.255 +++ Makefile 2001/06/21 01:19:15 @@ -131,6 +131,8 @@ set -x; \ ln -s mail/aliases ${DESTDIR}/etc/aliases; \ fi + cd ${.CURDIR}/rc.d; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ + ${RC_D} ${DESTDIR}/etc/rc.d ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ ${DESTDIR}/etc/dumpdates ${INSTALL} -c -o nobody -g ${BINGRP} -m 644 /dev/null \ @@ -211,3 +213,6 @@ ${DESTDIR}/usr/share/examples/etc/defaults) .include + +.include "${.CURDIR}/rc.d/Makefile" +RC_D= ${FILES} To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message