C code for parsing rc.conf?
Nguyen Tam Chinh
chinhngt at sectorb.msk.ru
Wed Apr 14 15:23:08 PDT 2004
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
More information about the freebsd-hackers
mailing list