C code for parsing rc.conf?

From: Craig Rodrigues (rodrigc_at_crodrigues.org)
Date: 04/14/04

  • Next message: Nguyen Tam Chinh: "Re: C code for parsing rc.conf?"
    Date: Wed, 14 Apr 2004 17:56:01 -0400
    To: freebsd-hackers@freebsd.org
    
    

    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.

    Thanks.

    -- 
    Craig Rodrigues        
    http://crodrigues.org
    rodrigc@crodrigues.org
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Nguyen Tam Chinh: "Re: C code for parsing rc.conf?"

    Relevant Pages

    • Re: C code for parsing rc.conf?
      ... On Wed, 14 Apr 2004, Craig Rodrigues wrote: ... > Is there a C library that comes with FreeBSD which ... > can be used to parse, append to, and validate ...
      (freebsd-hackers)
    • Re: oflag option in GNU dd - equivalent in FreeBSD dd ?
      ... FreeBSD 'dd' does not understand the ... "oflag" argument. ... Is there some equivalent in the FreeBSD 'dd' syntax ... assumed that he also wouldn't want the shell to append the data ...
      (freebsd-questions)
    • How to customize a release?
      ... I'm looking for information on how to properly customize a FreeBSD ... to modify some config files to default to serial console and fast baud ...
      (freebsd-hackers)
    • Re: FreeBSD Patch question
      ... >My intention is to apply the patches as instructed in the advisories. ... I'll resolve my issues with pgp so that I can validate the files first, then apply them one at a time. ... advise people running production servers to run the -STABLE branch. ... The most stable FreeBSD ...
      (FreeBSD-Security)
    • Customizing a "release"
      ... I'm looking for information on how to properly customize a FreeBSD ... attempts to include a custom kernel in my own release, ... never makes it's way into the staging area (i.e. ftp distribution). ...
      (freebsd-questions)