Changeset f5c6651 in rtems-libbsd for rtemsbsd/include

Timestamp:
05/18/16 03:49:17 (8 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, 5-freebsd-12, 388d46bb1b3080402c68ae11d14b2b36c3138952, freebsd-9.3, 89db1bb27c9d52164a78dc2fda0a2ba9da0920ef
Children:
c67debb
Parents:
ac7b68c
Message:

Add support for rc.conf(5) initialisation.

Provide user support for rc.conf(5) so a user can create a suitable
/etc/rc.conf file to initialise libbsd.

This patch by default adds basic networking support:

cloned_interfaces
ifconfig_'interface'
defaultrouter
hostname

Refer to FreeBSD documentation for examples.

Users can make a single call to have /etc/rc.conf processed, or pass a
file name to a specific configuration file or a text string with line
feeds can be passed to the scripting version of the interface.

The rc.conf support is implemented in terms of directive handlers that
are called based on a regular expression. The design allows new handlers
to be added as needed.

Line concatenation is still to be implemented.

(No files)

Note: See TracChangeset for help on using the changeset viewer.