From owner-cvs-src@FreeBSD.ORG Sat Oct 9 16:18:22 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 578B916A4CE; Sat, 9 Oct 2004 16:18:22 +0000 (GMT) Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCDE43D45; Sat, 9 Oct 2004 16:18:21 +0000 (GMT) (envelope-from matusita@jp.FreeBSD.org) Received: from localhost (localhost [::1])i99GIJ831484; Sun, 10 Oct 2004 01:18:19 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) In-Reply-To: References: X-User-Agent: Mew/1.94.2 Emacs/21.3 X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20040704(IM147) Lines: 18 From: Makoto Matsushita To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Date: Sun, 10 Oct 2004 01:18:18 +0900 Message-Id: <20041010011818G.matusita@jp.FreeBSD.org> Subject: Re: What we keep under /etc X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 16:18:22 -0000 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