Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 17:12:28 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Makoto Matsushita <matusita@jp.FreeBSD.org>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: What we keep under /etc (was: cvs commit: src/etc rc rc.shutdown src/etc/rc.d ...)
Message-ID:  <20041011001228.GA9460@dragon.nuxi.com>
In-Reply-To: <20041010031208L.matusita@jp.FreeBSD.org>
References:  <20041009114544.080344bd@dev.lan.Awfulhak.org> <20041009222726U.matusita@jp.FreeBSD.org> <20041009184627.26e9a57f@dev.lan.Awfulhak.org> <20041010031208L.matusita@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



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