summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/machine/rtems-bsd-rc-conf.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor rc.conf processing to be services based.Chris Johns2016-06-271-40/+21
|
* rtems-bsd-rc-conf.h: Add missing includeSebastian Huber2016-05-301-0/+2
|
* Clean up whitespace.Chris Johns2016-05-181-7/+7
|
* Add support for rc.conf(5) initialisation.Chris Johns2016-05-181-0/+99
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.