[augeas-devel] FreeBSD /etc/rc.conf

Raphaël Pinson raphink at gmail.com
Thu Nov 18 09:55:38 UTC 2010


Hi Rich,

On Thu, Nov 18, 2010 at 10:39 AM, Richard W.M. Jones <rjones at redhat.com>wrote:

> Has anyone parsed /etc/rc.conf on FreeBSD?
>
> It's very simple -- a list of key=value pairs meant to be parsed by
> the shell -- and so I imagine that Augeas already has a generic lens
> to handle this.
>
> I've attached an example.  Note that the keys listed in the example
> are not exclusive.  There are many different keys possible in this
> file.
>
>
You can certainly use shellvars.aug to parse this file. Add /etc/rc.conf
to filter_misc in shellvars.aug, see if it works and send the patch.


Raphaël
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20101118/a68a10a9/attachment.htm>


More information about the augeas-devel mailing list