Date: Thu, 16 Apr 2009 21:58:22 +0200 From: Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net> To: freebsd-questions@freebsd.org Cc: Roland Smith <rsmith@xs4all.nl> Subject: Re: Saving configuration files (was Re: FreeBSD Upgrade: Ports That Need Rebuilding) Message-ID: <200904162158.22744.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> In-Reply-To: <20090416191801.GA20327@slackbox.xs4all.nl> References: <49E64867.5060209@gmail.com> <200904162059.31243.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <20090416191801.GA20327@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 16 April 2009 21:18:01 Roland Smith wrote: > On Thu, Apr 16, 2009 at 08:59:30PM +0200, Mel Flynn wrote: > <snip> > > > I guess I'm just anti-redoing-configuration, since there's so many > > formats out there. One can of course backup ${LOCALBASE}/etc --exclude > > rc.d, but the number of exceptions grows over time (/etc/X11/xorg.conf, > > /usr/local/squid/*, /usr/local/pgsql/data/*, /usr/local/hybserv/*). > > I keep all configuration files that I have changed myself in a tree > under ~/setup, complete with two scripts that check (check.pl) if config > files have changed or installs them (install.pl) if they are out of > date. Both scripts read a file with a list of what to install > where. This directory is kept under revision control with git. I've > documented this setup on my homepage: > http://www.xs4all.nl/~rsmith/freebsd/index.html#doc Very interesting. Maybe I should wrap sudoedit with autocommits, cause I know I'd forget to. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904162158.22744.mel.flynn%2Bfbsd.questions>