From owner-freebsd-current Thu Feb 11 14:44:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00160 for freebsd-current-outgoing; Thu, 11 Feb 1999 14:44:29 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00137 for ; Thu, 11 Feb 1999 14:44:23 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id RAA18005; Thu, 11 Feb 1999 17:43:12 -0500 (EST) Date: Thu, 11 Feb 1999 17:43:12 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: Kai.Grossjohann@CS.Uni-Dortmund.DE cc: Jon Hamilton , Richard Wackerbarth , John Fieber , jack , current@FreeBSD.ORG Subject: Re: Heads up! /etc/rc.conf.site is dead. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 11 Feb 1999 Kai.Grossjohann@CS.Uni-Dortmund.DE wrote: > Jon Hamilton 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