What we keep under /etc (was: cvs commit: src/etc rc rc.shutdown src/etc/rc.d ...)

David O'Brien obrien at FreeBSD.org
Sun Oct 10 17:12:35 PDT 2004


On Sun, Oct 10, 2004 at 03:12:08AM +0900, Makoto Matsushita wrote:
> brian> Ok, so etc/mtree can be left out.  What about etc/periodic and etc/rc.d?
> I don't think followings are generally applied to others, but here's
> my case:
> 
> * I've modified /etc/periodic/security/security.function.  In
>   check_diff() function, there's a line that compares old one and a
>   new one.  However, in my cases, there are lots of bogus output will
>   be generated (it is assumed one, not a bug or admin failure), so I'd
>   like to trim off unwanted output by egrep(1) -- changing the file is
>   the only answer.

Is this something you could generalize and embelish -- adding an
/etc/perodic.conf knob for?

Also, if you do 'make installworld' on this machine (since this is what
we're talking about); you can also just make the change to
/usr/src/etc/periodic/security/security.function.  I would almost think
this is a better way, as you can (cd /usr/src ; cvs diff) and get a list
of all the customization you've done.
 
-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list