Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 01:18:18 +0900
From:      Makoto Matsushita <matusita@jp.FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: What we keep under /etc
Message-ID:  <20041010011818G.matusita@jp.FreeBSD.org>
In-Reply-To: <Pine.BSF.4.53.0410091546140.2113@e0-0.zab2.int.zabbadoz.net>
References:  <Pine.BSF.4.53.0410090841580.2113@e0-0.zab2.int.zabbadoz.net> <xzpr7o8ng1p.fsf@dwp.des.no> <Pine.BSF.4.53.0410091546140.2113@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Here's my small proposal about this issue...

There's a variable, MM_PRE_COMPARE_SCRIPT which mergemaster(8)
understands.  For those who want to update /etc/rc.d automatically,
write a small script which copies your favorite files to /etc, then
set "MM_PRE_COMPARE_SCRIPT=/your/script.sh" to /etc/mergemaster.rc.

Since mergemaster(8) is considered as a mandatory tool for admin (I
hope nobody objects), the problem we have discussed here can be
resolved with such a script and use it with mergemaster(8).  We can
also supply a sample shell script which copies etc/rc.d/* (for
example), to /usr/share/examples/mergemaster.

How do you like this?  Anybody have a sample script for that?

-- -
Makoto `MAR' Matsushita



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