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

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 2 Jan 2003, Terry Lambert 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?

Andrew


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?20030103131453.K69183-100000>