Hi Rich,

On Thu, Nov 18, 2010 at 10:39 AM, Richard W.M. Jones <[email protected]>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
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to