Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 2004 14:37:29 -0500
From:      Ryan Sommers <ryans@gamersimpact.com>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: What we keep under /etc
Message-ID:  <41683DF9.9050108@gamersimpact.com>
In-Reply-To: <41682C4C.2040303@wadham.ox.ac.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41683DF9.9050108>