From owner-cvs-all@FreeBSD.ORG Sat Oct 9 19:37:24 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52AA416A4D1 for ; Sat, 9 Oct 2004 19:37:24 +0000 (GMT) Received: from node15.coopprint.com (node15.cooperativeprinting.com [208.4.77.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C29243D49 for ; Sat, 9 Oct 2004 19:37:23 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 61762 invoked by uid 0); 9 Oct 2004 19:36:37 -0000 Received: from unknown (HELO ?192.168.0.5?) (63.231.165.205) by node15.coopprint.com with SMTP; 9 Oct 2004 19:36:37 -0000 Message-ID: <41683DF9.9050108@gamersimpact.com> Date: Sat, 09 Oct 2004 14:37:29 -0500 From: Ryan Sommers User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Colin Percival References: <200410071355.i97DtSJq024575@repoman.freebsd.org> <20041009011553.01708de1@dev.lan.Awfulhak.org> <20041009114544.080344bd@dev.lan.Awfulhak.org> <20041009222726U.matusita@jp.FreeBSD.org> <20041009184627.26e9a57f@dev.lan.Awfulhak.org> <41682C4C.2040303@wadham.ox.ac.uk> In-Reply-To: <41682C4C.2040303@wadham.ox.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Makoto Matsushita cc: Brian Somers cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: What we keep under /etc X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 19:37:24 -0000 Colin Percival wrote: > Brian Somers wrote: > >> Ok, so etc/mtree can be left out. What about etc/periodic and etc/rc.d? > > > Would it be possible to add a /etc/defaults/rc.d and have /etc/rc > take its scripts from there unless a file with the same name exists > in /etc/rc.d? Then files could be installed automatically into > /etc/defaults/rc.d, and anyone who wanted to modify something would > just have to copy the appropriate file into /etc/rc.d and edit it > there. (As a bonus, this is backwards-compatible with the existing > setup.) > > Colin Percival Or instead, install all the default scripts to /etc/defaults/rc.d and have them as symlinks in /etc/rc.d. That way if someone wants to modify a script they just replace the symlink with their copy. Then when we update with installworld only install to /etc/defaults/rc.d. Then the custom file will not be touched. -- Ryan Sommers ryans@gamersimpact.com