diff options
author | dteske <dteske@FreeBSD.org> | 2013-07-05 20:13:00 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-07-05 20:13:00 +0000 |
commit | 1122138bea1ef696aced661063bcd826ae614b5b (patch) | |
tree | 3805171dbbfe2fac5edde1642a65919543ebb07a /lib/libc/net/inet6_option_space.3 | |
parent | 66ac1c6e6758a9e0f1bdc441dc60c0ce17fbcb40 (diff) | |
download | FreeBSD-src-1122138bea1ef696aced661063bcd826ae614b5b.zip FreeBSD-src-1122138bea1ef696aced661063bcd826ae614b5b.tar.gz |
Add support for processing add-on modules from /usr/local/libexec/bsdconfig
(this is designed to allow new modules to be installed via ports/packages).
To prevent conflict with itself (sysutils/bsdconfig) as a port (which
installs its base modules to the above directory, it was long-ago decided
that so-called `base' modules would look different than now-defined `add-on'
modules. The structure of the contents for each is the same, but the naming
convention for the module directory must be different.
Base modules are named `[0-9][0-9][0-9].*' to allow SysV-style organization
while add-on modules must avoid this naming style and are simply listed in
alphabetical order by their module directory.
For example, a hypothetical port named `bsdconfig-jails' could install
/usr/local/libexec/bsdconfig/jails and provide `bsdconfig jails' as well as
a new menu entry in the main-menu.
Add-on modules are listed in the main-menu (when bsdconfig is executed with-
out arguments) below a separator after the last base-module.
In `bsdconfig -h' output, add-on modules are listed right alongside base
modules (sorted alphabetically in columnar fashion; left-to-right).
If a base module declares a keyword used by an add-on module, the base
module will always win when given `bsdconfig keyword' syntax.
Add-on modules should avoid declaring any keyword found in `script.subr' as
a reserved-word (`Resword') since bsdconfig also supports `bsdconfig resword'
as a fall-back if no keyword is found to be declared by any module.
Diffstat (limited to 'lib/libc/net/inet6_option_space.3')
0 files changed, 0 insertions, 0 deletions