update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug
SVN-Revision: 3587
This commit is contained in:
parent
2ac4ac0fca
commit
e4b534024d
16 changed files with 1011 additions and 264 deletions
|
@ -8,6 +8,8 @@ config BUSYBOX_HAVE_DOT_CONFIG
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
menu "Busybox Settings"
|
||||||
|
|
||||||
menu "General Configuration"
|
menu "General Configuration"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
|
@ -79,10 +81,12 @@ config BUSYBOX_CONFIG_FEATURE_CLEAN_UP
|
||||||
bool "Clean up all memory before exiting (usually not needed)"
|
bool "Clean up all memory before exiting (usually not needed)"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
As a size optimization, busybox by default does not cleanup memory
|
As a size optimization, busybox normally exits without explicitly
|
||||||
that is dynamically allocated or close files before exiting. This
|
freeing dynamically allocated memory or closing files. This saves
|
||||||
saves space and is usually not needed since the OS will clean up for
|
space since the OS will clean up for us, but it can confuse debuggers
|
||||||
us. Don't enable this unless you have a really good reason to clean
|
like valgrind, which report tons of memory and resource leaks.
|
||||||
|
|
||||||
|
Don't enable this unless you have a really good reason to clean
|
||||||
things up manually.
|
things up manually.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_SUID
|
config BUSYBOX_CONFIG_FEATURE_SUID
|
||||||
|
@ -112,6 +116,13 @@ config BUSYBOX_CONFIG_FEATURE_SUID_CONFIG
|
||||||
|
|
||||||
cp = --- # disable applet cp for everyone
|
cp = --- # disable applet cp for everyone
|
||||||
|
|
||||||
|
The file has to be owned by user root, group root and has to be
|
||||||
|
writeable only by root:
|
||||||
|
(chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
|
||||||
|
The busybox executable has to be owned by user root, group
|
||||||
|
root and has to be setuid root for this to work:
|
||||||
|
(chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
|
||||||
|
|
||||||
Robert 'sandman' Griebl has more information here:
|
Robert 'sandman' Griebl has more information here:
|
||||||
<url: http://www.softforge.de/bb/suid.html >.
|
<url: http://www.softforge.de/bb/suid.html >.
|
||||||
|
|
||||||
|
@ -156,6 +167,48 @@ config BUSYBOX_CONFIG_STATIC
|
||||||
|
|
||||||
Most people will leave this set to 'N'.
|
Most people will leave this set to 'N'.
|
||||||
|
|
||||||
|
# The busybox shared library feature is there so make standalone can produce
|
||||||
|
# smaller applets. Since make standalone isn't in yet, there's nothing using
|
||||||
|
# this yet, and so it's disabled.
|
||||||
|
config BUSYBOX_CONFIG_DISABLE_SHARED
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_BUILD_LIBBUSYBOX
|
||||||
|
bool "Build shared libbusybox"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_DISABLE_SHARED
|
||||||
|
help
|
||||||
|
Build a shared library libbusybox.so which contains all
|
||||||
|
libraries used inside busybox.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_FULL_LIBBUSYBOX
|
||||||
|
bool "Feature-complete libbusybox"
|
||||||
|
default n if !CONFIG_FEATURE_SHARED_BUSYBOX
|
||||||
|
depends on BUSYBOX_CONFIG_BUILD_LIBBUSYBOX
|
||||||
|
help
|
||||||
|
Build a libbusybox with the complete feature-set, disregarding
|
||||||
|
the actually selected config.
|
||||||
|
|
||||||
|
Normally, libbusybox will only contain the features which are
|
||||||
|
used by busybox itself. If you plan to write a separate
|
||||||
|
standalone application which uses libbusybox say 'Y'.
|
||||||
|
|
||||||
|
Note: libbusybox is GPL, not LGPL, and exports no stable API that
|
||||||
|
might act as a copyright barrier. We can and will modify the
|
||||||
|
exported function set between releases (even minor version number
|
||||||
|
changes), and happily break out-of-tree features.
|
||||||
|
|
||||||
|
Say 'N' if in doubt.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_SHARED_BUSYBOX
|
||||||
|
bool "Use shared libbusybox for busybox"
|
||||||
|
default n if BUSYBOX_CONFIG_BUILD_LIBBUSYBOX
|
||||||
|
depends on !CONFIG_STATIC && BUSYBOX_CONFIG_BUILD_LIBBUSYBOX
|
||||||
|
help
|
||||||
|
Use libbusybox.so also for busybox itself.
|
||||||
|
You need to have a working dynamic linker to use this variant.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_LFS
|
config BUSYBOX_CONFIG_LFS
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@ -195,43 +248,27 @@ config BUSYBOX_EXTRA_CFLAGS_OPTIONS
|
||||||
if you want to add some simple compiler switches (like -march=i686),
|
if you want to add some simple compiler switches (like -march=i686),
|
||||||
or check for warnings using -Werror, just those options here.
|
or check for warnings using -Werror, just those options here.
|
||||||
|
|
||||||
endmenu
|
config BUSYBOX_CONFIG_BUILD_AT_ONCE
|
||||||
|
bool "Compile all sources at once"
|
||||||
menu 'Installation Options'
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_INSTALL_NO_USR
|
|
||||||
bool "Don't use /usr"
|
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Disable use of /usr. Don't activate this option if you don't know
|
Normally each source-file is compiled with one invocation of
|
||||||
that you really want this behaviour.
|
the compiler.
|
||||||
|
If you set this option, all sources are compiled at once.
|
||||||
|
This gives the compiler more opportunities to optimize which can
|
||||||
|
result in smaller and/or faster binaries.
|
||||||
|
|
||||||
config BUSYBOX_PREFIX
|
Setting this option will consume alot of memory, e.g. if you
|
||||||
string
|
enable all applets with all features, gcc uses more than 300MB
|
||||||
default "./_install"
|
RAM during compilation of busybox.
|
||||||
help
|
|
||||||
Define your directory to install BusyBox files/subdirs in.
|
|
||||||
|
|
||||||
|
This option is most likely only beneficial for newer compilers
|
||||||
|
such as gcc-4.1 and above.
|
||||||
|
|
||||||
|
Say 'N' unless you know what you are doing.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
source package/busybox/config/archival/Config.in
|
|
||||||
source package/busybox/config/coreutils/Config.in
|
|
||||||
source package/busybox/config/console-tools/Config.in
|
|
||||||
source package/busybox/config/debianutils/Config.in
|
|
||||||
source package/busybox/config/editors/Config.in
|
|
||||||
source package/busybox/config/findutils/Config.in
|
|
||||||
source package/busybox/config/init/Config.in
|
|
||||||
source package/busybox/config/loginutils/Config.in
|
|
||||||
source package/busybox/config/miscutils/Config.in
|
|
||||||
source package/busybox/config/modutils/Config.in
|
|
||||||
source package/busybox/config/networking/Config.in
|
|
||||||
source package/busybox/config/procps/Config.in
|
|
||||||
source package/busybox/config/shell/Config.in
|
|
||||||
source package/busybox/config/sysklogd/Config.in
|
|
||||||
source package/busybox/config/util-linux/Config.in
|
|
||||||
|
|
||||||
menu 'Debugging Options'
|
menu 'Debugging Options'
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_DEBUG
|
config BUSYBOX_CONFIG_DEBUG
|
||||||
|
@ -288,6 +325,82 @@ config BUSYBOX_CONFIG_EFENCE
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_DEBUG_YANK_SUSv2
|
||||||
|
bool "Disable obsolete features removed before SUSv3?"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
This option will disable backwards compatability with SuSv2,
|
||||||
|
specifically, old-style numeric options ('command -1 <file>')
|
||||||
|
will not be supported in head, tail, and fold. (Note: should
|
||||||
|
yank from renice too.)
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
menu 'Installation Options'
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_INSTALL_NO_USR
|
||||||
|
bool "Don't use /usr"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Disable use of /usr. Don't activate this option if you don't know
|
||||||
|
that you really want this behaviour.
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Applets links"
|
||||||
|
default BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS
|
||||||
|
help
|
||||||
|
Choose how you install applets links.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS
|
||||||
|
bool "as soft-links"
|
||||||
|
help
|
||||||
|
Install applets as soft-links to the busybox binary. This needs some
|
||||||
|
free inodes on the filesystem, but might help with filesystem
|
||||||
|
generators that can't cope with hard-links.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS
|
||||||
|
bool "as hard-links"
|
||||||
|
help
|
||||||
|
Install applets as hard-links to the busybox binary. This might count
|
||||||
|
on a filesystem with few inodes.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_INSTALL_APPLET_DONT
|
||||||
|
bool
|
||||||
|
prompt "not installed"
|
||||||
|
depends on BUSYBOX_CONFIG_FEATURE_INSTALLER || BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL
|
||||||
|
help
|
||||||
|
Do not install applets links. Usefull when using the -install feature
|
||||||
|
or a standalone shell for rescue pruposes.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config BUSYBOX_PREFIX
|
||||||
|
string
|
||||||
|
default "./_install"
|
||||||
|
help
|
||||||
|
Define your directory to install BusyBox files/subdirs in.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
source package/busybox/config/libbb/Config.in
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
comment "Applets"
|
||||||
|
|
||||||
|
source package/busybox/config/archival/Config.in
|
||||||
|
source package/busybox/config/coreutils/Config.in
|
||||||
|
source package/busybox/config/console-tools/Config.in
|
||||||
|
source package/busybox/config/debianutils/Config.in
|
||||||
|
source package/busybox/config/editors/Config.in
|
||||||
|
source package/busybox/config/findutils/Config.in
|
||||||
|
source package/busybox/config/init/Config.in
|
||||||
|
source package/busybox/config/loginutils/Config.in
|
||||||
|
source package/busybox/config/e2fsprogs/Config.in
|
||||||
|
source package/busybox/config/modutils/Config.in
|
||||||
|
source package/busybox/config/util-linux/Config.in
|
||||||
|
source package/busybox/config/miscutils/Config.in
|
||||||
|
source package/busybox/config/networking/Config.in
|
||||||
|
source package/busybox/config/procps/Config.in
|
||||||
|
source package/busybox/config/shell/Config.in
|
||||||
|
source package/busybox/config/sysklogd/Config.in
|
||||||
|
|
|
@ -165,6 +165,14 @@ config BUSYBOX_CONFIG_FEATURE_TAR_BZIP2
|
||||||
If you enable this option you'll be able to extract
|
If you enable this option you'll be able to extract
|
||||||
archives compressed with bzip2.
|
archives compressed with bzip2.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_TAR_LZMA
|
||||||
|
bool " Enable -a option to handle .tar.lzma files"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_TAR
|
||||||
|
help
|
||||||
|
If you enable this option you'll be able to extract
|
||||||
|
archives compressed with lzma.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_TAR_FROM
|
config BUSYBOX_CONFIG_FEATURE_TAR_FROM
|
||||||
bool " Enable -X (exclude from) and -T (include from) options)"
|
bool " Enable -X (exclude from) and -T (include from) options)"
|
||||||
default y
|
default y
|
||||||
|
@ -220,6 +228,29 @@ config BUSYBOX_CONFIG_UNCOMPRESS
|
||||||
uncompress is used to decompress archives created by compress.
|
uncompress is used to decompress archives created by compress.
|
||||||
Not much used anymore, replaced by gzip/gunzip.
|
Not much used anymore, replaced by gzip/gunzip.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_UNLZMA
|
||||||
|
bool "unlzma"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
unlzma is a compression utility using the Lempel-Ziv-Markov chain
|
||||||
|
compression algorithm, and range coding. Compression
|
||||||
|
is generally considerably better than that achieved by the bzip2
|
||||||
|
compressors.
|
||||||
|
|
||||||
|
The BusyBox unlzma applet is limited to de-compression only.
|
||||||
|
On an x86 system, this applet adds about 4K.
|
||||||
|
|
||||||
|
Unless you have a specific application which requires unlzma, you
|
||||||
|
should probably say N here.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
|
||||||
|
bool " Optimze unlzma for speed"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_UNLZMA
|
||||||
|
help
|
||||||
|
This option reduce decompression time by about 33% at the cost of
|
||||||
|
a 2K bigger binary.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_UNZIP
|
config BUSYBOX_CONFIG_UNZIP
|
||||||
bool "unzip"
|
bool "unzip"
|
||||||
default n
|
default n
|
||||||
|
@ -263,4 +294,15 @@ config BUSYBOX_CONFIG_FEATURE_DEB_TAR_BZ2
|
||||||
You only want this if you are creating your own custom debian packages that
|
You only want this if you are creating your own custom debian packages that
|
||||||
use an internal control.tar.bz2 or data.tar.bz2.
|
use an internal control.tar.bz2 or data.tar.bz2.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA
|
||||||
|
bool " lzma debian packages"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB
|
||||||
|
help
|
||||||
|
This allows dpkg and dpkg-deb to extract deb's that are compressed
|
||||||
|
internally with lzma instead of gzip.
|
||||||
|
|
||||||
|
You only want this if you are creating your own custom debian
|
||||||
|
packages that use an internal control.tar.lzma or data.tar.lzma.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -58,6 +58,13 @@ config BUSYBOX_CONFIG_RESET
|
||||||
This program is used to reset the terminal screen, if it
|
This program is used to reset the terminal screen, if it
|
||||||
gets messed up.
|
gets messed up.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_SETCONSOLE
|
||||||
|
bool "setconsole"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This program redirects the system console to another device,
|
||||||
|
like the current tty while logged in via telnet.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_SETKEYCODES
|
config BUSYBOX_CONFIG_SETKEYCODES
|
||||||
bool "setkeycodes"
|
bool "setkeycodes"
|
||||||
default n
|
default n
|
||||||
|
|
|
@ -59,6 +59,13 @@ config BUSYBOX_CONFIG_CMP
|
||||||
cmp is used to compare two files and returns the result
|
cmp is used to compare two files and returns the result
|
||||||
to standard output.
|
to standard output.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_COMM
|
||||||
|
bool "comm"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
comm is used to compare two files line by line and return
|
||||||
|
a three-column output.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_CP
|
config BUSYBOX_CONFIG_CP
|
||||||
bool "cp"
|
bool "cp"
|
||||||
default y
|
default y
|
||||||
|
@ -72,20 +79,12 @@ config BUSYBOX_CONFIG_CUT
|
||||||
cut is used to print selected parts of lines from
|
cut is used to print selected parts of lines from
|
||||||
each file to stdout.
|
each file to stdout.
|
||||||
|
|
||||||
if BUSYBOX_CONFIG_WATCH
|
config BUSYBOX_CONFIG_DATE
|
||||||
config BUSYBOX_CONFIG_DATE
|
bool "date"
|
||||||
default y
|
default y
|
||||||
comment "date (forced enabled for use with watch)"
|
help
|
||||||
endif
|
date is used to set the system date or display the
|
||||||
|
current time in the given format.
|
||||||
if !CONFIG_WATCH
|
|
||||||
config BUSYBOX_CONFIG_DATE
|
|
||||||
bool "date"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
date is used to set the system date or display the
|
|
||||||
current time in the given format.
|
|
||||||
endif
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
|
config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
|
||||||
bool " Enable ISO date format output (-I)"
|
bool " Enable ISO date format output (-I)"
|
||||||
|
@ -144,11 +143,12 @@ config BUSYBOX_CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K
|
||||||
Use a blocksize of (1K) instead of the default 512b.
|
Use a blocksize of (1K) instead of the default 512b.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_ECHO
|
config BUSYBOX_CONFIG_ECHO
|
||||||
bool "echo (basic SUSv3 version taking no options)"
|
bool "echo (basic SuSv3 version taking no options)"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
echo is used to print a specified string to stdout.
|
echo is used to print a specified string to stdout.
|
||||||
|
|
||||||
|
# this entry also appears in shell/Config.in, next to the echo builtin
|
||||||
config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
|
config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
|
||||||
bool " Enable echo options (-n and -e)"
|
bool " Enable echo options (-n and -e)"
|
||||||
default y
|
default y
|
||||||
|
@ -171,19 +171,20 @@ config BUSYBOX_CONFIG_EXPR
|
||||||
expr is used to calculate numbers and print the result
|
expr is used to calculate numbers and print the result
|
||||||
to standard output.
|
to standard output.
|
||||||
|
|
||||||
if BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH
|
config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
|
||||||
config BUSYBOX_CONFIG_FALSE
|
bool " Extend Posix numbers support to 64 bit"
|
||||||
default y
|
default n
|
||||||
comment "false (forced enabled for use with shell)"
|
depends on BUSYBOX_CONFIG_EXPR
|
||||||
endif
|
help
|
||||||
|
Enable 64-bit math support in the expr applet. This will make
|
||||||
|
the applet slightly larger, but will allow computation with very
|
||||||
|
large numbers.
|
||||||
|
|
||||||
if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
|
config BUSYBOX_CONFIG_FALSE
|
||||||
config BUSYBOX_CONFIG_FALSE
|
bool "false"
|
||||||
bool "false"
|
default y
|
||||||
default y
|
help
|
||||||
help
|
false returns an exit code of FALSE (1).
|
||||||
false returns an exit code of FALSE (1).
|
|
||||||
endif
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FOLD
|
config BUSYBOX_CONFIG_FOLD
|
||||||
bool "fold"
|
bool "fold"
|
||||||
|
@ -291,11 +292,22 @@ config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
|
||||||
Allow ls to display username/groupname for files.
|
Allow ls to display username/groupname for files.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_LS_COLOR
|
config BUSYBOX_CONFIG_FEATURE_LS_COLOR
|
||||||
bool " Use color to identify file types"
|
bool " Allow use of color to identify file types"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_LS
|
depends on BUSYBOX_CONFIG_LS
|
||||||
help
|
help
|
||||||
Allow ls to use color when displaying files.
|
This enables the --color option to ls.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
|
||||||
|
bool " Produce colored ls output by default"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
|
||||||
|
help
|
||||||
|
Saying yes here will turn coloring on by default,
|
||||||
|
even if no "--color" option is given to the ls command.
|
||||||
|
This is not recommended, since the colors are not
|
||||||
|
configurable, and the output may not be legible on
|
||||||
|
many output screens.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MD5SUM
|
config BUSYBOX_CONFIG_MD5SUM
|
||||||
bool "md5sum"
|
bool "md5sum"
|
||||||
|
@ -329,12 +341,30 @@ config BUSYBOX_CONFIG_MV
|
||||||
help
|
help
|
||||||
mv is used to move or rename files or directories.
|
mv is used to move or rename files or directories.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_NICE
|
||||||
|
bool "nice"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
nice runs a program with modified scheduling priority.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_NOHUP
|
||||||
|
bool "nohup"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
run a command immune to hangups, with output to a non-tty.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_OD
|
config BUSYBOX_CONFIG_OD
|
||||||
bool "od"
|
bool "od"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
od is used to dump binary files in octal and other formats.
|
od is used to dump binary files in octal and other formats.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_PRINTENV
|
||||||
|
bool "printenv"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
printenv is used to print all or part of environment.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_PRINTF
|
config BUSYBOX_CONFIG_PRINTF
|
||||||
bool "printf"
|
bool "printf"
|
||||||
default y
|
default y
|
||||||
|
@ -398,12 +428,45 @@ config BUSYBOX_CONFIG_SORT
|
||||||
help
|
help
|
||||||
sort is used to sort lines of text in specified files.
|
sort is used to sort lines of text in specified files.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_SORT_BIG
|
||||||
|
bool " full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_SORT
|
||||||
|
help
|
||||||
|
Without this, sort only supports -r, -u, and an integer version
|
||||||
|
of -n. Selecting this adds sort keys, floating point support, and
|
||||||
|
more. This adds a little over 3k to a nonstatic build on x86.
|
||||||
|
|
||||||
|
The SuSv3 sort standard is available at:
|
||||||
|
http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_STAT
|
||||||
|
bool "stat"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
display file or filesystem status.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
|
||||||
|
bool " Enable custom formats (-c)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_STAT
|
||||||
|
help
|
||||||
|
Without this, stat will not support the '-c format' option where
|
||||||
|
users can pass a custom format string for output. This adds about
|
||||||
|
7k to a nonstatic build on amd64.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_STTY
|
config BUSYBOX_CONFIG_STTY
|
||||||
bool "stty"
|
bool "stty"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
stty is used to change and print terminal line settings.
|
stty is used to change and print terminal line settings.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_SUM
|
||||||
|
bool "sum"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
checksum and count the blocks in a file
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_SYNC
|
config BUSYBOX_CONFIG_SYNC
|
||||||
bool "sync"
|
bool "sync"
|
||||||
default y
|
default y
|
||||||
|
@ -439,21 +502,13 @@ config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
|
||||||
help
|
help
|
||||||
Enable this option for a faster tee, at expense of size.
|
Enable this option for a faster tee, at expense of size.
|
||||||
|
|
||||||
if BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH
|
config BUSYBOX_CONFIG_TEST
|
||||||
config BUSYBOX_CONFIG_TEST
|
bool "test"
|
||||||
default y
|
default y
|
||||||
comment "test (forced enabled for use with shell)"
|
help
|
||||||
endif
|
test is used to check file types and compare values,
|
||||||
|
returning an appropriate exit code. The shells (ash
|
||||||
if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
|
and bash) have test builtin.
|
||||||
config BUSYBOX_CONFIG_TEST
|
|
||||||
bool "test"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
test is used to check file types and compare values,
|
|
||||||
returning an appropriate exit code. The shells (ash
|
|
||||||
and bash) have test builtin.
|
|
||||||
endif
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_TEST_64
|
config BUSYBOX_CONFIG_FEATURE_TEST_64
|
||||||
bool " Extend test to 64 bit"
|
bool " Extend test to 64 bit"
|
||||||
|
@ -476,20 +531,30 @@ config BUSYBOX_CONFIG_TR
|
||||||
tr is used to squeeze, and/or delete characters from standard
|
tr is used to squeeze, and/or delete characters from standard
|
||||||
input, writing to standard output.
|
input, writing to standard output.
|
||||||
|
|
||||||
if BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH
|
config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
|
||||||
config BUSYBOX_CONFIG_TRUE
|
bool " Enable character classes (such as [:upper:])"
|
||||||
default y
|
default n
|
||||||
comment "true (forced enabled for use with shell)"
|
depends on BUSYBOX_CONFIG_TR
|
||||||
endif
|
help
|
||||||
|
Enable character classes, enabling commands such as:
|
||||||
|
tr [:upper:] [:lower:] to convert input into lowercase.
|
||||||
|
|
||||||
if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
|
config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
|
||||||
config BUSYBOX_CONFIG_TRUE
|
bool " Enable equivalence classes"
|
||||||
bool "true"
|
default n
|
||||||
default y
|
depends on BUSYBOX_CONFIG_TR
|
||||||
help
|
help
|
||||||
true returns an exit code of TRUE (0).
|
Enable equivalence classes, which essentially add the enclosed
|
||||||
|
character to the current set. For instance, tr [=a=] xyz would
|
||||||
|
replace all instances of 'a' with 'xyz'. This option is mainly
|
||||||
|
useful for cases when no other way of expressing a character
|
||||||
|
is possible.
|
||||||
|
|
||||||
endif
|
config BUSYBOX_CONFIG_TRUE
|
||||||
|
bool "true"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
true returns an exit code of TRUE (0).
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_TTY
|
config BUSYBOX_CONFIG_TTY
|
||||||
bool "tty"
|
bool "tty"
|
||||||
|
@ -531,6 +596,7 @@ config BUSYBOX_CONFIG_UUENCODE
|
||||||
config BUSYBOX_CONFIG_WATCH
|
config BUSYBOX_CONFIG_WATCH
|
||||||
bool "watch"
|
bool "watch"
|
||||||
default n
|
default n
|
||||||
|
select BUSYBOX_CONFIG_DATE
|
||||||
help
|
help
|
||||||
watch is used to execute a program periodically, showing
|
watch is used to execute a program periodically, showing
|
||||||
output to the screen.
|
output to the screen.
|
||||||
|
@ -545,7 +611,7 @@ config BUSYBOX_CONFIG_WC
|
||||||
config BUSYBOX_CONFIG_WHO
|
config BUSYBOX_CONFIG_WHO
|
||||||
bool "who"
|
bool "who"
|
||||||
default n
|
default n
|
||||||
select BUSYBOX_CONFIG_FEATURE_U_W_TMP
|
select BUSYBOX_CONFIG_FEATURE_UTMP
|
||||||
help
|
help
|
||||||
who is used to show who is logged on.
|
who is used to show who is logged on.
|
||||||
|
|
||||||
|
@ -564,7 +630,7 @@ config BUSYBOX_CONFIG_YES
|
||||||
the default string `y'.
|
the default string `y'.
|
||||||
|
|
||||||
comment "Common options for cp and mv"
|
comment "Common options for cp and mv"
|
||||||
depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
|
depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
|
config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
|
||||||
bool " Preserve hard links"
|
bool " Preserve hard links"
|
||||||
|
@ -573,22 +639,22 @@ config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
|
||||||
help
|
help
|
||||||
Allow cp and mv to preserve hard links.
|
Allow cp and mv to preserve hard links.
|
||||||
|
|
||||||
comment "Common options for ls and more"
|
comment "Common options for ls, more and telnet"
|
||||||
depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE
|
depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH
|
config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH
|
||||||
bool " Calculate terminal & column widths"
|
bool " Calculate terminal & column widths"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE
|
depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
|
||||||
help
|
help
|
||||||
This option allows utilities such as 'ls' and 'more' to determine the
|
This option allows utilities such as 'ls', 'more' and 'telnet'
|
||||||
width of the screen, which can allow them to display additional text
|
to determine the width of the screen, which can allow them to
|
||||||
or avoid wrapping text onto the next line. If you leave this
|
display additional text or avoid wrapping text onto the next line.
|
||||||
disabled, your utilities will be especially primitive and will be
|
If you leave this disabled, your utilities will be especially
|
||||||
unable to determine the current screen width.
|
primitive and will be unable to determine the current screen width.
|
||||||
|
|
||||||
comment "Common options for df, du, ls"
|
comment "Common options for df, du, ls"
|
||||||
depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
|
depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
|
config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
|
||||||
bool " Support for human readable output (example 13k, 23M, 235G)"
|
bool " Support for human readable output (example 13k, 23M, 235G)"
|
||||||
|
@ -598,7 +664,7 @@ config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
|
||||||
Allow df, du, and ls to have human readable output.
|
Allow df, du, and ls to have human readable output.
|
||||||
|
|
||||||
comment "Common options for md5sum, sha1sum"
|
comment "Common options for md5sum, sha1sum"
|
||||||
depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
|
depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
|
config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
|
||||||
bool " Enable -c, -s and -w options"
|
bool " Enable -c, -s and -w options"
|
||||||
|
|
|
@ -24,6 +24,13 @@ config BUSYBOX_CONFIG_READLINK
|
||||||
This program reads a symbolic link and returns the name
|
This program reads a symbolic link and returns the name
|
||||||
of the file it points to
|
of the file it points to
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
|
||||||
|
bool " Enable canonicalization by following all symlinks (-f)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_READLINK
|
||||||
|
help
|
||||||
|
Enable the readlink option (-f).
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_RUN_PARTS
|
config BUSYBOX_CONFIG_RUN_PARTS
|
||||||
bool "run-parts"
|
bool "run-parts"
|
||||||
default n
|
default n
|
||||||
|
|
67
openwrt/package/busybox/config/e2fsprogs/Config.in
Normal file
67
openwrt/package/busybox/config/e2fsprogs/Config.in
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see scripts/kbuild/config-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
menu "Linux Ext2 FS Progs"
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_CHATTR
|
||||||
|
bool "chattr"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
chattr changes the file attributes on a second extended file system.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_E2FSCK
|
||||||
|
bool "e2fsck"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
e2fsck is used to check Linux second extended file systems (ext2fs).
|
||||||
|
e2fsck also supports ext2 filesystems countaining a journal (ext3).
|
||||||
|
The normal compat symlinks 'fsck.ext2' and 'fsck.ext3' are also
|
||||||
|
provided.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FSCK
|
||||||
|
bool "fsck"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
fsck is used to check and optionally repair one or more filesystems.
|
||||||
|
In actuality, fsck is simply a front-end for the various file system
|
||||||
|
checkers (fsck.fstype) available under Linux.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_LSATTR
|
||||||
|
bool "lsattr"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
lsattr lists the file attributes on a second extended file system.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_MKE2FS
|
||||||
|
bool "mke2fs"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
mke2fs is used to create an ext2/ext3 filesystem. The normal compat
|
||||||
|
symlinks 'mkfs.ext2' and 'mkfs.ext3' are also provided.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_TUNE2FS
|
||||||
|
bool "tune2fs"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
tune2fs allows the system administrator to adjust various tunable
|
||||||
|
filesystem parameters on Linux ext2/ext3 filesystems.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_E2LABEL
|
||||||
|
bool "e2label"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_TUNE2FS
|
||||||
|
help
|
||||||
|
e2label will display or change the filesystem label on the ext2
|
||||||
|
filesystem located on device.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FINDFS
|
||||||
|
bool "findfs"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_TUNE2FS
|
||||||
|
help
|
||||||
|
findfs will search the disks in the system looking for a filesystem
|
||||||
|
which has a label matching label or a UUID equal to uuid.
|
||||||
|
|
||||||
|
endmenu
|
|
@ -17,7 +17,15 @@ config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
|
||||||
depends on BUSYBOX_CONFIG_FIND
|
depends on BUSYBOX_CONFIG_FIND
|
||||||
help
|
help
|
||||||
Allow searching based on the modification time of
|
Allow searching based on the modification time of
|
||||||
files.
|
files, in days.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
|
||||||
|
bool " Enable modified time matching (-min) option"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_FIND
|
||||||
|
help
|
||||||
|
Allow searching based on the modification time of
|
||||||
|
files, in minutes.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_FIND_PERM
|
config BUSYBOX_CONFIG_FEATURE_FIND_PERM
|
||||||
bool " Enable permissions matching (-perm) option"
|
bool " Enable permissions matching (-perm) option"
|
||||||
|
@ -57,6 +65,14 @@ config BUSYBOX_CONFIG_FEATURE_FIND_INUM
|
||||||
help
|
help
|
||||||
Support the 'find -inum' option for searching by inode number.
|
Support the 'find -inum' option for searching by inode number.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
|
||||||
|
bool " Enable (-exec) option allowing execution of commands"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_FIND
|
||||||
|
help
|
||||||
|
Support the 'find -exec' option for executing commands based upon
|
||||||
|
the files matched.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_GREP
|
config BUSYBOX_CONFIG_GREP
|
||||||
bool "grep"
|
bool "grep"
|
||||||
default y
|
default y
|
||||||
|
@ -73,13 +89,13 @@ config BUSYBOX_CONFIG_FEATURE_GREP_EGREP_ALIAS
|
||||||
and various repetition operators.
|
and various repetition operators.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
|
config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS
|
||||||
bool " Alias fgrep to grep -f"
|
bool " Alias fgrep to grep -F"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_GREP
|
depends on BUSYBOX_CONFIG_GREP
|
||||||
help
|
help
|
||||||
fgrep sees the search pattern as a normal string rather than
|
fgrep sees the search pattern as a normal string rather than
|
||||||
regular expressions.
|
regular expressions.
|
||||||
grep -f is always builtin, this just creates the fgrep alias.
|
grep -F is always builtin, this just creates the fgrep alias.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
|
config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
|
||||||
bool " Enable before and after context flags (-A, -B and -C)"
|
bool " Enable before and after context flags (-A, -B and -C)"
|
||||||
|
|
|
@ -12,21 +12,32 @@ config BUSYBOX_CONFIG_INIT
|
||||||
init is the first program run when the system boots.
|
init is the first program run when the system boots.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_USE_INITTAB
|
config BUSYBOX_CONFIG_FEATURE_USE_INITTAB
|
||||||
bool " Support reading an inittab file?"
|
bool " Support reading an inittab file"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_INIT
|
depends on BUSYBOX_CONFIG_INIT
|
||||||
help
|
help
|
||||||
Allow init to read an inittab file when the system boot.
|
Allow init to read an inittab file when the system boot.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INITRD
|
config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY
|
||||||
bool " Support running init from within an initrd?"
|
bool " Support running commands with a controlling-tty"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INIT
|
depends on BUSYBOX_CONFIG_INIT
|
||||||
help
|
help
|
||||||
Allow init to be called from an initrd as linuxrc.
|
If this option is enabled a command starting with hyphen (-)
|
||||||
|
is run in its own session (setsid(2)) and possibly with a
|
||||||
|
controlling tty (TIOCSCTTY). This is not the traditional init
|
||||||
|
behavour, but is often what you want in an embedded system where
|
||||||
|
the console is only accessed during development or for maintenance.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET
|
||||||
|
bool " Be _extra_ quiet on boot"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_INIT
|
||||||
|
help
|
||||||
|
Prevent init from logging some messages to the console during boot.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
|
config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
|
||||||
bool " Support dumping core for child processes (debugging only)?"
|
bool " Support dumping core for child processes (debugging only)"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INIT
|
depends on BUSYBOX_CONFIG_INIT
|
||||||
help
|
help
|
||||||
|
@ -35,31 +46,24 @@ config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
|
||||||
core file sizes. If this option is disabled, processes
|
core file sizes. If this option is disabled, processes
|
||||||
will not generate any core files.
|
will not generate any core files.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET
|
|
||||||
bool " Should init be _extra_ quiet on boot?"
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_INITRD
|
||||||
|
bool " Support running init from within an initrd (not initramfs)"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INIT
|
depends on BUSYBOX_CONFIG_INIT
|
||||||
help
|
help
|
||||||
Prevent init from logging some messages to the console
|
Legacy support for running init under the old-style initrd. Allows
|
||||||
during boot.
|
the name linuxrc to act as init, and it doesn't assume init is PID 1.
|
||||||
|
|
||||||
|
This does not apply to initramfs, which runs /init as PID 1 and
|
||||||
|
requires no special support.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_HALT
|
config BUSYBOX_CONFIG_HALT
|
||||||
bool "halt"
|
bool "poweroff, halt, and reboot"
|
||||||
default n
|
|
||||||
help
|
|
||||||
Stop all processes and halt the system.
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_POWEROFF
|
|
||||||
bool "poweroff"
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
Stop all processes and (try to) power off the system.
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_REBOOT
|
|
||||||
bool "reboot"
|
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Stop all processes and reboot the system.
|
Stop all processes and either halt, reboot, or power off the system.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MESG
|
config BUSYBOX_CONFIG_MESG
|
||||||
bool "mesg"
|
bool "mesg"
|
||||||
|
@ -68,5 +72,9 @@ config BUSYBOX_CONFIG_MESG
|
||||||
Mesg controls access to your terminal by others. It is typically
|
Mesg controls access to your terminal by others. It is typically
|
||||||
used to allow or disallow other users to write to your terminal
|
used to allow or disallow other users to write to your terminal
|
||||||
|
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Stop all processes and (try to) power off the system.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
22
openwrt/package/busybox/config/libbb/Config.in
Normal file
22
openwrt/package/busybox/config/libbb/Config.in
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
#
|
||||||
|
# For a description of the syntax of this configuration file,
|
||||||
|
# see scripts/kbuild/config-language.txt.
|
||||||
|
#
|
||||||
|
|
||||||
|
menu "Busybox Library Tuning"
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED
|
||||||
|
int " MD5: Trade Bytes for Speed"
|
||||||
|
default 2
|
||||||
|
range 0 3
|
||||||
|
help
|
||||||
|
Trade binary size versus speed for the md5sum algorithm.
|
||||||
|
Approximate values running uClibc and hashing
|
||||||
|
linux-2.4.4.tar.bz2 were:
|
||||||
|
user times (sec) text size (386)
|
||||||
|
0 (fastest) 1.1 6144
|
||||||
|
1 1.4 5392
|
||||||
|
2 3.0 5088
|
||||||
|
3 (smallest) 5.1 4912
|
||||||
|
|
||||||
|
endmenu
|
|
@ -5,6 +5,33 @@
|
||||||
|
|
||||||
menu "Login/Password Management Utilities"
|
menu "Login/Password Management Utilities"
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
|
||||||
|
bool "Support for shadow passwords"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Build support for shadow password in /etc/shadow. This file is only
|
||||||
|
readable by root and thus the encrypted passwords are no longer
|
||||||
|
publicly readable.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_USE_BB_SHADOW
|
||||||
|
bool #" Use busybox shadow password functions"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
|
||||||
|
help
|
||||||
|
If you leave this disabled, busybox will use the system's shadow
|
||||||
|
password handling functions. And if you are using the GNU C library
|
||||||
|
(glibc), you will then need to install the /etc/nsswitch.conf
|
||||||
|
configuration file and the required /lib/libnss_* libraries in
|
||||||
|
order for the shadow password functions to work. This generally
|
||||||
|
makes your embedded system quite a bit larger.
|
||||||
|
|
||||||
|
Enabling this option will cause busybox to directly access the
|
||||||
|
system's /etc/shadow file when handling shadow passwords. This
|
||||||
|
makes your system smaller and I will get fewer emails asking about
|
||||||
|
how glibc NSS works). When this option is enabled, you will not be
|
||||||
|
able to use PAM to access shadow passwords from remote LDAP
|
||||||
|
password servers and whatnot.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_USE_BB_PWD_GRP
|
config BUSYBOX_CONFIG_USE_BB_PWD_GRP
|
||||||
bool "Use internal password and group functions rather than system functions"
|
bool "Use internal password and group functions rather than system functions"
|
||||||
default n
|
default n
|
||||||
|
@ -26,7 +53,6 @@ config BUSYBOX_CONFIG_USE_BB_PWD_GRP
|
||||||
|
|
||||||
If you enable this option, it will add about 1.5k to busybox.
|
If you enable this option, it will add about 1.5k to busybox.
|
||||||
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_ADDGROUP
|
config BUSYBOX_CONFIG_ADDGROUP
|
||||||
bool "addgroup"
|
bool "addgroup"
|
||||||
default n
|
default n
|
||||||
|
@ -57,14 +83,21 @@ config BUSYBOX_CONFIG_GETTY
|
||||||
help
|
help
|
||||||
getty lets you log in on a tty, it is normally invoked by init.
|
getty lets you log in on a tty, it is normally invoked by init.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_U_W_TMP
|
config BUSYBOX_CONFIG_FEATURE_UTMP
|
||||||
bool " Support utmp and wtmp files"
|
bool " Support utmp file"
|
||||||
depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO || BUSYBOX_CONFIG_LAST
|
depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
The files /var/run/utmp and /var/run/wtmp can be used to track when
|
The file /var/run/utmp is used to track who is currently logged in.
|
||||||
user's have logged into and logged out of the system, allowing programs
|
|
||||||
such as 'who' and 'last' to list who is currently logged in.
|
config BUSYBOX_CONFIG_FEATURE_WTMP
|
||||||
|
bool " Support wtmp file"
|
||||||
|
depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST
|
||||||
|
default n
|
||||||
|
select BUSYBOX_CONFIG_FEATURE_UTMP
|
||||||
|
help
|
||||||
|
The file /var/run/wtmp is used to track when user's have logged into
|
||||||
|
and logged out of the system.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_LOGIN
|
config BUSYBOX_CONFIG_LOGIN
|
||||||
bool "login"
|
bool "login"
|
||||||
|
@ -126,36 +159,5 @@ config BUSYBOX_CONFIG_VLOCK
|
||||||
Note that Busybox binary must be setuid root for this applet to
|
Note that Busybox binary must be setuid root for this applet to
|
||||||
work properly.
|
work properly.
|
||||||
|
|
||||||
comment "Common options for adduser, deluser, login, su"
|
|
||||||
depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_DELUSER || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
|
|
||||||
bool "Support for shadow passwords"
|
|
||||||
default n
|
|
||||||
depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_DELUSER || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU
|
|
||||||
help
|
|
||||||
Build support for shadow password in /etc/shadow. This file is only
|
|
||||||
readable by root and thus the encrypted passwords are no longer
|
|
||||||
publicly readable.
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_USE_BB_SHADOW
|
|
||||||
bool " Use busybox shadow password functions"
|
|
||||||
default n
|
|
||||||
depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
|
|
||||||
help
|
|
||||||
If you leave this disabled, busybox will use the system's shadow
|
|
||||||
password handling functions. And if you are using the GNU C library
|
|
||||||
(glibc), you will then need to install the /etc/nsswitch.conf
|
|
||||||
configuration file and the required /lib/libnss_* libraries in
|
|
||||||
order for the shadow password functions to work. This generally
|
|
||||||
makes your embedded system quite a bit larger.
|
|
||||||
|
|
||||||
Enabling this option will cause busybox to directly access the
|
|
||||||
system's /etc/shadow file when handling shadow passwords. This
|
|
||||||
makes your system smaller and I will get fewer emails asking about
|
|
||||||
how glibc NSS works). When this option is enabled, you will not be
|
|
||||||
able to use PAM to access shadow passwords from remote LDAP
|
|
||||||
password servers and whatnot.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,13 @@ config BUSYBOX_CONFIG_ADJTIMEX
|
||||||
Adjtimex reads and optionally sets adjustment parameters for
|
Adjtimex reads and optionally sets adjustment parameters for
|
||||||
the Linux clock adjustment algorithm.
|
the Linux clock adjustment algorithm.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_BBCONFIG
|
||||||
|
bool "bbconfig"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
The bbconfig applet will print the config file with which
|
||||||
|
busybox was built.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_CROND
|
config BUSYBOX_CONFIG_CROND
|
||||||
bool "crond"
|
bool "crond"
|
||||||
default y
|
default y
|
||||||
|
@ -37,6 +44,7 @@ config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
|
||||||
config BUSYBOX_CONFIG_CRONTAB
|
config BUSYBOX_CONFIG_CRONTAB
|
||||||
bool "crontab"
|
bool "crontab"
|
||||||
default y
|
default y
|
||||||
|
select BUSYBOX_CONFIG_FEATURE_SUID
|
||||||
help
|
help
|
||||||
Crontab manipulates the crontab for a particular user. Only
|
Crontab manipulates the crontab for a particular user. Only
|
||||||
the superuser may specify a different user and/or crontab directory.
|
the superuser may specify a different user and/or crontab directory.
|
||||||
|
@ -83,13 +91,66 @@ config BUSYBOX_CONFIG_DEVFSD_VERBOSE
|
||||||
help
|
help
|
||||||
Increases logging to stderr or syslog.
|
Increases logging to stderr or syslog.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_EJECT
|
||||||
|
bool "eject"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Used to eject cdroms. (defaults to /dev/cdrom)
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_LAST
|
config BUSYBOX_CONFIG_LAST
|
||||||
bool "last"
|
bool "last"
|
||||||
default n
|
default n
|
||||||
select BUSYBOX_CONFIG_FEATURE_U_W_TMP
|
select BUSYBOX_CONFIG_FEATURE_WTMP
|
||||||
help
|
help
|
||||||
'last' displays a list of the last users that logged into the system.
|
'last' displays a list of the last users that logged into the system.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_LESS
|
||||||
|
bool "less"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
'less' is a pager, meaning that it displays text files. It possesses
|
||||||
|
a wide array of features, and is an improvement over 'more'.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
|
||||||
|
bool " Enable bracket searching"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_LESS
|
||||||
|
help
|
||||||
|
This option adds the capability to search for matching left and right
|
||||||
|
brackets, facilitating programming.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
|
||||||
|
bool " Enable extra flags"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_LESS
|
||||||
|
help
|
||||||
|
The extra flags provided do the following:
|
||||||
|
|
||||||
|
The -M flag enables a more sophisticated status line.
|
||||||
|
The -m flag enables a simpler status line with a percentage.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
|
||||||
|
bool " Enable flag changes"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_LESS
|
||||||
|
help
|
||||||
|
This enables the ability to change command-line flags within
|
||||||
|
less itself.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
|
||||||
|
bool " Enable marks"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_LESS
|
||||||
|
help
|
||||||
|
Marks enable positions in a file to be stored for easy reference.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
|
||||||
|
bool " Enable regular expressions"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_LESS
|
||||||
|
help
|
||||||
|
Enable regular expressions, allowing complex file searches.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_HDPARM
|
config BUSYBOX_CONFIG_HDPARM
|
||||||
bool "hdparm"
|
bool "hdparm"
|
||||||
default n
|
default n
|
||||||
|
@ -152,10 +213,39 @@ config BUSYBOX_CONFIG_MAKEDEVS
|
||||||
bool "makedevs"
|
bool "makedevs"
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
'makedevs' is a utility used and created by the Linux Router Project.
|
'makedevs' is a utility used to create a batch of devices with
|
||||||
It creates a large number of device special files (/dev devices)
|
one command.
|
||||||
rather quickly, and can be considerably faster then running mknod a
|
.
|
||||||
zillion times.
|
There are two choices for command line behaviour, the interface
|
||||||
|
as used by LEAF/Linux Router Project, or a device table file.
|
||||||
|
.
|
||||||
|
'leaf' is traditionally what busybox follows, it allows multiple
|
||||||
|
devices of a particluar type to be created per command.
|
||||||
|
e.g. /dev/hda[0-9]
|
||||||
|
Device properties are passed as command line arguments.
|
||||||
|
.
|
||||||
|
'table' reads device properties from a file or stdin, allowing
|
||||||
|
a batch of unrelated devices to be makde with one command.
|
||||||
|
User/group names are allowed as an alternative to uid/gid.
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Choose makedevs behaviour"
|
||||||
|
depends BUSYBOX_CONFIG_MAKEDEVS
|
||||||
|
default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
|
||||||
|
bool "leaf"
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
||||||
|
bool "table"
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_MOUNTPOINT
|
||||||
|
bool "mountpoint"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
mountpoint checks if the directory is a mountpoint.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MT
|
config BUSYBOX_CONFIG_MT
|
||||||
bool "mt"
|
bool "mt"
|
||||||
|
@ -165,6 +255,15 @@ config BUSYBOX_CONFIG_MT
|
||||||
to advance or rewind a tape past a specified number of archive
|
to advance or rewind a tape past a specified number of archive
|
||||||
files on the tape.
|
files on the tape.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_RUNLEVEL
|
||||||
|
bool "runlevel"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
find the current and previous system runlevel.
|
||||||
|
|
||||||
|
This applet uses utmp but does not rely on busybox supporing
|
||||||
|
utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_RX
|
config BUSYBOX_CONFIG_RX
|
||||||
bool "rx"
|
bool "rx"
|
||||||
default n
|
default n
|
||||||
|
@ -178,6 +277,12 @@ config BUSYBOX_CONFIG_STRINGS
|
||||||
strings prints the printable character sequences for each file
|
strings prints the printable character sequences for each file
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_SETSID
|
||||||
|
bool "setsid"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
setsid runs a program in a new session
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_TIME
|
config BUSYBOX_CONFIG_TIME
|
||||||
bool "time"
|
bool "time"
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -11,22 +11,8 @@ config BUSYBOX_CONFIG_INSMOD
|
||||||
help
|
help
|
||||||
insmod is used to load specified modules in the running kernel.
|
insmod is used to load specified modules in the running kernel.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
|
||||||
bool " Support version 2.2.x to 2.4.x Linux kernels"
|
|
||||||
default y
|
|
||||||
depends on BUSYBOX_CONFIG_INSMOD
|
|
||||||
help
|
|
||||||
Support module loading for 2.2.x and 2.4.x Linux kernels.
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
|
|
||||||
bool " Support version 2.6.x Linux kernels"
|
|
||||||
default y
|
|
||||||
depends on BUSYBOX_CONFIG_INSMOD
|
|
||||||
help
|
|
||||||
Support module loading for newer 2.6.x Linux kernels.
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
|
config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
|
||||||
bool " Module version checking"
|
bool "Module version checking"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||||
help
|
help
|
||||||
|
@ -34,7 +20,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
|
||||||
ensure that the kernel and module are made for each other.
|
ensure that the kernel and module are made for each other.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
||||||
bool " Add module symbols to kernel symbol table"
|
bool "Add module symbols to kernel symbol table"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||||
help
|
help
|
||||||
|
@ -45,7 +31,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
||||||
Oops messages from kernel modules, say N.
|
Oops messages from kernel modules, say N.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
|
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
|
||||||
bool " In kernel memory optimization (uClinux only)"
|
bool "In kernel memory optimization (uClinux only)"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||||
help
|
help
|
||||||
|
@ -55,7 +41,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
|
||||||
being loaded into memory.
|
being loaded into memory.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
||||||
bool " Enable load map (-m) option"
|
bool "Enable load map (-m) option"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||||
help
|
help
|
||||||
|
@ -66,7 +52,7 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
||||||
don't need this option.
|
don't need this option.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
|
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
|
||||||
bool " Symbols in load map"
|
bool "Symbols in load map"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
||||||
help
|
help
|
||||||
|
@ -74,16 +60,25 @@ config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
|
||||||
load map. With this option, -m will also output
|
load map. With this option, -m will also output
|
||||||
symbols load map.
|
symbols load map.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_RMMOD
|
||||||
|
bool "rmmod"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
rmmod is used to unload specified modules from the kernel.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_LSMOD
|
config BUSYBOX_CONFIG_LSMOD
|
||||||
bool "lsmod"
|
bool "lsmod"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
lsmod is used to display a list of loaded modules.
|
lsmod is used to display a list of loaded modules.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
|
config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
|
||||||
bool
|
bool "lsmod pretty output for 2.6.x Linux kernels "
|
||||||
default y
|
default n
|
||||||
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES
|
depends on BUSYBOX_CONFIG_LSMOD
|
||||||
|
help
|
||||||
|
This option makes output format of lsmod adjusted to
|
||||||
|
the format of module-init-tools for Linux kernel 2.6.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MODPROBE
|
config BUSYBOX_CONFIG_MODPROBE
|
||||||
bool "modprobe"
|
bool "modprobe"
|
||||||
|
@ -92,14 +87,31 @@ config BUSYBOX_CONFIG_MODPROBE
|
||||||
Handle the loading of modules, and their dependancies on a high
|
Handle the loading of modules, and their dependancies on a high
|
||||||
level.
|
level.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_RMMOD
|
Note that in the state, modprobe does not understand multiple
|
||||||
bool "rmmod"
|
module options from the configuration file. See option below.
|
||||||
default y
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS
|
||||||
|
bool "Multiple options parsing"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_MODPROBE
|
||||||
help
|
help
|
||||||
rmmod is used to unload specified modules from the kernel.
|
Allow modprobe to understand more than one option to pass to
|
||||||
|
modules.
|
||||||
|
|
||||||
|
This is a WIP, while waiting for a common argument parsing
|
||||||
|
common amongst all BB applets (shell, modprobe, etc...) and
|
||||||
|
adds around 600 bytes on x86, 700 bytes on ARM. The code is
|
||||||
|
biggish and uggly, but just works.
|
||||||
|
|
||||||
|
Saying Y here is not a bad idea if you're not that short
|
||||||
|
on storage capacity.
|
||||||
|
|
||||||
|
comment "Options common to multiple modutils"
|
||||||
|
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_LSMOD
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
||||||
bool "Support tainted module checking with new kernels"
|
# Simulate indentation
|
||||||
|
bool " Support tainted module checking with new kernels"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
|
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
|
||||||
help
|
help
|
||||||
|
@ -108,6 +120,28 @@ config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
||||||
support request.
|
support request.
|
||||||
This option is required to support GPLONLY modules.
|
This option is required to support GPLONLY modules.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||||
|
# Simulate indentation
|
||||||
|
bool " Support version 2.2.x to 2.4.x Linux kernels"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD
|
||||||
|
help
|
||||||
|
Support module loading for 2.2.x and 2.4.x Linux kernels.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
|
||||||
|
# Simulate indentation
|
||||||
|
bool " Support version 2.6.x Linux kernels"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
|
||||||
|
help
|
||||||
|
Support module loading for newer 2.6.x Linux kernels.
|
||||||
|
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES
|
||||||
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,25 @@ config BUSYBOX_CONFIG_ARPING
|
||||||
help
|
help
|
||||||
Ping hosts by ARP packets
|
Ping hosts by ARP packets
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_DNSD
|
||||||
|
bool "dnsd"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Small and static DNS server deamon.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ETHER_WAKE
|
||||||
|
bool "ether-wake"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Send a magic packet to wake up sleeping machines.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FAKEIDENTD
|
||||||
|
bool "fakeidentd"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
fakeidentd listens to the ident port and returns a set fake
|
||||||
|
value whatever it gets.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FTPGET
|
config BUSYBOX_CONFIG_FTPGET
|
||||||
bool "ftpget"
|
bool "ftpget"
|
||||||
default n
|
default n
|
||||||
|
@ -66,7 +85,6 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_AUTH_MD5
|
||||||
Enables basic per url authentication from /etc/httpd.conf
|
Enables basic per url authentication from /etc/httpd.conf
|
||||||
using md5 passwords.
|
using md5 passwords.
|
||||||
|
|
||||||
|
|
||||||
if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
|
if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY
|
||||||
config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
|
config BUSYBOX_CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
|
||||||
bool " Support reloading the global config file using hup signal"
|
bool " Support reloading the global config file using hup signal"
|
||||||
|
@ -101,7 +119,18 @@ config BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
|
||||||
depends on BUSYBOX_CONFIG_HTTPD
|
depends on BUSYBOX_CONFIG_HTTPD
|
||||||
help
|
help
|
||||||
This option allows scripts and executables to be invoked
|
This option allows scripts and executables to be invoked
|
||||||
when specific urls are requested.
|
when specific urls are requested.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR
|
||||||
|
bool " Enable support for running scripts through an interpreter"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI
|
||||||
|
help
|
||||||
|
This option enables support for running scripts through an
|
||||||
|
interpreter. Turn this on, if you want PHP scripts to work
|
||||||
|
properly. You need to supply an addition line in your httpd
|
||||||
|
config file:
|
||||||
|
*.php:/path/to/your/php
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
|
config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV
|
||||||
bool " Support the REMOTE_PORT environment variable for CGI"
|
bool " Support the REMOTE_PORT environment variable for CGI"
|
||||||
|
@ -171,6 +200,7 @@ config BUSYBOX_CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
|
||||||
config BUSYBOX_CONFIG_IFUPDOWN
|
config BUSYBOX_CONFIG_IFUPDOWN
|
||||||
bool "ifupdown"
|
bool "ifupdown"
|
||||||
default n
|
default n
|
||||||
|
select BUSYBOX_CONFIG_RUN_PARTS
|
||||||
help
|
help
|
||||||
Activate or deactivate the specified interfaces. This applet makes
|
Activate or deactivate the specified interfaces. This applet makes
|
||||||
use of either "ifconfig" and "route" or the "ip" command to actually
|
use of either "ifconfig" and "route" or the "ip" command to actually
|
||||||
|
@ -291,6 +321,13 @@ config BUSYBOX_CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN
|
||||||
help
|
help
|
||||||
Familiar character generator internal inetd service
|
Familiar character generator internal inetd service
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_INETD_RPC
|
||||||
|
bool " Support RPC services"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_INETD
|
||||||
|
help
|
||||||
|
Suuport Sun-RPC based services
|
||||||
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_IP
|
config BUSYBOX_CONFIG_IP
|
||||||
bool "ip"
|
bool "ip"
|
||||||
|
@ -406,7 +443,7 @@ config BUSYBOX_CONFIG_NAMEIF
|
||||||
File fields are separated by space or tab.
|
File fields are separated by space or tab.
|
||||||
File format:
|
File format:
|
||||||
# Comment
|
# Comment
|
||||||
new_interface_name XX:XX:XX:XX:XX:XX
|
new_interface_name XX:XX:XX:XX:XX:XX
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_NC
|
config BUSYBOX_CONFIG_NC
|
||||||
bool "nc"
|
bool "nc"
|
||||||
|
@ -421,6 +458,14 @@ config BUSYBOX_CONFIG_NETMSG
|
||||||
help
|
help
|
||||||
simple program for sending udp broadcast messages
|
simple program for sending udp broadcast messages
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_NC_GAPING_SECURITY_HOLE
|
||||||
|
bool "gaping security hole"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_NC
|
||||||
|
help
|
||||||
|
Add support for executing a program after making or receiving a
|
||||||
|
successful connection (-e option).
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_NETSTAT
|
config BUSYBOX_CONFIG_NETSTAT
|
||||||
bool "netstat"
|
bool "netstat"
|
||||||
default y
|
default y
|
||||||
|
@ -498,7 +543,6 @@ config BUSYBOX_CONFIG_FEATURE_TELNET_AUTOLOGIN
|
||||||
config BUSYBOX_CONFIG_TELNETD
|
config BUSYBOX_CONFIG_TELNETD
|
||||||
bool "telnetd"
|
bool "telnetd"
|
||||||
default y
|
default y
|
||||||
#select BUSYBOX_CONFIG_LOGIN
|
|
||||||
help
|
help
|
||||||
A daemon for the TELNET protocol, allowing you to log onto the host
|
A daemon for the TELNET protocol, allowing you to log onto the host
|
||||||
running the daemon. Please keep in mind that the TELNET protocol
|
running the daemon. Please keep in mind that the TELNET protocol
|
||||||
|
@ -600,6 +644,22 @@ config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_VERBOSE
|
||||||
Add some verbosity to traceroute. This includes amongst other things
|
Add some verbosity to traceroute. This includes amongst other things
|
||||||
hostnames and ICMP response types.
|
hostnames and ICMP response types.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE
|
||||||
|
bool " Enable loose source route"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_TRACEROUTE
|
||||||
|
help
|
||||||
|
Add option to specify a loose source route gateway
|
||||||
|
(8 maximum).
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP
|
||||||
|
bool " Use ICMP instead of UDP"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_TRACEROUTE
|
||||||
|
help
|
||||||
|
Add feature to allow for ICMP ECHO instead of UDP datagrams.
|
||||||
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_VCONFIG
|
config BUSYBOX_CONFIG_VCONFIG
|
||||||
bool "vconfig"
|
bool "vconfig"
|
||||||
default y
|
default y
|
||||||
|
@ -636,5 +696,16 @@ config BUSYBOX_CONFIG_FEATURE_WGET_IP6_LITERAL
|
||||||
|
|
||||||
source package/busybox/config/networking/udhcp/Config.in
|
source package/busybox/config/networking/udhcp/Config.in
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ZCIP
|
||||||
|
bool "zcip"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927.
|
||||||
|
It's a daemon that allocates and defends a dynamically assigned
|
||||||
|
address on the 169.254/16 network, requiring no system administrator.
|
||||||
|
|
||||||
|
See http://www.zeroconf.org for further details, and "zcip.script"
|
||||||
|
in the busybox examples.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,14 @@ config BUSYBOX_CONFIG_FREE
|
||||||
memory in the system, as well as the buffers used by the kernel.
|
memory in the system, as well as the buffers used by the kernel.
|
||||||
The shared memory column should be ignored; it is obsolete.
|
The shared memory column should be ignored; it is obsolete.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FUSER
|
||||||
|
bool "fuser"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
fuser lists all PIDs (Process IDs) that currently have a given
|
||||||
|
file open. fuser can also list all PIDs that have a given network
|
||||||
|
(TCP or UDP) port open.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_KILL
|
config BUSYBOX_CONFIG_KILL
|
||||||
bool "kill"
|
bool "kill"
|
||||||
default y
|
default y
|
||||||
|
@ -42,12 +50,37 @@ config BUSYBOX_CONFIG_PIDOF
|
||||||
Pidof finds the process id's (pids) of the named programs. It prints
|
Pidof finds the process id's (pids) of the named programs. It prints
|
||||||
those id's on the standard output.
|
those id's on the standard output.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE
|
||||||
|
bool " Enable argument for single shot (-s)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_PIDOF
|
||||||
|
help
|
||||||
|
Support argument '-s' for returning only the first pid found.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
|
||||||
|
bool " Enable argument for omitting pids (-o)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_PIDOF
|
||||||
|
help
|
||||||
|
Support argument '-o' for omitting the given pids in output.
|
||||||
|
The special pid %PPID can be used to name the parent process
|
||||||
|
of the pidof, in other words the calling shell or shell script.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_PS
|
config BUSYBOX_CONFIG_PS
|
||||||
bool "ps"
|
bool "ps"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
ps gives a snapshot of the current processes.
|
ps gives a snapshot of the current processes.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_PS_WIDE
|
||||||
|
bool " Enable argument for wide output (-w)"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_PS
|
||||||
|
help
|
||||||
|
Support argument 'w' for wide output.
|
||||||
|
If given once, 132 chars are printed and given more than
|
||||||
|
one, the length is unlimited.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_RENICE
|
config BUSYBOX_CONFIG_RENICE
|
||||||
bool "renice"
|
bool "renice"
|
||||||
default n
|
default n
|
||||||
|
@ -55,6 +88,12 @@ config BUSYBOX_CONFIG_RENICE
|
||||||
Renice alters the scheduling priority of one or more running
|
Renice alters the scheduling priority of one or more running
|
||||||
processes.
|
processes.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_BB_SYSCTL
|
||||||
|
bool "sysctl"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Configure kernel parameters at runtime.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_TOP
|
config BUSYBOX_CONFIG_TOP
|
||||||
bool "top"
|
bool "top"
|
||||||
default y
|
default y
|
||||||
|
@ -62,8 +101,8 @@ config BUSYBOX_CONFIG_TOP
|
||||||
The top program provides a dynamic real-time view of a running
|
The top program provides a dynamic real-time view of a running
|
||||||
system.
|
system.
|
||||||
|
|
||||||
config BUSYBOX_FEATURE_CPU_USAGE_PERCENTAGE
|
config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||||
bool
|
bool " Support showing CPU usage percentage (add 2k bytes)"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_TOP
|
depends on BUSYBOX_CONFIG_TOP
|
||||||
help
|
help
|
||||||
|
@ -77,11 +116,6 @@ config BUSYBOX_CONFIG_UPTIME
|
||||||
the system has been running, how many users are currently logged
|
the system has been running, how many users are currently logged
|
||||||
on, and the system load averages for the past 1, 5, and 15 minutes.
|
on, and the system load averages for the past 1, 5, and 15 minutes.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_BB_SYSCTL
|
|
||||||
bool "sysctl"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
sysctl - configure kernel parameters at runtime
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# see scripts/kbuild/config-language.txt.
|
# see scripts/kbuild/config-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
menu "Another Bourne-like Shell"
|
menu "Shells"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Choose your default shell"
|
prompt "Choose your default shell"
|
||||||
|
@ -36,6 +36,7 @@ endchoice
|
||||||
config BUSYBOX_CONFIG_ASH
|
config BUSYBOX_CONFIG_ASH
|
||||||
bool "ash"
|
bool "ash"
|
||||||
default y
|
default y
|
||||||
|
select BUSYBOX_CONFIG_TEST
|
||||||
help
|
help
|
||||||
Tha 'ash' shell adds about 60k in the default configuration and is
|
Tha 'ash' shell adds about 60k in the default configuration and is
|
||||||
the most complete and most pedantically correct shell included with
|
the most complete and most pedantically correct shell included with
|
||||||
|
@ -53,6 +54,23 @@ config BUSYBOX_CONFIG_ASH_JOB_CONTROL
|
||||||
help
|
help
|
||||||
Enable job control in the ash shell.
|
Enable job control in the ash shell.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ASH_READ_NCHARS
|
||||||
|
bool " Enable 'read -n N' and 'read -s' support"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_ASH
|
||||||
|
help
|
||||||
|
'read -n N' will return a value after N characters have been read.
|
||||||
|
'read -s' will read without echoing the user's input.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ASH_READ_TIMEOUT
|
||||||
|
bool " Enable 'read -t S' support."
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_ASH
|
||||||
|
help
|
||||||
|
'read -t S' will return a value after S seconds have passed.
|
||||||
|
This implementation will allow fractional seconds, expressed
|
||||||
|
as a decimal fraction, e.g. 'read -t 2.5 foo'.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_ASH_ALIAS
|
config BUSYBOX_CONFIG_ASH_ALIAS
|
||||||
bool " Enable alias support"
|
bool " Enable alias support"
|
||||||
default y
|
default y
|
||||||
|
@ -92,6 +110,21 @@ config BUSYBOX_CONFIG_ASH_CMDCMD
|
||||||
you to run the specified command with the specified arguments,
|
you to run the specified command with the specified arguments,
|
||||||
even when there is an ash builtin command with the same name.
|
even when there is an ash builtin command with the same name.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ASH_BUILTIN_ECHO
|
||||||
|
bool " Enable builtin version of 'echo'"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_ASH
|
||||||
|
help
|
||||||
|
Enable support for echo, built in to ash.
|
||||||
|
|
||||||
|
# this entry also appears in coreutils/Config.in, next to the echo applet
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
|
||||||
|
bool " Enable echo options (-n and -e)"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_ASH_BUILTIN_ECHO
|
||||||
|
help
|
||||||
|
This adds options (-n and -e) to echo.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_ASH_MAIL
|
config BUSYBOX_CONFIG_ASH_MAIL
|
||||||
bool " Check for new mail on interactive shells"
|
bool " Check for new mail on interactive shells"
|
||||||
default n
|
default n
|
||||||
|
@ -104,7 +137,7 @@ config BUSYBOX_CONFIG_ASH_OPTIMIZE_FOR_SIZE
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_ASH
|
depends on BUSYBOX_CONFIG_ASH
|
||||||
help
|
help
|
||||||
Compile ash for reduced size at price of speed.
|
Compile ash for reduced size at the price of speed.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT
|
config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT
|
||||||
bool " Enable pseudorandom generator and variable $RANDOM"
|
bool " Enable pseudorandom generator and variable $RANDOM"
|
||||||
|
@ -117,9 +150,21 @@ config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT
|
||||||
After "unset RANDOM" then generator will switch off and this
|
After "unset RANDOM" then generator will switch off and this
|
||||||
variable will no longer have special treatment.
|
variable will no longer have special treatment.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_ASH_EXPAND_PRMT
|
||||||
|
bool " Expand prompt string"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_ASH
|
||||||
|
help
|
||||||
|
"PS#" may be contain volatile content, such as backquote commands.
|
||||||
|
This option recreates the prompt string from the environment
|
||||||
|
variable each time it is displayed.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_HUSH
|
config BUSYBOX_CONFIG_HUSH
|
||||||
bool "hush"
|
bool "hush"
|
||||||
default n
|
default n
|
||||||
|
select BUSYBOX_CONFIG_TRUE
|
||||||
|
select BUSYBOX_CONFIG_FALSE
|
||||||
|
select BUSYBOX_CONFIG_TEST
|
||||||
help
|
help
|
||||||
hush is a very small shell (just 18k) and it has fairly complete
|
hush is a very small shell (just 18k) and it has fairly complete
|
||||||
Bourne shell grammar. It even handles all the normal flow control
|
Bourne shell grammar. It even handles all the normal flow control
|
||||||
|
@ -134,6 +179,9 @@ config BUSYBOX_CONFIG_HUSH
|
||||||
config BUSYBOX_CONFIG_LASH
|
config BUSYBOX_CONFIG_LASH
|
||||||
bool "lash"
|
bool "lash"
|
||||||
default n
|
default n
|
||||||
|
select BUSYBOX_CONFIG_TRUE
|
||||||
|
select BUSYBOX_CONFIG_FALSE
|
||||||
|
select BUSYBOX_CONFIG_TEST
|
||||||
help
|
help
|
||||||
lash is the very smallest shell (adds just 10k) and it is quite
|
lash is the very smallest shell (adds just 10k) and it is quite
|
||||||
usable as a command prompt, but it is not suitable for any but the
|
usable as a command prompt, but it is not suitable for any but the
|
||||||
|
@ -146,6 +194,9 @@ config BUSYBOX_CONFIG_LASH
|
||||||
config BUSYBOX_CONFIG_MSH
|
config BUSYBOX_CONFIG_MSH
|
||||||
bool "msh"
|
bool "msh"
|
||||||
default n
|
default n
|
||||||
|
select BUSYBOX_CONFIG_TRUE
|
||||||
|
select BUSYBOX_CONFIG_FALSE
|
||||||
|
select BUSYBOX_CONFIG_TEST
|
||||||
help
|
help
|
||||||
The minix shell (adds just 30k) is quite complete and handles things
|
The minix shell (adds just 30k) is quite complete and handles things
|
||||||
like for/do/done, case/esac and all the things you expect a Bourne
|
like for/do/done, case/esac and all the things you expect a Bourne
|
||||||
|
@ -175,7 +226,7 @@ config BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL
|
||||||
busybox to use the ifconfig busybox applet. Specifying the fully
|
busybox to use the ifconfig busybox applet. Specifying the fully
|
||||||
qualified executable name, such as '/sbin/ifconfig' will still
|
qualified executable name, such as '/sbin/ifconfig' will still
|
||||||
execute the /sbin/ifconfig executable on the filesystem. This option
|
execute the /sbin/ifconfig executable on the filesystem. This option
|
||||||
is generally used when creating a staticly linked version of busybox
|
is generally used when creating a statically linked version of busybox
|
||||||
for use as a rescue shell, in the event that you screw up your system.
|
for use as a rescue shell, in the event that you screw up your system.
|
||||||
|
|
||||||
Note that when using this option, the shell will attempt to directly
|
Note that when using this option, the shell will attempt to directly
|
||||||
|
@ -190,6 +241,14 @@ config BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING
|
||||||
help
|
help
|
||||||
Enable command editing in shell.
|
Enable command editing in shell.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING_VI
|
||||||
|
bool "vi-style line editing commands"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING
|
||||||
|
help
|
||||||
|
Enable vi-style line editing in the shell. This mode can be
|
||||||
|
turned on and off with "set -o vi" and "set +o vi".
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY
|
config BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY
|
||||||
int "history size"
|
int "history size"
|
||||||
default 15
|
default 15
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
menu "Linux System Utilities"
|
menu "Linux System Utilities"
|
||||||
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_DMESG
|
config BUSYBOX_CONFIG_DMESG
|
||||||
bool "dmesg"
|
bool "dmesg"
|
||||||
default y
|
default y
|
||||||
|
@ -27,7 +26,6 @@ config BUSYBOX_CONFIG_FBSET
|
||||||
interface to access a graphics display. Enable this option
|
interface to access a graphics display. Enable this option
|
||||||
if you wish to enable the 'fbset' utility.
|
if you wish to enable the 'fbset' utility.
|
||||||
|
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
|
config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY
|
||||||
bool " Turn on extra fbset options"
|
bool " Turn on extra fbset options"
|
||||||
default n
|
default n
|
||||||
|
@ -210,6 +208,35 @@ config BUSYBOX_CONFIG_FEATURE_HWCLOCK_LONGOPTIONS
|
||||||
are overly fond of its long options, such as --hctosys, --utc, etc)
|
are overly fond of its long options, such as --hctosys, --utc, etc)
|
||||||
then enable this option.
|
then enable this option.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS
|
||||||
|
bool " Use FHS /var/lib/hwclock/adjtime"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_HWCLOCK
|
||||||
|
help
|
||||||
|
Starting with FHS 2.3, the adjtime state file is supposed to exist
|
||||||
|
at /var/lib/hwclock/adjtime instead of /etc/adjtime. If you wish
|
||||||
|
to use the FHS behavior, answer Y here, otherwise answer N for the
|
||||||
|
classic /etc/adjtime path.
|
||||||
|
|
||||||
|
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_IPCRM
|
||||||
|
bool "ipcrm"
|
||||||
|
default n
|
||||||
|
select BUSYBOX_CONFIG_FEATURE_SUID
|
||||||
|
help
|
||||||
|
The ipcrm utility allows the removal of System V interprocess
|
||||||
|
communication (IPC) objects and the associated data structures
|
||||||
|
from the system.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_IPCS
|
||||||
|
bool "ipcs"
|
||||||
|
default n
|
||||||
|
select BUSYBOX_CONFIG_FEATURE_SUID
|
||||||
|
help
|
||||||
|
The ipcs utility is used to provide information on the currently
|
||||||
|
allocated System V interprocess (IPC) objects in the system.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_LOSETUP
|
config BUSYBOX_CONFIG_LOSETUP
|
||||||
bool "losetup"
|
bool "losetup"
|
||||||
default n
|
default n
|
||||||
|
@ -218,6 +245,36 @@ config BUSYBOX_CONFIG_LOSETUP
|
||||||
file or block device, and to query the status of a loop device. This
|
file or block device, and to query the status of a loop device. This
|
||||||
version does not currently support enabling data encryption.
|
version does not currently support enabling data encryption.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_MDEV
|
||||||
|
bool "mdev"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
mdev is a mini-udev implementation: call it with -s to populate
|
||||||
|
/dev from /sys, then "echo /sbin/mdev > /proc/sys/kernel/hotplug" to
|
||||||
|
have it handle hotplug events afterwards. Device names are taken
|
||||||
|
from sysfs.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_MDEV_CONF
|
||||||
|
bool " Support /etc/mdev.conf"
|
||||||
|
default n
|
||||||
|
depends on BUSYBOX_CONFIG_MDEV
|
||||||
|
help
|
||||||
|
The mdev config file contains lines that look like:
|
||||||
|
|
||||||
|
hd[a-z][0-9]* 0:3 660
|
||||||
|
|
||||||
|
That's device name (with regex match), uid:gid, and permissions.
|
||||||
|
|
||||||
|
Optionally, that can be followed (on the same line) by an asterisk
|
||||||
|
and a command line to run after creating the corresponding device(s),
|
||||||
|
ala:
|
||||||
|
|
||||||
|
hdc root:cdrom 660 *ln -s hdc cdrom
|
||||||
|
|
||||||
|
Config file parsing stops on the first matching line. If no config
|
||||||
|
entry is matched, devices are created with default 0:0 660. (Make
|
||||||
|
the last line match .* to override this.)
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MKSWAP
|
config BUSYBOX_CONFIG_MKSWAP
|
||||||
bool "mkswap"
|
bool "mkswap"
|
||||||
default n
|
default n
|
||||||
|
@ -252,6 +309,24 @@ config BUSYBOX_CONFIG_FEATURE_USE_TERMIOS
|
||||||
will be unable to determine the current screen size, and will be
|
will be unable to determine the current screen size, and will be
|
||||||
unable to move the cursor.
|
unable to move the cursor.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_MOUNT
|
||||||
|
bool "mount"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
All files and filesystems in Unix are arranged into one big directory
|
||||||
|
tree. The 'mount' utility is used to graft a filesystem onto a
|
||||||
|
particular part of the tree. A filesystem can either live on a block
|
||||||
|
device, or it can be accessible over the network, as is the case with
|
||||||
|
NFS filesystems. Most people using BusyBox will also want to enable
|
||||||
|
the 'mount' utility.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS
|
||||||
|
bool " Support mounting NFS file systems"
|
||||||
|
default y
|
||||||
|
depends on BUSYBOX_CONFIG_MOUNT
|
||||||
|
help
|
||||||
|
Enable mounting of NFS file systems.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_PIVOT_ROOT
|
config BUSYBOX_CONFIG_PIVOT_ROOT
|
||||||
bool "pivot_root"
|
bool "pivot_root"
|
||||||
default y
|
default y
|
||||||
|
@ -261,6 +336,9 @@ config BUSYBOX_CONFIG_PIVOT_ROOT
|
||||||
of wild and crazy things with your Linux system and is far more
|
of wild and crazy things with your Linux system and is far more
|
||||||
powerful than 'chroot'.
|
powerful than 'chroot'.
|
||||||
|
|
||||||
|
Note: This is for initrd in linux 2.4. Under initramfs (introduced
|
||||||
|
in linux 2.6) use switch_root instead.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_RDATE
|
config BUSYBOX_CONFIG_RDATE
|
||||||
bool "rdate"
|
bool "rdate"
|
||||||
default y
|
default y
|
||||||
|
@ -270,6 +348,21 @@ config BUSYBOX_CONFIG_RDATE
|
||||||
the RFC868 protocol, which is built into the inetd daemon on most
|
the RFC868 protocol, which is built into the inetd daemon on most
|
||||||
systems.
|
systems.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_READPROFILE
|
||||||
|
bool "readprofile"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
This allows you to parse /proc/profile for basic profiling.
|
||||||
|
|
||||||
|
config BUSYBOX_CONFIG_SETARCH
|
||||||
|
bool "setarch"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
The linux32 utility is used to create a 32bit environment for the
|
||||||
|
specified program (usually a shell). It only makes sense to have
|
||||||
|
this util on a system that supports both 64bit and 32bit userland
|
||||||
|
(like amd64/x86, ppc64/ppc, sparc64/sparc, etc...).
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_SWAPONOFF
|
config BUSYBOX_CONFIG_SWAPONOFF
|
||||||
bool "swaponoff"
|
bool "swaponoff"
|
||||||
default n
|
default n
|
||||||
|
@ -281,23 +374,24 @@ config BUSYBOX_CONFIG_SWAPONOFF
|
||||||
space. If you are not using any swap space, you can leave this
|
space. If you are not using any swap space, you can leave this
|
||||||
option disabled.
|
option disabled.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_MOUNT
|
config BUSYBOX_CONFIG_SWITCH_ROOT
|
||||||
bool "mount"
|
bool "switch_root"
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
All files and filesystems in Unix are arranged into one big directory
|
The switch_root utility is used from initramfs to select a new
|
||||||
tree. The 'mount' utility is used to graft a filesystem onto a
|
root device. Under initramfs, you have to use this instead of
|
||||||
particular part of the tree. A filesystem can either live on a block
|
pivot_root. (Stop reading here if you don't care why.)
|
||||||
device, or it can be accessible over the network, as is the case with
|
|
||||||
NFS filesystems. Most people using BusyBox will also want to enable
|
|
||||||
the 'mount' utility.
|
|
||||||
|
|
||||||
config BUSYBOX_FEATURE_MOUNT_NFS
|
Booting with initramfs extracts a gzipped cpio archive into rootfs
|
||||||
bool " Support mounting NFS file systems"
|
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
|
||||||
default y
|
or unmounted*, pivot_root will not work from initramfs. Instead,
|
||||||
depends on BUSYBOX_CONFIG_MOUNT
|
switch_root deletes everything out of rootfs (including itself),
|
||||||
help
|
does a mount --move that overmounts rootfs with the new root, and
|
||||||
Enable mounting of NFS file systems.
|
then execs the specified init program.
|
||||||
|
|
||||||
|
* Because the Linux kernel uses rootfs internally as the starting
|
||||||
|
and ending point for searching through the kernel's doubly linked
|
||||||
|
list of active mount points. That's why.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_UMOUNT
|
config BUSYBOX_CONFIG_UMOUNT
|
||||||
bool "umount"
|
bool "umount"
|
||||||
|
@ -308,50 +402,50 @@ config BUSYBOX_CONFIG_UMOUNT
|
||||||
the tool to use. If you enabled the 'mount' utility, you almost certainly
|
the tool to use. If you enabled the 'mount' utility, you almost certainly
|
||||||
also want to enable 'umount'.
|
also want to enable 'umount'.
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_MOUNT_FORCE
|
config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL
|
||||||
bool " Support forced filesystem unmounting"
|
bool " umount -a option"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_UMOUNT
|
depends on BUSYBOX_CONFIG_UMOUNT
|
||||||
help
|
help
|
||||||
This allows you to _force_ a filesystem to be umounted. This is generally
|
Support -a option to unmount all currently mounted filesystems.
|
||||||
only useful when you want to get rid of an unreachable NFS system.
|
|
||||||
|
|
||||||
comment "Common options for mount/umount"
|
comment "Common options for mount/umount"
|
||||||
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
|
config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP
|
||||||
bool " Support for loop devices"
|
bool " Support loopback mounts"
|
||||||
default y
|
default y
|
||||||
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
||||||
help
|
help
|
||||||
Enabling this feature allows mount to use the '-o' loop options,
|
Enabling this feature allows automatic mounting of files (containing
|
||||||
which lets you loop mount files. Mount will automagically setup and
|
filesystem images) via the linux kernel's loopback devices. The mount
|
||||||
free the necessary loop devices so you do not need to mess with the
|
command will detect you are trying to mount a file instead of a block
|
||||||
'losetup' utility unless you really want to. This is really
|
device, and transparently associate the file with a loopback device.
|
||||||
only useful if you plan to loop mount files.
|
The umount command will also free that loopback device.
|
||||||
|
|
||||||
|
You can still use the 'losetup' utility (to manually associate files
|
||||||
|
with loop devices) if you need to do something advanced, such as
|
||||||
|
specify an offset or cryptographic options to the loopback device.
|
||||||
|
(If you don't want umount to free the loop device, use "umount -D".)
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
|
config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
|
||||||
bool " Support for a real /etc/mtab (instead of /proc/mounts)"
|
bool " Support for the old /etc/mtab file"
|
||||||
default n
|
default n
|
||||||
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT
|
||||||
help
|
help
|
||||||
If your root filesystem is writable and you wish to have the 'mount'
|
Historically, Unix systems kept track of the currently mounted
|
||||||
utility create an mtab file listing the filesystems which have been
|
partitions in the file "/etc/mtab". These days, the kernel exports
|
||||||
mounted then you should enable this option. Most people that use
|
the list of currently mounted partitions in "/proc/mounts", rendering
|
||||||
BusyBox have a read-only root filesystem, so they will leave this
|
the old mtab file obsolete. (In modern systems, /etc/mtab should be
|
||||||
option disabled and BusyBox will use the /proc/mounts file.
|
a symlink to /proc/mounts.)
|
||||||
|
|
||||||
config BUSYBOX_CONFIG_FEATURE_MTAB_FILENAME
|
The only reason to have mount maintain an /etc/mtab file itself is if
|
||||||
string " mtab file location"
|
your stripped-down embedded system does not have a /proc directory.
|
||||||
default n
|
If you must use this, keep in mind it's inherently brittle (for
|
||||||
depends on BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT
|
example a mount under chroot won't update it), can't handle modern
|
||||||
help
|
features like separate per-process filesystem namespaces, requires
|
||||||
Some people have a read only root filesystem, but they also wish to
|
that your /etc directory be writeable, tends to get easily confused
|
||||||
have the 'mount' utility create an mtab file listing the filesystems
|
by --bind or --move mounts, and so on. (In brief: avoid.)
|
||||||
which have been mounted. This option allows you to specify an alternative
|
|
||||||
location for the mtab file, such as /var/mtab, or /tmp/mtab. The default
|
|
||||||
value is /etc/mtab, which is where this file is located on most desktop
|
|
||||||
Linux systems.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue