diff options
author | Chris Johns <chrisj@rtems.org> | 2016-05-18 13:49:17 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-05-18 13:49:17 +1000 |
commit | f5c6651da8c716965c052ae00624a143bb6027e5 (patch) | |
tree | ac5bf8341c82f9b31845f2655596648eab28b25c /libbsd.txt | |
parent | Get rtems_waf fix for command expansion. (diff) | |
download | rtems-libbsd-f5c6651da8c716965c052ae00624a143bb6027e5.tar.bz2 |
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.
Diffstat (limited to 'libbsd.txt')
0 files changed, 0 insertions, 0 deletions