What we keep under /etc

Ryan Sommers ryans at gamersimpact.com
Sat Oct 9 12:37:24 PDT 2004


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 at gamersimpact.com



More information about the cvs-src mailing list