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

Richard W.M. Jones rjones at redhat.com
Thu Nov 18 09:39:53 UTC 2010


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.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
-------------- next part --------------

# -- sysinstall generated deltas -- # Sat Nov 13 07:18:04 2010
# Created: Sat Nov 13 07:18:04 2010
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="freebsd8x64.home.annexia.org"
ifconfig_re0="DHCP"
keymap="uk.iso"
sshd_enable="YES"


More information about the augeas-devel mailing list