freebsd-nq/usr.sbin/bsdconfig
Devin Teske 1da51566d5 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.
2013-07-05 20:13:00 +00:00
..
console More whitespace. 2013-06-24 20:58:54 +00:00
diskmgmt More whitespace. 2013-06-24 20:58:54 +00:00
docsinstall More whitespace. 2013-06-24 20:58:54 +00:00
dot More whitespace. 2013-06-24 20:58:54 +00:00
examples Oops, r252810 forgot to hook the new example file (browse_packages.sh) into 2013-07-05 18:50:17 +00:00
include Add the necessary code to uninstall packages (re-install still pending). 2013-07-05 06:52:07 +00:00
mouse More whitespace. 2013-06-24 20:58:54 +00:00
networking Use f_show_msg() instead of f_dialog_msgbox() where appropriate. The main 2013-07-05 16:00:01 +00:00
packages More whitespace. 2013-06-24 20:58:54 +00:00
password Use f_show_msg() instead of f_dialog_msgbox() where appropriate. The main 2013-07-05 16:00:01 +00:00
security More whitespace. 2013-06-24 20:58:54 +00:00
share Add support for processing add-on modules from /usr/local/libexec/bsdconfig 2013-07-05 20:13:00 +00:00
startup Use f_show_msg() instead of f_dialog_msgbox() where appropriate. The main 2013-07-05 16:00:01 +00:00
timezone More whitespace. 2013-06-24 20:58:54 +00:00
ttys More whitespace. 2013-06-24 20:58:54 +00:00
usermgmt Use f_show_msg() instead of f_dialog_msgbox() where appropriate. The main 2013-07-05 16:00:01 +00:00
bsdconfig Add support for processing add-on modules from /usr/local/libexec/bsdconfig 2013-07-05 20:13:00 +00:00
bsdconfig.8 Adhere to 80-column width. 2013-07-05 18:31:26 +00:00
Makefile Commit first portion of package module -- this includes the ability to view 2013-05-07 05:40:20 +00:00
USAGE Add new flags -d' (sets debug=1) and -D file' (sets debugFile) and 2013-04-22 05:02:34 +00:00