Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 1999 17:43:12 -0500 (EST)
From:      Brian Feldman <green@unixhelp.org>
To:        Kai.Grossjohann@CS.Uni-Dortmund.DE
Cc:        Jon Hamilton <hamilton@pobox.com>, Richard Wackerbarth <rkw@nomad.dataplex.net>, John Fieber <jfieber@indiana.edu>, jack <jack@germanium.xtalwind.net>, current@FreeBSD.ORG
Subject:   Re: Heads up! /etc/rc.conf.site is dead.
Message-ID:  <Pine.BSF.4.05.9902111742090.14458-100000@janus.syracuse.net>
In-Reply-To: <vafpv7gsqm1.fsf@ramses.cs.uni-dortmund.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Feb 1999 Kai.Grossjohann@CS.Uni-Dortmund.DE wrote:

> Jon Hamilton <hamilton@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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902111742090.14458-100000>