Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2003 10:24:22 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        Andrew <andrew@ugh.net.au>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Miguel Mendez <flynn@energyhq.homeip.net>, wgrim@siue.edu, phk@FreeBSD.ORG, kientzle@acm.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: key=value in rc.conf (was Re: Reading rc.conf from C programs?)
Message-ID:  <20030103082422.GA61889@mithrandr.moria.org>
In-Reply-To: <20030103131453.K69183-100000@starbug.ugh.net.au>
References:  <3E14B7E8.A1159384@mindspring.com> <20030103131453.K69183-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 2003-01-03 (14:11), Andrew wrote:
> > They're in the CVS repository.  Do a "cvs diff -c" before and after
> > the code was added to the file, and you'll get my diffs.  8-).
> 
> Perhaps the stuff at the bottom of defaults/rc.conf needs to be in a
> seperate file (like read_rc_conf.sh) with another line or 2 to read in
> defaults/rc.conf first.
> 
> That way shell scripts needing to parse rc.conf call upon a tool to do it
> in the same way as C programs are having to. From that point on rc.conf
> can be key=value pairs only.
> 
> Would this solve everyones problems or am I overlookign something?
> with "unsubscribe freebsd-hackers" in the body of the message

I've proposed this before (in January 2000), including code to replace
all the 'sh' usages of it.  Didn't write the tokeniser for C, though.

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=48338+0+archive/2000/freebsd-hackers/20001008.freebsd-hackers

I got one "go ahead", but a "I don't see the point" from the
then-pseudo-maintainer of the rc stuff.

Neil
-- 
Neil Blakey-Milner
nbm@mithrandr.moria.org

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030103082422.GA61889>