On 11 Feb 1999 kai.grossjoh...@cs.uni-dortmund.de wrote:

> Jon Hamilton <hamil...@pobox.com> writes:
> 
>   > But then you're right back where you started.  Since rc.conf isn't
>   > supposed to be touched by the install/upgrade tools, it'll get out
>   > of date (and will become a hinderance rather than a help) as
>   > default settings change, and as settings are added/deleted.
> 
> Can we make something which compares /etc/rc.conf and
> /etc/default/rc.conf and emits warnings if a variable is set in
> /etc/rc.conf which isn't in /etc/default/rc.conf?
> 
> I realize that this is not as simple as extracting all variable names
> from both files, sorting them, and running diff.  There are a few
> variable names which are variable, for instance the network interface
> settings.

Actually, it's almost that easy. It may require a few "hints" at the beginning
of the file, but I could make a shell script (not using sed/awk/whatnot) to do
this if anyone would want it.

> 
> kai `a FreeBSD newbie but hopefully not stupid'
> -- 
> I like _b_o_t_h kinds of music.
> 
> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-current" in the body of the message
> 

 Brian Feldman                                    _ __  ___ ___ ___  
 gr...@unixhelp.org                           _ __ ___ | _ ) __|   \ 
             http://www.freebsd.org/     _ __ ___ ____ | _ \__ \ |) |
 FreeBSD: The Power to Serve!      _ __ ___ ____ _____ |___/___/___/ 


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to