Subject: Re: Forcing update of config/rc.d files
To: Johnny Lam <jlam@NetBSD.org>
From: Geert Hendrickx <geert.hendrickx@ua.ac.be>
List: tech-pkg
Date: 04/12/2005 17:43:27
On Tue, Apr 12, 2005 at 11:15:12AM -0400, Johnny Lam wrote:
> David Brownlee wrote:
> >    Is there any command that can be run to report which installed
> >    config files differ from the defaults in $PREFIX/share/examples?
> >
> >    After various package upgrades I have some machines which have
> >    accumulated out of date config and rc.d scripts (I have
> >    PKG_RCD_SCRIPTS=yes), and I'd like to know which ones.
> 
> You can "cd" into each of the /var/db/* directories and run:
> 
> 	./+FILES CHECK-REMOVE
> 	./+RCD_SCRIPTS CHECK-REMOVE
> 
> CHECK-REMOVE will list all of the files that are different from the 
> sample files and that they are safe to remove.  It doesn't actually 
> touch any of the files on your filesystem, so it's perfectly safe to run.

Veeeery nice! :-)  Thanks!  

GH

-- 
:wq