Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 02:23:15 +0400 (MSD)
From:      Nguyen Tam Chinh <chinhngt@sectorb.msk.ru>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: C code for parsing rc.conf?
Message-ID:  <20040415021631.N1878@chinhngt.b.gz.ru>
In-Reply-To: <20040414215601.GA3923@crodrigues.org>
References:  <20040414215601.GA3923@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Apr 2004, Craig Rodrigues wrote:

> Hi,
>
> Is there a C library that comes with FreeBSD which
> can be used to parse, append to, and validate
> rc.conf?
>
> I'd like to customize some of the settings in /etc/rc.conf
> with my own GUI-based program.  It's not too hard
> to write something on my own, but I was wondering
> if a reusable library existed in FreeBSD 4.x or 5.x for doing this.
>

rc.conf is parsed/executed by scripts in /etc/rc*. With your GUI program,
simply take and change these scripts.

-----
With best regards,		|		The Power to Serve
Nguyen Tam Chinh		|     	      	http://www.FreeBSD.org



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