busybox: strip off ALTERNATIVES spec
This commit is contained in:
parent
76c1272dae
commit
7e5229cfbf
@ -49,9 +49,6 @@ config BUSYBOX_DEFAULT_PID_FILE_PATH
|
||||
config BUSYBOX_DEFAULT_BUSYBOX
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SHOW_SCRIPT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_INSTALLER
|
||||
bool
|
||||
default n
|
||||
@ -79,9 +76,6 @@ config BUSYBOX_DEFAULT_SELINUX
|
||||
config BUSYBOX_DEFAULT_FEATURE_CLEAN_UP
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SYSLOG_INFO
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SYSLOG
|
||||
bool
|
||||
default y
|
||||
@ -127,9 +121,6 @@ config BUSYBOX_DEFAULT_EXTRA_LDLIBS
|
||||
config BUSYBOX_DEFAULT_USE_PORTABLE_CODE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_STACK_OPTIMIZATION_386
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_INSTALL_APPLET_SYMLINKS
|
||||
bool
|
||||
default y
|
||||
@ -181,15 +172,9 @@ config BUSYBOX_DEFAULT_EFENCE
|
||||
config BUSYBOX_DEFAULT_FEATURE_USE_BSS_TAIL
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FLOAT_DURATION
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_RTMINMAX
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_BUFFERS_USE_MALLOC
|
||||
bool
|
||||
default n
|
||||
@ -214,9 +199,6 @@ config BUSYBOX_DEFAULT_FEATURE_FAST_TOP
|
||||
config BUSYBOX_DEFAULT_FEATURE_ETC_NETWORKS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_ETC_SERVICES
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_EDITING
|
||||
bool
|
||||
default y
|
||||
@ -247,9 +229,6 @@ config BUSYBOX_DEFAULT_FEATURE_USERNAME_COMPLETION
|
||||
config BUSYBOX_DEFAULT_FEATURE_EDITING_FANCY_PROMPT
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_EDITING_WINCH
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_EDITING_ASK_TERMINAL
|
||||
bool
|
||||
default n
|
||||
@ -373,9 +352,6 @@ config BUSYBOX_DEFAULT_XZ
|
||||
config BUSYBOX_DEFAULT_BZIP2
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_BZIP2_SMALL
|
||||
int
|
||||
default 0
|
||||
config BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
|
||||
bool
|
||||
default y
|
||||
@ -520,9 +496,6 @@ config BUSYBOX_DEFAULT_CP
|
||||
config BUSYBOX_DEFAULT_FEATURE_CP_LONG_OPTIONS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_CP_REFLINK
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_CUT
|
||||
bool
|
||||
default y
|
||||
@ -604,6 +577,9 @@ config BUSYBOX_DEFAULT_FALSE
|
||||
config BUSYBOX_DEFAULT_FOLD
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FSYNC
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_HEAD
|
||||
bool
|
||||
default y
|
||||
@ -754,15 +730,15 @@ config BUSYBOX_DEFAULT_SLEEP
|
||||
config BUSYBOX_DEFAULT_FEATURE_FANCY_SLEEP
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_FLOAT_SLEEP
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_SORT
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_SORT_BIG
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SORT_OPTIMIZE_MEMORY
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_SPLIT
|
||||
bool
|
||||
default n
|
||||
@ -790,9 +766,6 @@ config BUSYBOX_DEFAULT_SYNC
|
||||
config BUSYBOX_DEFAULT_FEATURE_SYNC_FANCY
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FSYNC
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_TAC
|
||||
bool
|
||||
default n
|
||||
@ -1111,9 +1084,6 @@ config BUSYBOX_DEFAULT_FEATURE_FIND_PERM
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_EXECUTABLE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_XDEV
|
||||
bool
|
||||
default y
|
||||
@ -1153,9 +1123,6 @@ config BUSYBOX_DEFAULT_FEATURE_FIND_SIZE
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_QUIT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
|
||||
bool
|
||||
default n
|
||||
@ -1225,9 +1192,6 @@ config BUSYBOX_DEFAULT_POWEROFF
|
||||
config BUSYBOX_DEFAULT_REBOOT
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_WAIT_FOR_INIT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_CALL_TELINIT
|
||||
bool
|
||||
default n
|
||||
@ -1621,9 +1585,6 @@ config BUSYBOX_DEFAULT_FEATURE_MDEV_EXEC
|
||||
config BUSYBOX_DEFAULT_FEATURE_MDEV_LOAD_FIRMWARE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_MDEV_DAEMON
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_MESG
|
||||
bool
|
||||
default n
|
||||
@ -1693,12 +1654,6 @@ config BUSYBOX_DEFAULT_FEATURE_MOUNT_OTHERTAB
|
||||
config BUSYBOX_DEFAULT_MOUNTPOINT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_NOLOGIN
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_NOLOGIN_DEPENDENCIES
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_NSENTER
|
||||
bool
|
||||
default n
|
||||
@ -1834,9 +1789,6 @@ config BUSYBOX_DEFAULT_FEATURE_VOLUMEID_ISO9660
|
||||
config BUSYBOX_DEFAULT_FEATURE_VOLUMEID_JFS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_VOLUMEID_LFS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_VOLUMEID_LINUXRAID
|
||||
bool
|
||||
default n
|
||||
@ -1888,24 +1840,6 @@ config BUSYBOX_DEFAULT_BBCONFIG
|
||||
config BUSYBOX_DEFAULT_FEATURE_COMPRESS_BBCONFIG
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_BC
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_DC
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_DC_BIG
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_DC_LIBM
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_BC_INTERACTIVE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_BC_LONG_OPTIONS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_BEEP
|
||||
bool
|
||||
default n
|
||||
@ -1960,6 +1894,12 @@ config BUSYBOX_DEFAULT_FEATURE_CROND_DIR
|
||||
config BUSYBOX_DEFAULT_CRONTAB
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_DC
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_DC_LIBM
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_DEVFSD
|
||||
bool
|
||||
default n
|
||||
@ -2029,9 +1969,6 @@ config BUSYBOX_DEFAULT_I2CDUMP
|
||||
config BUSYBOX_DEFAULT_I2CDETECT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_I2CTRANSFER
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_INOTIFYD
|
||||
bool
|
||||
default n
|
||||
@ -2068,12 +2005,6 @@ config BUSYBOX_DEFAULT_FEATURE_LESS_DASHCMD
|
||||
config BUSYBOX_DEFAULT_FEATURE_LESS_LINENUMS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_LESS_RAW
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_LESS_ENV
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_LOCK
|
||||
bool
|
||||
default y
|
||||
@ -2134,9 +2065,6 @@ config BUSYBOX_DEFAULT_STRINGS
|
||||
config BUSYBOX_DEFAULT_TIME
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_TS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_TTYSIZE
|
||||
bool
|
||||
default n
|
||||
@ -2169,8 +2097,7 @@ config BUSYBOX_DEFAULT_WATCHDOG
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_IPV6
|
||||
bool
|
||||
default y if IPV6
|
||||
default n
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_UNIX_LOCAL
|
||||
bool
|
||||
default n
|
||||
@ -2180,9 +2107,6 @@ config BUSYBOX_DEFAULT_FEATURE_PREFER_IPV4_ADDRESS
|
||||
config BUSYBOX_DEFAULT_VERBOSE_RESOLUTION_ERRORS
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_TLS_SHA1
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_ARP
|
||||
bool
|
||||
default n
|
||||
@ -2432,12 +2356,6 @@ config BUSYBOX_DEFAULT_FEATURE_NETSTAT_PRG
|
||||
config BUSYBOX_DEFAULT_NSLOOKUP
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_BIG
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_NSLOOKUP_LONG_OPTIONS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_NSLOOKUP_OPENWRT
|
||||
bool
|
||||
default y
|
||||
@ -2453,9 +2371,6 @@ config BUSYBOX_DEFAULT_FEATURE_NTPD_SERVER
|
||||
config BUSYBOX_DEFAULT_FEATURE_NTPD_CONF
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_NTP_AUTH
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_PING
|
||||
bool
|
||||
default y
|
||||
@ -2477,12 +2392,6 @@ config BUSYBOX_DEFAULT_SLATTACH
|
||||
config BUSYBOX_DEFAULT_SSL_CLIENT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_TC
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_TC_INGRESS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_TCPSVD
|
||||
bool
|
||||
default n
|
||||
@ -2516,9 +2425,6 @@ config BUSYBOX_DEFAULT_TFTP
|
||||
config BUSYBOX_DEFAULT_FEATURE_TFTP_PROGRESS_BAR
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_TFTP_HPA_COMPAT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_TFTPD
|
||||
bool
|
||||
default n
|
||||
@ -2627,9 +2533,6 @@ config BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4704
|
||||
config BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4833
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC5970
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_UDHCP_PORT
|
||||
bool
|
||||
default n
|
||||
@ -2828,9 +2731,6 @@ config BUSYBOX_DEFAULT_SV_DEFAULT_SERVICE_DIR
|
||||
config BUSYBOX_DEFAULT_SVC
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_SVOK
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_SVLOGD
|
||||
bool
|
||||
default n
|
||||
@ -2903,12 +2803,6 @@ config BUSYBOX_DEFAULT_ASH_INTERNAL_GLOB
|
||||
config BUSYBOX_DEFAULT_ASH_BASH_COMPAT
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_ASH_BASH_SOURCE_CURDIR
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_ASH_BASH_NOT_FOUND_HOOK
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_ASH_JOB_CONTROL
|
||||
bool
|
||||
default y
|
||||
@ -2957,12 +2851,6 @@ config BUSYBOX_DEFAULT_HUSH_BASH_COMPAT
|
||||
config BUSYBOX_DEFAULT_HUSH_BRACE_EXPANSION
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_HUSH_LINENO_VAR
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_HUSH_BASH_SOURCE_CURDIR
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_HUSH_INTERACTIVE
|
||||
bool
|
||||
default n
|
||||
@ -3023,9 +2911,6 @@ config BUSYBOX_DEFAULT_HUSH_KILL
|
||||
config BUSYBOX_DEFAULT_HUSH_WAIT
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_HUSH_COMMAND
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_HUSH_TRAP
|
||||
bool
|
||||
default n
|
||||
@ -3062,9 +2947,6 @@ config BUSYBOX_DEFAULT_FEATURE_SH_MATH
|
||||
config BUSYBOX_DEFAULT_FEATURE_SH_MATH_64
|
||||
bool
|
||||
default y
|
||||
config BUSYBOX_DEFAULT_FEATURE_SH_MATH_BASE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SH_EXTRA_QUIET
|
||||
bool
|
||||
default n
|
||||
@ -3080,9 +2962,6 @@ config BUSYBOX_DEFAULT_FEATURE_SH_READ_FRAC
|
||||
config BUSYBOX_DEFAULT_FEATURE_SH_HISTFILESIZE
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_FEATURE_SH_EMBEDDED_SCRIPTS
|
||||
bool
|
||||
default n
|
||||
config BUSYBOX_DEFAULT_KLOGD
|
||||
bool
|
||||
default n
|
||||
|
||||
@ -18,4 +18,9 @@ config BUSYBOX_CUSTOM
|
||||
source "config/Config.in"
|
||||
endif
|
||||
|
||||
config BUSYBOX_USE_LIBRPC
|
||||
bool
|
||||
default y if BUSYBOX_CUSTOM && BUSYBOX_CONFIG_FEATURE_HAVE_RPC
|
||||
default y if !BUSYBOX_CUSTOM && BUSYBOX_DEFAULT_FEATURE_HAVE_RPC
|
||||
|
||||
endif
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
|
||||
@ -8,10 +8,10 @@ config BUSYBOX_CONFIG_HAVE_DOT_CONFIG
|
||||
bool
|
||||
default BUSYBOX_DEFAULT_HAVE_DOT_CONFIG
|
||||
|
||||
menu "Settings"
|
||||
menu "Busybox Settings"
|
||||
|
||||
config BUSYBOX_CONFIG_DESKTOP
|
||||
bool "Enable compatibility for full-blown desktop systems (8kb)"
|
||||
bool "Enable compatibility for full-blown desktop systems"
|
||||
default BUSYBOX_DEFAULT_DESKTOP
|
||||
help
|
||||
Enable applet options and features which are not essential.
|
||||
@ -177,11 +177,6 @@ config BUSYBOX_CONFIG_BUSYBOX
|
||||
|
||||
Running "busybox APPLET [ARGS...]" will still work, of course.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SHOW_SCRIPT
|
||||
bool "Support --show SCRIPT"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SHOW_SCRIPT
|
||||
depends on BUSYBOX_CONFIG_BUSYBOX
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSTALLER
|
||||
bool "Support --install [-s] to install applet links at runtime"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSTALLER
|
||||
@ -338,15 +333,6 @@ config BUSYBOX_CONFIG_FEATURE_CLEAN_UP
|
||||
Don't enable this unless you have a really good reason to clean
|
||||
things up manually.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SYSLOG_INFO
|
||||
bool "Support LOG_INFO level syslog messages"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SYSLOG_INFO
|
||||
depends on BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
Applets which send their output to syslog use either LOG_INFO or
|
||||
LOG_ERR log levels, but by disabling this option all messages will
|
||||
be logged at the LOG_ERR level, saving just under 200 bytes.
|
||||
|
||||
# These are auto-selected by other options
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
@ -531,14 +517,6 @@ config BUSYBOX_CONFIG_USE_PORTABLE_CODE
|
||||
compiler other than gcc.
|
||||
If you do use gcc, this option may needlessly increase code size.
|
||||
|
||||
config BUSYBOX_CONFIG_STACK_OPTIMIZATION_386
|
||||
bool "Use -mpreferred-stack-boundary=2 on i386 arch"
|
||||
default BUSYBOX_DEFAULT_STACK_OPTIMIZATION_386
|
||||
help
|
||||
This option makes for smaller code, but some libc versions
|
||||
do not work with it (they use SSE instructions without
|
||||
ensuring stack alignment).
|
||||
|
||||
comment 'Installation Options ("make install" behavior)'
|
||||
|
||||
choice
|
||||
@ -702,17 +680,16 @@ config BUSYBOX_CONFIG_EFENCE
|
||||
|
||||
endchoice
|
||||
|
||||
source libbb/Config.in
|
||||
|
||||
endmenu
|
||||
|
||||
source libbb/Config.in
|
||||
|
||||
comment "Applets"
|
||||
|
||||
source archival/Config.in
|
||||
source coreutils/Config.in
|
||||
source console-tools/Config.in
|
||||
source debianutils/Config.in
|
||||
source klibc-utils/Config.in
|
||||
source editors/Config.in
|
||||
source findutils/Config.in
|
||||
source init/Config.in
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Archival Utilities"
|
||||
@ -27,210 +27,212 @@ config BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z
|
||||
default BUSYBOX_DEFAULT_FEATURE_SEAMLESS_Z # it is ancient
|
||||
|
||||
config BUSYBOX_CONFIG_AR
|
||||
bool "ar (9.5 kb)"
|
||||
bool "ar"
|
||||
default BUSYBOX_DEFAULT_AR # needs to be improved to be able to replace binutils ar
|
||||
help
|
||||
ar is an archival utility program used to create, modify, and
|
||||
extract contents from archives. In practice, it is used exclusively
|
||||
for object module archives used by compilers.
|
||||
ar is an archival utility program used to create, modify, and
|
||||
extract contents from archives. In practice, it is used exclusively
|
||||
for object module archives used by compilers.
|
||||
|
||||
Unless you have a specific application which requires ar, you should
|
||||
probably say N here: most compilers come with their own ar utility.
|
||||
On an x86 system, the ar applet adds about 1K.
|
||||
|
||||
Unless you have a specific application which requires ar, you should
|
||||
probably say N here: most compilers come with their own ar utility.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_AR_LONG_FILENAMES
|
||||
bool "Support long filenames (not needed for debs)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_AR_LONG_FILENAMES
|
||||
depends on BUSYBOX_CONFIG_AR
|
||||
help
|
||||
By default the ar format can only store the first 15 characters
|
||||
of the filename, this option removes that limitation.
|
||||
It supports the GNU ar long filename method which moves multiple long
|
||||
filenames into a the data section of a new ar entry.
|
||||
By default the ar format can only store the first 15 characters
|
||||
of the filename, this option removes that limitation.
|
||||
It supports the GNU ar long filename method which moves multiple long
|
||||
filenames into a the data section of a new ar entry.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_AR_CREATE
|
||||
bool "Support archive creation"
|
||||
default BUSYBOX_DEFAULT_FEATURE_AR_CREATE
|
||||
depends on BUSYBOX_CONFIG_AR
|
||||
help
|
||||
This enables archive creation (-c and -r) with busybox ar.
|
||||
This enables archive creation (-c and -r) with busybox ar.
|
||||
config BUSYBOX_CONFIG_UNCOMPRESS
|
||||
bool "uncompress (7.1 kb)"
|
||||
bool "uncompress"
|
||||
default BUSYBOX_DEFAULT_UNCOMPRESS # ancient
|
||||
help
|
||||
uncompress is used to decompress archives created by compress.
|
||||
Not much used anymore, replaced by gzip/gunzip.
|
||||
uncompress is used to decompress archives created by compress.
|
||||
Not much used anymore, replaced by gzip/gunzip.
|
||||
config BUSYBOX_CONFIG_GUNZIP
|
||||
bool "gunzip (11 kb)"
|
||||
bool "gunzip"
|
||||
default BUSYBOX_DEFAULT_GUNZIP
|
||||
select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
|
||||
help
|
||||
gunzip is used to decompress archives created by gzip.
|
||||
You can use the '-t' option to test the integrity of
|
||||
an archive, without decompressing it.
|
||||
gunzip is used to decompress archives created by gzip.
|
||||
You can use the `-t' option to test the integrity of
|
||||
an archive, without decompressing it.
|
||||
|
||||
config BUSYBOX_CONFIG_ZCAT
|
||||
bool "zcat (24 kb)"
|
||||
bool "zcat"
|
||||
default BUSYBOX_DEFAULT_ZCAT
|
||||
select BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
|
||||
help
|
||||
Alias to "gunzip -c".
|
||||
Alias to "gunzip -c".
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_GUNZIP_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_GUNZIP_LONG_OPTIONS
|
||||
depends on (BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT) && BUSYBOX_CONFIG_LONG_OPTS
|
||||
config BUSYBOX_CONFIG_BUNZIP2
|
||||
bool "bunzip2 (8.7 kb)"
|
||||
bool "bunzip2"
|
||||
default BUSYBOX_DEFAULT_BUNZIP2
|
||||
select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
|
||||
help
|
||||
bunzip2 is a compression utility using the Burrows-Wheeler block
|
||||
sorting text compression algorithm, and Huffman coding. Compression
|
||||
is generally considerably better than that achieved by more
|
||||
conventional LZ77/LZ78-based compressors, and approaches the
|
||||
performance of the PPM family of statistical compressors.
|
||||
bunzip2 is a compression utility using the Burrows-Wheeler block
|
||||
sorting text compression algorithm, and Huffman coding. Compression
|
||||
is generally considerably better than that achieved by more
|
||||
conventional LZ77/LZ78-based compressors, and approaches the
|
||||
performance of the PPM family of statistical compressors.
|
||||
|
||||
Unless you have a specific application which requires bunzip2, you
|
||||
should probably say N here.
|
||||
Unless you have a specific application which requires bunzip2, you
|
||||
should probably say N here.
|
||||
|
||||
config BUSYBOX_CONFIG_BZCAT
|
||||
bool "bzcat (8.7 kb)"
|
||||
bool "bzcat"
|
||||
default BUSYBOX_DEFAULT_BZCAT
|
||||
select BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
|
||||
help
|
||||
Alias to "bunzip2 -c".
|
||||
Alias to "bunzip2 -c".
|
||||
config BUSYBOX_CONFIG_UNLZMA
|
||||
bool "unlzma (7.5 kb)"
|
||||
bool "unlzma"
|
||||
default BUSYBOX_DEFAULT_UNLZMA
|
||||
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.
|
||||
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 decompression only.
|
||||
On an x86 system, this applet adds about 4K.
|
||||
|
||||
config BUSYBOX_CONFIG_LZCAT
|
||||
bool "lzcat (7.5 kb)"
|
||||
bool "lzcat"
|
||||
default BUSYBOX_DEFAULT_LZCAT
|
||||
help
|
||||
Alias to "unlzma -c".
|
||||
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 decompression only.
|
||||
On an x86 system, this applet adds about 4K.
|
||||
|
||||
config BUSYBOX_CONFIG_LZMA
|
||||
bool "lzma -d"
|
||||
default BUSYBOX_DEFAULT_LZMA
|
||||
help
|
||||
Enable this option if you want commands like "lzma -d" to work.
|
||||
IOW: you'll get lzma applet, but it will always require -d option.
|
||||
Enable this option if you want commands like "lzma -d" to work.
|
||||
IOW: you'll get lzma applet, but it will always require -d option.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
|
||||
bool "Optimize for speed"
|
||||
default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
|
||||
depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA
|
||||
help
|
||||
This option reduces decompression time by about 25% at the cost of
|
||||
a 1K bigger binary.
|
||||
config BUSYBOX_CONFIG_UNXZ
|
||||
bool "unxz (13 kb)"
|
||||
bool "unxz"
|
||||
default BUSYBOX_DEFAULT_UNXZ
|
||||
help
|
||||
unxz is a unlzma successor.
|
||||
unxz is a unlzma successor.
|
||||
|
||||
config BUSYBOX_CONFIG_XZCAT
|
||||
bool "xzcat (13 kb)"
|
||||
bool "xzcat"
|
||||
default BUSYBOX_DEFAULT_XZCAT
|
||||
help
|
||||
Alias to "unxz -c".
|
||||
Alias to "unxz -c".
|
||||
|
||||
config BUSYBOX_CONFIG_XZ
|
||||
bool "xz -d"
|
||||
default BUSYBOX_DEFAULT_XZ
|
||||
help
|
||||
Enable this option if you want commands like "xz -d" to work.
|
||||
IOW: you'll get xz applet, but it will always require -d option.
|
||||
Enable this option if you want commands like "xz -d" to work.
|
||||
IOW: you'll get xz applet, but it will always require -d option.
|
||||
config BUSYBOX_CONFIG_BZIP2
|
||||
bool "bzip2 (16 kb)"
|
||||
bool "bzip2"
|
||||
default BUSYBOX_DEFAULT_BZIP2
|
||||
help
|
||||
bzip2 is a compression utility using the Burrows-Wheeler block
|
||||
sorting text compression algorithm, and Huffman coding. Compression
|
||||
is generally considerably better than that achieved by more
|
||||
conventional LZ77/LZ78-based compressors, and approaches the
|
||||
performance of the PPM family of statistical compressors.
|
||||
bzip2 is a compression utility using the Burrows-Wheeler block
|
||||
sorting text compression algorithm, and Huffman coding. Compression
|
||||
is generally considerably better than that achieved by more
|
||||
conventional LZ77/LZ78-based compressors, and approaches the
|
||||
performance of the PPM family of statistical compressors.
|
||||
|
||||
Unless you have a specific application which requires bzip2, you
|
||||
should probably say N here.
|
||||
|
||||
config BUSYBOX_CONFIG_BZIP2_SMALL
|
||||
int "Trade bytes for speed (0:fast, 9:small)"
|
||||
default BUSYBOX_DEFAULT_BZIP2_SMALL # all "fast or small" options default to small
|
||||
range 0 9
|
||||
depends on BUSYBOX_CONFIG_BZIP2
|
||||
help
|
||||
Trade code size versus speed.
|
||||
Approximate values with gcc-6.3.0 "bzip -9" compressing
|
||||
linux-4.15.tar were:
|
||||
value time (sec) code size (386)
|
||||
9 (smallest) 70.11 7687
|
||||
8 67.93 8091
|
||||
7 67.88 8405
|
||||
6 67.78 8624
|
||||
5 67.05 9427
|
||||
4-0 (fastest) 64.14 12083
|
||||
Unless you have a specific application which requires bzip2, you
|
||||
should probably say N here.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_BZIP2_DECOMPRESS
|
||||
bool "Enable decompression"
|
||||
default BUSYBOX_DEFAULT_FEATURE_BZIP2_DECOMPRESS
|
||||
depends on BUSYBOX_CONFIG_BZIP2 || BUSYBOX_CONFIG_BUNZIP2 || BUSYBOX_CONFIG_BZCAT
|
||||
help
|
||||
Enable -d (--decompress) and -t (--test) options for bzip2.
|
||||
This will be automatically selected if bunzip2 or bzcat is
|
||||
enabled.
|
||||
Enable -d (--decompress) and -t (--test) options for bzip2.
|
||||
This will be automatically selected if bunzip2 or bzcat is
|
||||
enabled.
|
||||
config BUSYBOX_CONFIG_CPIO
|
||||
bool "cpio (15 kb)"
|
||||
bool "cpio"
|
||||
default BUSYBOX_DEFAULT_CPIO
|
||||
help
|
||||
cpio is an archival utility program used to create, modify, and
|
||||
extract contents from archives.
|
||||
cpio has 110 bytes of overheads for every stored file.
|
||||
cpio is an archival utility program used to create, modify, and
|
||||
extract contents from archives.
|
||||
cpio has 110 bytes of overheads for every stored file.
|
||||
|
||||
This implementation of cpio can extract cpio archives created in the
|
||||
"newc" or "crc" format.
|
||||
This implementation of cpio can extract cpio archives created in the
|
||||
"newc" or "crc" format.
|
||||
|
||||
Unless you have a specific application which requires cpio, you
|
||||
should probably say N here.
|
||||
Unless you have a specific application which requires cpio, you
|
||||
should probably say N here.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CPIO_O
|
||||
bool "Support archive creation"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CPIO_O
|
||||
depends on BUSYBOX_CONFIG_CPIO
|
||||
help
|
||||
This implementation of cpio can create cpio archives in the "newc"
|
||||
format only.
|
||||
This implementation of cpio can create cpio archives in the "newc"
|
||||
format only.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CPIO_P
|
||||
bool "Support passthrough mode"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CPIO_P
|
||||
depends on BUSYBOX_CONFIG_FEATURE_CPIO_O
|
||||
help
|
||||
Passthrough mode. Rarely used.
|
||||
Passthrough mode. Rarely used.
|
||||
config BUSYBOX_CONFIG_DPKG
|
||||
bool "dpkg (43 kb)"
|
||||
bool "dpkg"
|
||||
default BUSYBOX_DEFAULT_DPKG
|
||||
select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
|
||||
help
|
||||
dpkg is a medium-level tool to install, build, remove and manage
|
||||
Debian packages.
|
||||
dpkg is a medium-level tool to install, build, remove and manage
|
||||
Debian packages.
|
||||
|
||||
This implementation of dpkg has a number of limitations,
|
||||
you should use the official dpkg if possible.
|
||||
This implementation of dpkg has a number of limitations,
|
||||
you should use the official dpkg if possible.
|
||||
config BUSYBOX_CONFIG_DPKG_DEB
|
||||
bool "dpkg-deb (30 kb)"
|
||||
bool "dpkg_deb"
|
||||
default BUSYBOX_DEFAULT_DPKG_DEB
|
||||
select BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ
|
||||
help
|
||||
dpkg-deb unpacks and provides information about Debian archives.
|
||||
dpkg-deb unpacks and provides information about Debian archives.
|
||||
|
||||
This implementation of dpkg-deb cannot pack archives.
|
||||
This implementation of dpkg-deb cannot pack archives.
|
||||
|
||||
Unless you have a specific application which requires dpkg-deb,
|
||||
say N here.
|
||||
Unless you have a specific application which requires dpkg-deb,
|
||||
say N here.
|
||||
config BUSYBOX_CONFIG_GZIP
|
||||
bool "gzip (17 kb)"
|
||||
bool "gzip"
|
||||
default BUSYBOX_DEFAULT_GZIP
|
||||
help
|
||||
gzip is used to compress files.
|
||||
It's probably the most widely used UNIX compression program.
|
||||
gzip is used to compress files.
|
||||
It's probably the most widely used UNIX compression program.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_GZIP_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
@ -243,73 +245,73 @@ config BUSYBOX_CONFIG_GZIP_FAST
|
||||
range 0 2
|
||||
depends on BUSYBOX_CONFIG_GZIP
|
||||
help
|
||||
Enable big memory options for gzip.
|
||||
0: small buffers, small hash-tables
|
||||
1: larger buffers, larger hash-tables
|
||||
2: larger buffers, largest hash-tables
|
||||
Larger models may give slightly better compression
|
||||
Enable big memory options for gzip.
|
||||
0: small buffers, small hash-tables
|
||||
1: larger buffers, larger hash-tables
|
||||
2: larger buffers, largest hash-tables
|
||||
Larger models may give slightly better compression
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_GZIP_LEVELS
|
||||
bool "Enable compression levels"
|
||||
default BUSYBOX_DEFAULT_FEATURE_GZIP_LEVELS
|
||||
depends on BUSYBOX_CONFIG_GZIP
|
||||
help
|
||||
Enable support for compression levels 4-9. The default level
|
||||
is 6. If levels 1-3 are specified, 4 is used.
|
||||
If this option is not selected, -N options are ignored and -9
|
||||
is used.
|
||||
Enable support for compression levels 4-9. The default level
|
||||
is 6. If levels 1-3 are specified, 4 is used.
|
||||
If this option is not selected, -N options are ignored and -9
|
||||
is used.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_GZIP_DECOMPRESS
|
||||
bool "Enable decompression"
|
||||
default BUSYBOX_DEFAULT_FEATURE_GZIP_DECOMPRESS
|
||||
depends on BUSYBOX_CONFIG_GZIP || BUSYBOX_CONFIG_GUNZIP || BUSYBOX_CONFIG_ZCAT
|
||||
help
|
||||
Enable -d (--decompress) and -t (--test) options for gzip.
|
||||
This will be automatically selected if gunzip or zcat is
|
||||
enabled.
|
||||
Enable -d (--decompress) and -t (--test) options for gzip.
|
||||
This will be automatically selected if gunzip or zcat is
|
||||
enabled.
|
||||
config BUSYBOX_CONFIG_LZOP
|
||||
bool "lzop (12 kb)"
|
||||
bool "lzop"
|
||||
default BUSYBOX_DEFAULT_LZOP
|
||||
help
|
||||
Lzop compression/decompresion.
|
||||
Lzop compression/decompresion.
|
||||
|
||||
config BUSYBOX_CONFIG_UNLZOP
|
||||
bool "unlzop (13 kb)"
|
||||
bool "unlzop"
|
||||
default BUSYBOX_DEFAULT_UNLZOP # INCOMPAT: upstream lzop does not provide such tool
|
||||
help
|
||||
Lzop decompresion.
|
||||
Lzop decompresion.
|
||||
|
||||
config BUSYBOX_CONFIG_LZOPCAT
|
||||
bool "lzopcat (13 kb)"
|
||||
bool "lzopcat"
|
||||
default BUSYBOX_DEFAULT_LZOPCAT # INCOMPAT: upstream lzop does not provide such tool
|
||||
help
|
||||
Alias to "lzop -dc".
|
||||
Alias to "unlzop -c".
|
||||
|
||||
config BUSYBOX_CONFIG_LZOP_COMPR_HIGH
|
||||
bool "lzop compression levels 7,8,9 (not very useful)"
|
||||
default BUSYBOX_DEFAULT_LZOP_COMPR_HIGH
|
||||
depends on BUSYBOX_CONFIG_LZOP || BUSYBOX_CONFIG_UNLZOP || BUSYBOX_CONFIG_LZOPCAT
|
||||
help
|
||||
High levels (7,8,9) of lzop compression. These levels
|
||||
are actually slower than gzip at equivalent compression ratios
|
||||
and take up 3.2K of code.
|
||||
High levels (7,8,9) of lzop compression. These levels
|
||||
are actually slower than gzip at equivalent compression ratios
|
||||
and take up 3.2K of code.
|
||||
config BUSYBOX_CONFIG_RPM
|
||||
bool "rpm (32 kb)"
|
||||
bool "rpm"
|
||||
default BUSYBOX_DEFAULT_RPM
|
||||
help
|
||||
Mini RPM applet - queries and extracts RPM packages.
|
||||
Mini RPM applet - queries and extracts RPM packages.
|
||||
config BUSYBOX_CONFIG_RPM2CPIO
|
||||
bool "rpm2cpio (21 kb)"
|
||||
bool "rpm2cpio"
|
||||
default BUSYBOX_DEFAULT_RPM2CPIO
|
||||
help
|
||||
Converts a RPM file into a CPIO archive.
|
||||
Converts a RPM file into a CPIO archive.
|
||||
config BUSYBOX_CONFIG_TAR
|
||||
bool "tar (39 kb)"
|
||||
bool "tar"
|
||||
default BUSYBOX_DEFAULT_TAR
|
||||
help
|
||||
tar is an archiving program. It's commonly used with gzip to
|
||||
create compressed archives. It's probably the most widely used
|
||||
UNIX archive program.
|
||||
tar is an archiving program. It's commonly used with gzip to
|
||||
create compressed archives. It's probably the most widely used
|
||||
UNIX archive program.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
@ -326,35 +328,35 @@ config BUSYBOX_CONFIG_FEATURE_TAR_AUTODETECT
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_AUTODETECT
|
||||
depends on BUSYBOX_CONFIG_TAR && (BUSYBOX_CONFIG_FEATURE_SEAMLESS_Z || BUSYBOX_CONFIG_FEATURE_SEAMLESS_GZ || BUSYBOX_CONFIG_FEATURE_SEAMLESS_BZ2 || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_XZ)
|
||||
help
|
||||
With this option tar can automatically detect compressed
|
||||
tarballs. Currently it works only on files (not pipes etc).
|
||||
With this option tar can automatically detect compressed
|
||||
tarballs. Currently it works only on files (not pipes etc).
|
||||
|
||||
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 BUSYBOX_DEFAULT_FEATURE_TAR_FROM
|
||||
depends on BUSYBOX_CONFIG_TAR
|
||||
help
|
||||
If you enable this option you'll be able to specify
|
||||
a list of files to include or exclude from an archive.
|
||||
If you enable this option you'll be able to specify
|
||||
a list of files to include or exclude from an archive.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY
|
||||
bool "Support old tar header format"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_OLDGNU_COMPATIBILITY
|
||||
depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
|
||||
help
|
||||
This option is required to unpack archives created in
|
||||
the old GNU format; help to kill this old format by
|
||||
repacking your ancient archives with the new format.
|
||||
This option is required to unpack archives created in
|
||||
the old GNU format; help to kill this old format by
|
||||
repacking your ancient archives with the new format.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
|
||||
bool "Enable untarring of tarballs with checksums produced by buggy Sun tar"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_OLDSUN_COMPATIBILITY
|
||||
depends on BUSYBOX_CONFIG_TAR || BUSYBOX_CONFIG_DPKG
|
||||
help
|
||||
This option is required to unpack archives created by some old
|
||||
version of Sun's tar (it was calculating checksum using signed
|
||||
arithmetic). It is said to be fixed in newer Sun tar, but "old"
|
||||
tarballs still exist.
|
||||
This option is required to unpack archives created by some old
|
||||
version of Sun's tar (it was calculating checksum using signed
|
||||
arithmetic). It is said to be fixed in newer Sun tar, but "old"
|
||||
tarballs still exist.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_GNU_EXTENSIONS
|
||||
bool "Support GNU tar extensions (long filenames)"
|
||||
@ -366,18 +368,18 @@ config BUSYBOX_CONFIG_FEATURE_TAR_TO_COMMAND
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_TO_COMMAND
|
||||
depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_FEATURE_TAR_LONG_OPTIONS
|
||||
help
|
||||
If you enable this option you'll be able to instruct tar to send
|
||||
the contents of each extracted file to the standard input of an
|
||||
external program.
|
||||
If you enable this option you'll be able to instruct tar to send
|
||||
the contents of each extracted file to the standard input of an
|
||||
external program.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_UNAME_GNAME
|
||||
bool "Enable use of user and group names"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_UNAME_GNAME
|
||||
depends on BUSYBOX_CONFIG_TAR
|
||||
help
|
||||
Enable use of user and group names in tar. This affects contents
|
||||
listings (-t) and preserving permissions when unpacking (-p).
|
||||
+200 bytes.
|
||||
Enable use of user and group names in tar. This affects contents
|
||||
listings (-t) and preserving permissions when unpacking (-p).
|
||||
+200 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAR_NOPRESERVE_TIME
|
||||
bool "Enable -m (do not preserve time) GNU option"
|
||||
@ -389,26 +391,26 @@ config BUSYBOX_CONFIG_FEATURE_TAR_SELINUX
|
||||
default BUSYBOX_DEFAULT_FEATURE_TAR_SELINUX
|
||||
depends on BUSYBOX_CONFIG_TAR && BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
With this option busybox supports restoring SELinux labels
|
||||
when extracting files from tar archives.
|
||||
With this option busybox supports restoring SELinux labels
|
||||
when extracting files from tar archives.
|
||||
config BUSYBOX_CONFIG_UNZIP
|
||||
bool "unzip (26 kb)"
|
||||
bool "unzip"
|
||||
default BUSYBOX_DEFAULT_UNZIP
|
||||
help
|
||||
unzip will list or extract files from a ZIP archive,
|
||||
commonly found on DOS/WIN systems. The default behavior
|
||||
(with no options) is to extract the archive into the
|
||||
current directory.
|
||||
unzip will list or extract files from a ZIP archive,
|
||||
commonly found on DOS/WIN systems. The default behavior
|
||||
(with no options) is to extract the archive into the
|
||||
current directory.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UNZIP_CDF
|
||||
bool "Read and use Central Directory data"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UNZIP_CDF
|
||||
depends on BUSYBOX_CONFIG_UNZIP
|
||||
help
|
||||
If you know that you only need to deal with simple
|
||||
ZIP files without deleted/updated files, SFX archives etc,
|
||||
you can reduce code size by unselecting this option.
|
||||
To support less trivial ZIPs, say Y.
|
||||
If you know that you only need to deal with simple
|
||||
ZIP files without deleted/updated files, SFX archives etc,
|
||||
you can reduce code size by unselecting this option.
|
||||
To support less trivial ZIPs, say Y.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UNZIP_BZIP2
|
||||
bool "Support compression method 12 (bzip2)"
|
||||
@ -425,12 +427,4 @@ config BUSYBOX_CONFIG_FEATURE_UNZIP_XZ
|
||||
default BUSYBOX_DEFAULT_FEATURE_UNZIP_XZ
|
||||
depends on BUSYBOX_CONFIG_FEATURE_UNZIP_CDF && BUSYBOX_CONFIG_DESKTOP
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_LZMA_FAST
|
||||
bool "Optimize lzma for speed"
|
||||
default BUSYBOX_DEFAULT_FEATURE_LZMA_FAST
|
||||
depends on BUSYBOX_CONFIG_UNLZMA || BUSYBOX_CONFIG_LZCAT || BUSYBOX_CONFIG_LZMA || BUSYBOX_CONFIG_FEATURE_SEAMLESS_LZMA
|
||||
help
|
||||
This option reduces decompression time by about 25% at the cost of
|
||||
a 1K bigger binary.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,76 +1,76 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Console Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_CHVT
|
||||
bool "chvt (2 kb)"
|
||||
bool "chvt"
|
||||
default BUSYBOX_DEFAULT_CHVT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program is used to change to another terminal.
|
||||
Example: chvt 4 (change to terminal /dev/tty4)
|
||||
This program is used to change to another terminal.
|
||||
Example: chvt 4 (change to terminal /dev/tty4)
|
||||
config BUSYBOX_CONFIG_CLEAR
|
||||
bool "clear (tiny)"
|
||||
bool "clear"
|
||||
default BUSYBOX_DEFAULT_CLEAR
|
||||
help
|
||||
This program clears the terminal screen.
|
||||
This program clears the terminal screen.
|
||||
config BUSYBOX_CONFIG_DEALLOCVT
|
||||
bool "deallocvt (1.9 kb)"
|
||||
bool "deallocvt"
|
||||
default BUSYBOX_DEFAULT_DEALLOCVT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program deallocates unused virtual consoles.
|
||||
This program deallocates unused virtual consoles.
|
||||
config BUSYBOX_CONFIG_DUMPKMAP
|
||||
bool "dumpkmap (1.6 kb)"
|
||||
bool "dumpkmap"
|
||||
default BUSYBOX_DEFAULT_DUMPKMAP
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program dumps the kernel's keyboard translation table to
|
||||
stdout, in binary format. You can then use loadkmap to load it.
|
||||
This program dumps the kernel's keyboard translation table to
|
||||
stdout, in binary format. You can then use loadkmap to load it.
|
||||
config BUSYBOX_CONFIG_FGCONSOLE
|
||||
bool "fgconsole (1.5 kb)"
|
||||
bool "fgconsole"
|
||||
default BUSYBOX_DEFAULT_FGCONSOLE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program prints active (foreground) console number.
|
||||
This program prints active (foreground) console number.
|
||||
config BUSYBOX_CONFIG_KBD_MODE
|
||||
bool "kbd_mode (4.1 kb)"
|
||||
bool "kbd_mode"
|
||||
default BUSYBOX_DEFAULT_KBD_MODE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program reports and sets keyboard mode.
|
||||
This program reports and sets keyboard mode.
|
||||
config BUSYBOX_CONFIG_LOADFONT
|
||||
bool "loadfont (5.2 kb)"
|
||||
bool "loadfont"
|
||||
default BUSYBOX_DEFAULT_LOADFONT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program loads a console font from standard input.
|
||||
This program loads a console font from standard input.
|
||||
|
||||
config BUSYBOX_CONFIG_SETFONT
|
||||
bool "setfont (24 kb)"
|
||||
bool "setfont"
|
||||
default BUSYBOX_DEFAULT_SETFONT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Allows to load console screen map. Useful for i18n.
|
||||
Allows to load console screen map. Useful for i18n.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SETFONT_TEXTUAL_MAP
|
||||
bool "Support reading textual screen maps"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SETFONT_TEXTUAL_MAP
|
||||
depends on BUSYBOX_CONFIG_SETFONT
|
||||
help
|
||||
Support reading textual screen maps.
|
||||
Support reading textual screen maps.
|
||||
|
||||
config BUSYBOX_CONFIG_DEFAULT_SETFONT_DIR
|
||||
string "Default directory for console-tools files"
|
||||
default BUSYBOX_DEFAULT_DEFAULT_SETFONT_DIR
|
||||
depends on BUSYBOX_CONFIG_SETFONT
|
||||
help
|
||||
Directory to use if setfont's params are simple filenames
|
||||
(not /path/to/file or ./file). Default is "" (no default directory).
|
||||
Directory to use if setfont's params are simple filenames
|
||||
(not /path/to/file or ./file). Default is "" (no default directory).
|
||||
|
||||
comment "Common options for loadfont and setfont"
|
||||
depends on BUSYBOX_CONFIG_LOADFONT || BUSYBOX_CONFIG_SETFONT
|
||||
@ -85,73 +85,71 @@ config BUSYBOX_CONFIG_FEATURE_LOADFONT_RAW
|
||||
default BUSYBOX_DEFAULT_FEATURE_LOADFONT_RAW
|
||||
depends on BUSYBOX_CONFIG_LOADFONT || BUSYBOX_CONFIG_SETFONT
|
||||
config BUSYBOX_CONFIG_LOADKMAP
|
||||
bool "loadkmap (1.8 kb)"
|
||||
bool "loadkmap"
|
||||
default BUSYBOX_DEFAULT_LOADKMAP
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program loads a keyboard translation table from
|
||||
standard input.
|
||||
This program loads a keyboard translation table from
|
||||
standard input.
|
||||
config BUSYBOX_CONFIG_OPENVT
|
||||
bool "openvt (7.2 kb)"
|
||||
bool "openvt"
|
||||
default BUSYBOX_DEFAULT_OPENVT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program is used to start a command on an unused
|
||||
virtual terminal.
|
||||
This program is used to start a command on an unused
|
||||
virtual terminal.
|
||||
config BUSYBOX_CONFIG_RESET
|
||||
bool "reset (345 bytes)"
|
||||
bool "reset"
|
||||
default BUSYBOX_DEFAULT_RESET
|
||||
help
|
||||
This program is used to reset the terminal screen, if it
|
||||
gets messed up.
|
||||
This program is used to reset the terminal screen, if it
|
||||
gets messed up.
|
||||
config BUSYBOX_CONFIG_RESIZE
|
||||
bool "resize (903 bytes)"
|
||||
bool "resize"
|
||||
default BUSYBOX_DEFAULT_RESIZE
|
||||
help
|
||||
This program is used to (re)set the width and height of your current
|
||||
terminal.
|
||||
This program is used to (re)set the width and height of your current
|
||||
terminal.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_RESIZE_PRINT
|
||||
bool "Print environment variables"
|
||||
default BUSYBOX_DEFAULT_FEATURE_RESIZE_PRINT
|
||||
depends on BUSYBOX_CONFIG_RESIZE
|
||||
help
|
||||
Prints the newly set size (number of columns and rows) of
|
||||
the terminal.
|
||||
E.g.:
|
||||
COLUMNS=80;LINES=44;export COLUMNS LINES;
|
||||
Prints the newly set size (number of columns and rows) of
|
||||
the terminal.
|
||||
E.g.:
|
||||
COLUMNS=80;LINES=44;export COLUMNS LINES;
|
||||
config BUSYBOX_CONFIG_SETCONSOLE
|
||||
bool "setconsole (3.6 kb)"
|
||||
bool "setconsole"
|
||||
default BUSYBOX_DEFAULT_SETCONSOLE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Redirect writes to /dev/console to another device,
|
||||
like the current tty while logged in via telnet.
|
||||
This does not redirect kernel log, only writes
|
||||
from user space.
|
||||
This program redirects the system console to another device,
|
||||
like the current tty while logged in via telnet.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SETCONSOLE_LONG_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_SETCONSOLE && BUSYBOX_CONFIG_LONG_OPTS
|
||||
config BUSYBOX_CONFIG_SETKEYCODES
|
||||
bool "setkeycodes (2.1 kb)"
|
||||
bool "setkeycodes"
|
||||
default BUSYBOX_DEFAULT_SETKEYCODES
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program loads entries into the kernel's scancode-to-keycode
|
||||
map, allowing unusual keyboards to generate usable keycodes.
|
||||
This program loads entries into the kernel's scancode-to-keycode
|
||||
map, allowing unusual keyboards to generate usable keycodes.
|
||||
config BUSYBOX_CONFIG_SETLOGCONS
|
||||
bool "setlogcons (1.8 kb)"
|
||||
bool "setlogcons"
|
||||
default BUSYBOX_DEFAULT_SETLOGCONS
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
This program redirects the output console of kernel messages.
|
||||
This program redirects the output console of kernel messages.
|
||||
config BUSYBOX_CONFIG_SHOWKEY
|
||||
bool "showkey (4.7 kb)"
|
||||
bool "showkey"
|
||||
default BUSYBOX_DEFAULT_SHOWKEY
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Shows keys pressed.
|
||||
Shows keys pressed.
|
||||
|
||||
endmenu
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,30 +1,30 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Debian Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_PIPE_PROGRESS
|
||||
bool "pipe_progress (275 bytes)"
|
||||
bool "pipe_progress"
|
||||
default BUSYBOX_DEFAULT_PIPE_PROGRESS
|
||||
help
|
||||
Display a dot to indicate pipe activity.
|
||||
Display a dot to indicate pipe activity.
|
||||
config BUSYBOX_CONFIG_RUN_PARTS
|
||||
bool "run-parts (6.1 kb)"
|
||||
bool "run-parts"
|
||||
default BUSYBOX_DEFAULT_RUN_PARTS
|
||||
help
|
||||
run-parts is a utility designed to run all the scripts in a directory.
|
||||
run-parts is a utility designed to run all the scripts in a directory.
|
||||
|
||||
It is useful to set up a directory like cron.daily, where you need to
|
||||
execute all the scripts in that directory.
|
||||
It is useful to set up a directory like cron.daily, where you need to
|
||||
execute all the scripts in that directory.
|
||||
|
||||
In this implementation of run-parts some features (such as report
|
||||
mode) are not implemented.
|
||||
In this implementation of run-parts some features (such as report
|
||||
mode) are not implemented.
|
||||
|
||||
Unless you know that run-parts is used in some of your scripts
|
||||
you can safely say N here.
|
||||
Unless you know that run-parts is used in some of your scripts
|
||||
you can safely say N here.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
@ -36,16 +36,16 @@ config BUSYBOX_CONFIG_FEATURE_RUN_PARTS_FANCY
|
||||
default BUSYBOX_DEFAULT_FEATURE_RUN_PARTS_FANCY
|
||||
depends on BUSYBOX_CONFIG_RUN_PARTS
|
||||
help
|
||||
Support additional options:
|
||||
-l --list print the names of the all matching files (not
|
||||
limited to executables), but don't actually run them.
|
||||
Support additional options:
|
||||
-l --list print the names of the all matching files (not
|
||||
limited to executables), but don't actually run them.
|
||||
config BUSYBOX_CONFIG_START_STOP_DAEMON
|
||||
bool "start-stop-daemon (12 kb)"
|
||||
bool "start-stop-daemon"
|
||||
default BUSYBOX_DEFAULT_START_STOP_DAEMON
|
||||
help
|
||||
start-stop-daemon is used to control the creation and
|
||||
termination of system-level processes, usually the ones
|
||||
started during the startup of the system.
|
||||
start-stop-daemon is used to control the creation and
|
||||
termination of system-level processes, usually the ones
|
||||
started during the startup of the system.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
@ -57,14 +57,14 @@ config BUSYBOX_CONFIG_FEATURE_START_STOP_DAEMON_FANCY
|
||||
default BUSYBOX_DEFAULT_FEATURE_START_STOP_DAEMON_FANCY
|
||||
depends on BUSYBOX_CONFIG_START_STOP_DAEMON
|
||||
help
|
||||
-o|--oknodo ignored since we exit with 0 anyway
|
||||
-v|--verbose
|
||||
-N|--nicelevel N
|
||||
-o|--oknodo ignored since we exit with 0 anyway
|
||||
-v|--verbose
|
||||
-N|--nicelevel N
|
||||
config BUSYBOX_CONFIG_WHICH
|
||||
bool "which (3.8 kb)"
|
||||
bool "which"
|
||||
default BUSYBOX_DEFAULT_WHICH
|
||||
help
|
||||
which is used to find programs in your PATH and
|
||||
print out their pathnames.
|
||||
which is used to find programs in your PATH and
|
||||
print out their pathnames.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,35 +1,35 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Linux Ext2 FS Progs"
|
||||
|
||||
config BUSYBOX_CONFIG_CHATTR
|
||||
bool "chattr (3.8 kb)"
|
||||
bool "chattr"
|
||||
default BUSYBOX_DEFAULT_CHATTR
|
||||
help
|
||||
chattr changes the file attributes on a second extended file system.
|
||||
chattr changes the file attributes on a second extended file system.
|
||||
config BUSYBOX_CONFIG_FSCK
|
||||
bool "fsck (7.4 kb)"
|
||||
bool "fsck"
|
||||
default BUSYBOX_DEFAULT_FSCK
|
||||
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.
|
||||
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 (5.5 kb)"
|
||||
bool "lsattr"
|
||||
default BUSYBOX_DEFAULT_LSATTR
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
lsattr lists the file attributes on a second extended file system.
|
||||
lsattr lists the file attributes on a second extended file system.
|
||||
config BUSYBOX_CONFIG_TUNE2FS
|
||||
bool "tune2fs (4.4 kb)"
|
||||
bool "tune2fs"
|
||||
default BUSYBOX_DEFAULT_TUNE2FS # off: it is too limited compared to upstream version
|
||||
help
|
||||
tune2fs allows the system administrator to adjust various tunable
|
||||
filesystem parameters on Linux ext2/ext3 filesystems.
|
||||
tune2fs allows the system administrator to adjust various tunable
|
||||
filesystem parameters on Linux ext2/ext3 filesystems.
|
||||
|
||||
### config E2FSCK
|
||||
### bool "e2fsck"
|
||||
|
||||
@ -11,59 +11,59 @@ config BUSYBOX_CONFIG_CHATTR
|
||||
bool "chattr"
|
||||
default BUSYBOX_DEFAULT_CHATTR
|
||||
help
|
||||
chattr changes the file attributes on a second extended file system.
|
||||
chattr changes the file attributes on a second extended file system.
|
||||
|
||||
config BUSYBOX_CONFIG_E2FSCK
|
||||
bool "e2fsck"
|
||||
default BUSYBOX_DEFAULT_E2FSCK
|
||||
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.
|
||||
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 BUSYBOX_DEFAULT_FSCK
|
||||
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.
|
||||
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 BUSYBOX_DEFAULT_LSATTR
|
||||
help
|
||||
lsattr lists the file attributes on a second extended file system.
|
||||
lsattr lists the file attributes on a second extended file system.
|
||||
|
||||
config BUSYBOX_CONFIG_MKE2FS
|
||||
bool "mke2fs"
|
||||
default BUSYBOX_DEFAULT_MKE2FS
|
||||
help
|
||||
mke2fs is used to create an ext2/ext3 filesystem. The normal compat
|
||||
symlinks 'mkfs.ext2' and 'mkfs.ext3' are also provided.
|
||||
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 BUSYBOX_DEFAULT_TUNE2FS
|
||||
help
|
||||
tune2fs allows the system administrator to adjust various tunable
|
||||
filesystem parameters on Linux ext2/ext3 filesystems.
|
||||
tune2fs allows the system administrator to adjust various tunable
|
||||
filesystem parameters on Linux ext2/ext3 filesystems.
|
||||
|
||||
config BUSYBOX_CONFIG_E2LABEL
|
||||
bool "e2label"
|
||||
default BUSYBOX_DEFAULT_E2LABEL
|
||||
depends on BUSYBOX_CONFIG_TUNE2FS
|
||||
help
|
||||
e2label will display or change the filesystem label on the ext2
|
||||
filesystem located on device.
|
||||
e2label will display or change the filesystem label on the ext2
|
||||
filesystem located on device.
|
||||
|
||||
config BUSYBOX_CONFIG_FINDFS
|
||||
bool "findfs"
|
||||
default BUSYBOX_DEFAULT_FINDFS
|
||||
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.
|
||||
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
|
||||
|
||||
@ -1,48 +1,49 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Editors"
|
||||
|
||||
config BUSYBOX_CONFIG_AWK
|
||||
bool "awk (23 kb)"
|
||||
bool "awk"
|
||||
default BUSYBOX_DEFAULT_AWK
|
||||
help
|
||||
Awk is used as a pattern scanning and processing language.
|
||||
Awk is used as a pattern scanning and processing language. This is
|
||||
the BusyBox implementation of that programming language.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_AWK_LIBM
|
||||
bool "Enable math functions (requires libm)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_AWK_LIBM
|
||||
depends on BUSYBOX_CONFIG_AWK
|
||||
help
|
||||
Enable math functions of the Awk programming language.
|
||||
NOTE: This requires libm to be present for linking.
|
||||
Enable math functions of the Awk programming language.
|
||||
NOTE: This will require libm to be present for linking.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_AWK_GNU_EXTENSIONS
|
||||
bool "Enable a few GNU extensions"
|
||||
default BUSYBOX_DEFAULT_FEATURE_AWK_GNU_EXTENSIONS
|
||||
depends on BUSYBOX_CONFIG_AWK
|
||||
help
|
||||
Enable a few features from gawk:
|
||||
* command line option -e AWK_PROGRAM
|
||||
* simultaneous use of -f and -e on the command line.
|
||||
This enables the use of awk library files.
|
||||
Example: awk -f mylib.awk -e '{print myfunction($1);}' ...
|
||||
Enable a few features from gawk:
|
||||
* command line option -e AWK_PROGRAM
|
||||
* simultaneous use of -f and -e on the command line.
|
||||
This enables the use of awk library files.
|
||||
Ex: awk -f mylib.awk -e '{print myfunction($1);}' ...
|
||||
config BUSYBOX_CONFIG_CMP
|
||||
bool "cmp (4.9 kb)"
|
||||
bool "cmp"
|
||||
default BUSYBOX_DEFAULT_CMP
|
||||
help
|
||||
cmp is used to compare two files and returns the result
|
||||
to standard output.
|
||||
cmp is used to compare two files and returns the result
|
||||
to standard output.
|
||||
config BUSYBOX_CONFIG_DIFF
|
||||
bool "diff (13 kb)"
|
||||
bool "diff"
|
||||
default BUSYBOX_DEFAULT_DIFF
|
||||
help
|
||||
diff compares two files or directories and outputs the
|
||||
differences between them in a form that can be given to
|
||||
the patch command.
|
||||
diff compares two files or directories and outputs the
|
||||
differences between them in a form that can be given to
|
||||
the patch command.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_DIFF_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
@ -54,34 +55,34 @@ config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
|
||||
default BUSYBOX_DEFAULT_FEATURE_DIFF_DIR
|
||||
depends on BUSYBOX_CONFIG_DIFF
|
||||
help
|
||||
This option enables support for directory and subdirectory
|
||||
comparison.
|
||||
This option enables support for directory and subdirectory
|
||||
comparison.
|
||||
config BUSYBOX_CONFIG_ED
|
||||
bool "ed (21 kb)"
|
||||
bool "ed"
|
||||
default BUSYBOX_DEFAULT_ED
|
||||
help
|
||||
The original 1970's Unix text editor, from the days of teletypes.
|
||||
Small, simple, evil. Part of SUSv3. If you're not already using
|
||||
this, you don't need it.
|
||||
The original 1970's Unix text editor, from the days of teletypes.
|
||||
Small, simple, evil. Part of SUSv3. If you're not already using
|
||||
this, you don't need it.
|
||||
config BUSYBOX_CONFIG_PATCH
|
||||
bool "patch (9.4 kb)"
|
||||
bool "patch"
|
||||
default BUSYBOX_DEFAULT_PATCH
|
||||
help
|
||||
Apply a unified diff formatted patch.
|
||||
Apply a unified diff formatted patch.
|
||||
config BUSYBOX_CONFIG_SED
|
||||
bool "sed (12 kb)"
|
||||
bool "sed"
|
||||
default BUSYBOX_DEFAULT_SED
|
||||
help
|
||||
sed is used to perform text transformations on a file
|
||||
or input from a pipeline.
|
||||
sed is used to perform text transformations on a file
|
||||
or input from a pipeline.
|
||||
config BUSYBOX_CONFIG_VI
|
||||
bool "vi (23 kb)"
|
||||
bool "vi"
|
||||
default BUSYBOX_DEFAULT_VI
|
||||
help
|
||||
'vi' is a text editor. More specifically, it is the One True
|
||||
text editor <grin>. It does, however, have a rather steep
|
||||
learning curve. If you are not already comfortable with 'vi'
|
||||
you may wish to use something else.
|
||||
'vi' is a text editor. More specifically, it is the One True
|
||||
text editor <grin>. It does, however, have a rather steep
|
||||
learning curve. If you are not already comfortable with 'vi'
|
||||
you may wish to use something else.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
|
||||
int "Maximum screen width"
|
||||
@ -89,77 +90,77 @@ config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_MAX_LEN
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Contrary to what you may think, this is not eating much.
|
||||
Make it smaller than 4k only if you are very limited on memory.
|
||||
Contrary to what you may think, this is not eating much.
|
||||
Make it smaller than 4k only if you are very limited on memory.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_8BIT
|
||||
bool "Allow to display 8-bit chars (otherwise shows dots)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_8BIT
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
If your terminal can display characters with high bit set,
|
||||
you may want to enable this. Note: vi is not Unicode-capable.
|
||||
If your terminal combines several 8-bit bytes into one character
|
||||
(as in Unicode mode), this will not work properly.
|
||||
If your terminal can display characters with high bit set,
|
||||
you may want to enable this. Note: vi is not Unicode-capable.
|
||||
If your terminal combines several 8-bit bytes into one character
|
||||
(as in Unicode mode), this will not work properly.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_COLON
|
||||
bool "Enable \":\" colon commands (no \"ex\" mode)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_COLON
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Enable a limited set of colon commands. This does not
|
||||
provide an "ex" mode.
|
||||
Enable a limited set of colon commands. This does not
|
||||
provide an "ex" mode.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_YANKMARK
|
||||
bool "Enable yank/put commands and mark cmds"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_YANKMARK
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
This enables you to use yank and put, as well as mark.
|
||||
This will enable you to use yank and put, as well as mark.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_SEARCH
|
||||
bool "Enable search and replace cmds"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_SEARCH
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Select this if you wish to be able to do search and replace.
|
||||
Select this if you wish to be able to do search and replace.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH
|
||||
bool "Enable regex in search and replace"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_REGEX_SEARCH # Uses GNU regex, which may be unavailable. FIXME
|
||||
depends on BUSYBOX_CONFIG_FEATURE_VI_SEARCH
|
||||
help
|
||||
Use extended regex search.
|
||||
Use extended regex search.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_USE_SIGNALS
|
||||
bool "Catch signals"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_USE_SIGNALS
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Selecting this option will make vi signal aware. This will support
|
||||
SIGWINCH to deal with Window Changes, catch ^Z and ^C and alarms.
|
||||
Selecting this option will make vi signal aware. This will support
|
||||
SIGWINCH to deal with Window Changes, catch ^Z and ^C and alarms.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_DOT_CMD
|
||||
bool "Remember previous cmd and \".\" cmd"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_DOT_CMD
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Make vi remember the last command and be able to repeat it.
|
||||
Make vi remember the last command and be able to repeat it.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_READONLY
|
||||
bool "Enable -R option and \"view\" mode"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_READONLY
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Enable the read-only command line option, which allows the user to
|
||||
open a file in read-only mode.
|
||||
Enable the read-only command line option, which allows the user to
|
||||
open a file in read-only mode.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_SETOPTS
|
||||
bool "Enable settable options, ai ic showmatch"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_SETOPTS
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Enable the editor to set some (ai, ic, showmatch) options.
|
||||
Enable the editor to set some (ai, ic, showmatch) options.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_SET
|
||||
bool "Support :set"
|
||||
@ -171,37 +172,37 @@ config BUSYBOX_CONFIG_FEATURE_VI_WIN_RESIZE
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_WIN_RESIZE
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Behave nicely with terminals that get resized.
|
||||
Behave nicely with terminals that get resized.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_ASK_TERMINAL
|
||||
bool "Use 'tell me cursor position' ESC sequence to measure window"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_ASK_TERMINAL
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
|
||||
this option makes vi perform a last-ditch effort to find it:
|
||||
position cursor to 999,999 and ask terminal to report real
|
||||
cursor position using "ESC [ 6 n" escape sequence, then read stdin.
|
||||
This is not clean but helps a lot on serial lines and such.
|
||||
If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
|
||||
this option makes vi perform a last-ditch effort to find it:
|
||||
position cursor to 999,999 and ask terminal to report real
|
||||
cursor position using "ESC [ 6 n" escape sequence, then read stdin.
|
||||
This is not clean but helps a lot on serial lines and such.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_UNDO
|
||||
bool "Support undo command \"u\""
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_UNDO
|
||||
depends on BUSYBOX_CONFIG_VI
|
||||
help
|
||||
Support the 'u' command to undo insertion, deletion, and replacement
|
||||
of text.
|
||||
Support the 'u' command to undo insertion, deletion, and replacement
|
||||
of text.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE
|
||||
bool "Enable undo operation queuing"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VI_UNDO_QUEUE
|
||||
depends on BUSYBOX_CONFIG_FEATURE_VI_UNDO
|
||||
help
|
||||
The vi undo functions can use an intermediate queue to greatly lower
|
||||
malloc() calls and overhead. When the maximum size of this queue is
|
||||
reached, the contents of the queue are committed to the undo stack.
|
||||
This increases the size of the undo code and allows some undo
|
||||
operations (especially un-typing/backspacing) to be far more useful.
|
||||
The vi undo functions can use an intermediate queue to greatly lower
|
||||
malloc() calls and overhead. When the maximum size of this queue is
|
||||
reached, the contents of the queue are committed to the undo stack.
|
||||
This increases the size of the undo code and allows some undo
|
||||
operations (especially un-typing/backspacing) to be far more useful.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE_MAX
|
||||
int "Maximum undo character queue size"
|
||||
@ -209,20 +210,20 @@ config BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE_MAX
|
||||
range 32 65536
|
||||
depends on BUSYBOX_CONFIG_FEATURE_VI_UNDO_QUEUE
|
||||
help
|
||||
This option sets the number of bytes used at runtime for the queue.
|
||||
Smaller values will create more undo objects and reduce the amount
|
||||
of typed or backspaced characters that are grouped into one undo
|
||||
operation; larger values increase the potential size of each undo
|
||||
and will generally malloc() larger objects and less frequently.
|
||||
Unless you want more (or less) frequent "undo points" while typing,
|
||||
you should probably leave this unchanged.
|
||||
This option sets the number of bytes used at runtime for the queue.
|
||||
Smaller values will create more undo objects and reduce the amount
|
||||
of typed or backspaced characters that are grouped into one undo
|
||||
operation; larger values increase the potential size of each undo
|
||||
and will generally malloc() larger objects and less frequently.
|
||||
Unless you want more (or less) frequent "undo points" while typing,
|
||||
you should probably leave this unchanged.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
|
||||
bool "Allow vi and awk to execute shell commands"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ALLOW_EXEC
|
||||
depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
|
||||
help
|
||||
Enables vi and awk features which allow user to execute
|
||||
shell commands (using system() C call).
|
||||
Enables vi and awk features which allow user to execute
|
||||
shell commands (using system() C call).
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,42 +1,42 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Finding Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_FIND
|
||||
bool "find (14 kb)"
|
||||
bool "find"
|
||||
default BUSYBOX_DEFAULT_FIND
|
||||
help
|
||||
find is used to search your system to find specified files.
|
||||
find is used to search your system to find specified files.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_PRINT0
|
||||
bool "Enable -print0: NUL-terminated output"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_PRINT0
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Causes output names to be separated by a NUL character
|
||||
rather than a newline. This allows names that contain
|
||||
newlines and other whitespace to be more easily
|
||||
interpreted by other programs.
|
||||
Causes output names to be separated by a NUL character
|
||||
rather than a newline. This allows names that contain
|
||||
newlines and other whitespace to be more easily
|
||||
interpreted by other programs.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_MTIME
|
||||
bool "Enable -mtime: modified time matching"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_MTIME
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Allow searching based on the modification time of
|
||||
files, in days.
|
||||
Allow searching based on the modification time of
|
||||
files, in days.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_MMIN
|
||||
bool "Enable -mmin: modified time matching by minutes"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_MMIN
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Allow searching based on the modification time of
|
||||
files, in minutes.
|
||||
Allow searching based on the modification time of
|
||||
files, in minutes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_PERM
|
||||
bool "Enable -perm: permissions matching"
|
||||
@ -48,13 +48,8 @@ config BUSYBOX_CONFIG_FEATURE_FIND_TYPE
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_TYPE
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Enable searching based on file type (file,
|
||||
directory, socket, device, etc.).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_EXECUTABLE
|
||||
bool "Enable -executable: file is executable"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_EXECUTABLE
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
Enable searching based on file type (file,
|
||||
directory, socket, device, etc.).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_XDEV
|
||||
bool "Enable -xdev: 'stay in filesystem'"
|
||||
@ -71,8 +66,8 @@ config BUSYBOX_CONFIG_FEATURE_FIND_NEWER
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_NEWER
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Support the 'find -newer' option for finding any files which have
|
||||
modification time that is more recent than the specified FILE.
|
||||
Support the 'find -newer' option for finding any files which have
|
||||
modification time that is more recent than the specified FILE.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_INUM
|
||||
bool "Enable -inum: inode number matching"
|
||||
@ -84,18 +79,18 @@ config BUSYBOX_CONFIG_FEATURE_FIND_EXEC
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Support the 'find -exec' option for executing commands based upon
|
||||
the files matched.
|
||||
Support the 'find -exec' option for executing commands based upon
|
||||
the files matched.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_EXEC_PLUS
|
||||
bool "Enable -exec ... {} +"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_EXEC_PLUS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_FIND_EXEC
|
||||
help
|
||||
Support the 'find -exec ... {} +' option for executing commands
|
||||
for all matched files at once.
|
||||
Without this option, -exec + is a synonym for -exec ;
|
||||
(IOW: it works correctly, but without expected speedup)
|
||||
Support the 'find -exec ... {} +' option for executing commands
|
||||
for all matched files at once.
|
||||
Without this option, -exec + is a synonym for -exec ;
|
||||
(IOW: it works correctly, but without expected speedup)
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_USER
|
||||
bool "Enable -user: username/uid matching"
|
||||
@ -112,23 +107,23 @@ config BUSYBOX_CONFIG_FEATURE_FIND_NOT
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_NOT
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Support the '!' operator to invert the test results.
|
||||
If 'Enable full-blown desktop' is enabled, then will also support
|
||||
the non-POSIX notation '-not'.
|
||||
Support the '!' operator to invert the test results.
|
||||
If 'Enable full-blown desktop' is enabled, then will also support
|
||||
the non-POSIX notation '-not'.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
|
||||
bool "Enable -depth"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_DEPTH
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Process each directory's contents before the directory itself.
|
||||
Process each directory's contents before the directory itself.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_PAREN
|
||||
bool "Enable parens in options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_PAREN
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Enable usage of parens '(' to specify logical order of arguments.
|
||||
Enable usage of parens '(' to specify logical order of arguments.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_SIZE
|
||||
bool "Enable -size: file size matching"
|
||||
@ -140,132 +135,115 @@ config BUSYBOX_CONFIG_FEATURE_FIND_PRUNE
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_PRUNE
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
If the file is a directory, don't descend into it. Useful for
|
||||
exclusion .svn and CVS directories.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_QUIT
|
||||
bool "Enable -quit: exit"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_QUIT
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
If this action is reached, 'find' exits.
|
||||
If the file is a directory, don't descend into it. Useful for
|
||||
exclusion .svn and CVS directories.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_DELETE
|
||||
bool "Enable -delete: delete files/dirs"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_DELETE
|
||||
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_FEATURE_FIND_DEPTH
|
||||
help
|
||||
Support the 'find -delete' option for deleting files and directories.
|
||||
WARNING: This option can do much harm if used wrong. Busybox will not
|
||||
try to protect the user from doing stupid things. Use with care.
|
||||
Support the 'find -delete' option for deleting files and directories.
|
||||
WARNING: This option can do much harm if used wrong. Busybox will not
|
||||
try to protect the user from doing stupid things. Use with care.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_PATH
|
||||
bool "Enable -path: match pathname with shell pattern"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_PATH
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
The -path option matches whole pathname instead of just filename.
|
||||
The -path option matches whole pathname instead of just filename.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_REGEX
|
||||
bool "Enable -regex: match pathname with regex"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_REGEX
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
The -regex option matches whole pathname against regular expression.
|
||||
The -regex option matches whole pathname against regular expression.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_CONTEXT
|
||||
bool "Enable -context: security context matching"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_CONTEXT
|
||||
depends on BUSYBOX_CONFIG_FIND && BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Support the 'find -context' option for matching security context.
|
||||
Support the 'find -context' option for matching security context.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FIND_LINKS
|
||||
bool "Enable -links: link count matching"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FIND_LINKS
|
||||
depends on BUSYBOX_CONFIG_FIND
|
||||
help
|
||||
Support the 'find -links' option for matching number of links.
|
||||
Support the 'find -links' option for matching number of links.
|
||||
config BUSYBOX_CONFIG_GREP
|
||||
bool "grep (8.6 kb)"
|
||||
bool "grep"
|
||||
default BUSYBOX_DEFAULT_GREP
|
||||
help
|
||||
grep is used to search files for a specified pattern.
|
||||
grep is used to search files for a specified pattern.
|
||||
|
||||
config BUSYBOX_CONFIG_EGREP
|
||||
bool "egrep (7.8 kb)"
|
||||
bool "egrep"
|
||||
default BUSYBOX_DEFAULT_EGREP
|
||||
help
|
||||
Alias to "grep -E".
|
||||
Alias to "grep -E"
|
||||
|
||||
config BUSYBOX_CONFIG_FGREP
|
||||
bool "fgrep (7.8 kb)"
|
||||
bool "fgrep"
|
||||
default BUSYBOX_DEFAULT_FGREP
|
||||
help
|
||||
Alias to "grep -F".
|
||||
Alias to "grep -F"
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT
|
||||
bool "Enable before and after context flags (-A, -B and -C)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_GREP_CONTEXT
|
||||
depends on BUSYBOX_CONFIG_GREP || BUSYBOX_CONFIG_EGREP || BUSYBOX_CONFIG_FGREP
|
||||
help
|
||||
Print the specified number of leading (-B) and/or trailing (-A)
|
||||
context surrounding our matching lines.
|
||||
Print the specified number of context lines (-C).
|
||||
Print the specified number of leading (-B) and/or trailing (-A)
|
||||
context surrounding our matching lines.
|
||||
Print the specified number of context lines (-C).
|
||||
config BUSYBOX_CONFIG_XARGS
|
||||
bool "xargs (7.2 kb)"
|
||||
bool "xargs"
|
||||
default BUSYBOX_DEFAULT_XARGS
|
||||
help
|
||||
xargs is used to execute a specified command for
|
||||
every item from standard input.
|
||||
xargs is used to execute a specified command for
|
||||
every item from standard input.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION
|
||||
bool "Enable -p: prompt and confirmation"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_CONFIRMATION
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
help
|
||||
Support -p: prompt the user whether to run each command
|
||||
line and read a line from the terminal.
|
||||
Support -p: prompt the user whether to run each command
|
||||
line and read a line from the terminal.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_QUOTES
|
||||
bool "Enable single and double quotes and backslash"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_QUOTES
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
help
|
||||
Support quoting in the input.
|
||||
Support quoting in the input.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT
|
||||
bool "Enable -x: exit if -s or -n is exceeded"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_TERMOPT
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
help
|
||||
Support -x: exit if the command size (see the -s or -n option)
|
||||
is exceeded.
|
||||
Support -x: exit if the command size (see the -s or -n option)
|
||||
is exceeded.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM
|
||||
bool "Enable -0: NUL-terminated input"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ZERO_TERM
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
help
|
||||
Support -0: input items are terminated by a NUL character
|
||||
instead of whitespace, and the quotes and backslash
|
||||
are not special.
|
||||
Support -0: input items are terminated by a NUL character
|
||||
instead of whitespace, and the quotes and backslash
|
||||
are not special.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR
|
||||
bool "Enable -I STR: string to replace"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_REPL_STR
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
help
|
||||
Support -I STR and -i[STR] options.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL
|
||||
bool "Enable -P N: processes to run in parallel"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_PARALLEL
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE
|
||||
bool "Enable -a FILE: use FILE instead of stdin"
|
||||
default BUSYBOX_DEFAULT_FEATURE_XARGS_SUPPORT_ARGS_FILE
|
||||
depends on BUSYBOX_CONFIG_XARGS
|
||||
Support -I STR and -i[STR] options.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,130 +1,119 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Init Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_BOOTCHARTD
|
||||
bool "bootchartd (10 kb)"
|
||||
bool "bootchartd"
|
||||
default BUSYBOX_DEFAULT_BOOTCHARTD
|
||||
help
|
||||
bootchartd is commonly used to profile the boot process
|
||||
for the purpose of speeding it up. In this case, it is started
|
||||
by the kernel as the init process. This is configured by adding
|
||||
the init=/sbin/bootchartd option to the kernel command line.
|
||||
bootchartd is commonly used to profile the boot process
|
||||
for the purpose of speeding it up. In this case, it is started
|
||||
by the kernel as the init process. This is configured by adding
|
||||
the init=/sbin/bootchartd option to the kernel command line.
|
||||
|
||||
It can also be used to monitor the resource usage of a specific
|
||||
application or the running system in general. In this case,
|
||||
bootchartd is started interactively by running bootchartd start
|
||||
and stopped using bootchartd stop.
|
||||
It can also be used to monitor the resource usage of a specific
|
||||
application or the running system in general. In this case,
|
||||
bootchartd is started interactively by running bootchartd start
|
||||
and stopped using bootchartd stop.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER
|
||||
bool "Compatible, bloated header"
|
||||
default BUSYBOX_DEFAULT_FEATURE_BOOTCHARTD_BLOATED_HEADER
|
||||
depends on BUSYBOX_CONFIG_BOOTCHARTD
|
||||
help
|
||||
Create extended header file compatible with "big" bootchartd.
|
||||
"Big" bootchartd is a shell script and it dumps some
|
||||
"convenient" info into the header, such as:
|
||||
title = Boot chart for `hostname` (`date`)
|
||||
system.uname = `uname -srvm`
|
||||
system.release = `cat /etc/DISTRO-release`
|
||||
system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
|
||||
system.kernel.options = `cat /proc/cmdline`
|
||||
This data is not mandatory for bootchart graph generation,
|
||||
and is considered bloat. Nevertheless, this option
|
||||
makes bootchartd applet to dump a subset of it.
|
||||
Create extended header file compatible with "big" bootchartd.
|
||||
"Big" bootchartd is a shell script and it dumps some
|
||||
"convenient" info int the header, such as:
|
||||
title = Boot chart for `hostname` (`date`)
|
||||
system.uname = `uname -srvm`
|
||||
system.release = `cat /etc/DISTRO-release`
|
||||
system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
|
||||
system.kernel.options = `cat /proc/cmdline`
|
||||
This data is not mandatory for bootchart graph generation,
|
||||
and is considered bloat. Nevertheless, this option
|
||||
makes bootchartd applet to dump a subset of it.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE
|
||||
bool "Support bootchartd.conf"
|
||||
default BUSYBOX_DEFAULT_FEATURE_BOOTCHARTD_CONFIG_FILE
|
||||
depends on BUSYBOX_CONFIG_BOOTCHARTD
|
||||
help
|
||||
Enable reading and parsing of $PWD/bootchartd.conf
|
||||
and /etc/bootchartd.conf files.
|
||||
Enable reading and parsing of $PWD/bootchartd.conf
|
||||
and /etc/bootchartd.conf files.
|
||||
config BUSYBOX_CONFIG_HALT
|
||||
bool "halt (4 kb)"
|
||||
bool "halt"
|
||||
default BUSYBOX_DEFAULT_HALT
|
||||
help
|
||||
Stop all processes and halt the system.
|
||||
Stop all processes and halt the system.
|
||||
|
||||
config BUSYBOX_CONFIG_POWEROFF
|
||||
bool "poweroff (4 kb)"
|
||||
bool "poweroff"
|
||||
default BUSYBOX_DEFAULT_POWEROFF
|
||||
help
|
||||
Stop all processes and power off the system.
|
||||
Stop all processes and power off the system.
|
||||
|
||||
config BUSYBOX_CONFIG_REBOOT
|
||||
bool "reboot (4 kb)"
|
||||
bool "reboot"
|
||||
default BUSYBOX_DEFAULT_REBOOT
|
||||
help
|
||||
Stop all processes and reboot the system.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_WAIT_FOR_INIT
|
||||
bool "Before signaling init, make sure it is ready for it"
|
||||
default BUSYBOX_DEFAULT_FEATURE_WAIT_FOR_INIT
|
||||
depends on BUSYBOX_CONFIG_HALT || BUSYBOX_CONFIG_POWEROFF || BUSYBOX_CONFIG_REBOOT
|
||||
help
|
||||
In rare cases, poweroff may be commanded by firmware to OS
|
||||
even before init process exists. On Linux, this spawns
|
||||
"/sbin/poweroff" very early. This option adds code
|
||||
which checks that init is ready to receive poweroff
|
||||
commands. Code size increase of ~80 bytes.
|
||||
Stop all processes and reboot the system.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CALL_TELINIT
|
||||
bool "Call telinit on shutdown and reboot"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CALL_TELINIT
|
||||
depends on (BUSYBOX_CONFIG_HALT || BUSYBOX_CONFIG_POWEROFF || BUSYBOX_CONFIG_REBOOT) && !BUSYBOX_CONFIG_INIT
|
||||
help
|
||||
Call an external program (normally telinit) to facilitate
|
||||
a switch to a proper runlevel.
|
||||
Call an external program (normally telinit) to facilitate
|
||||
a switch to a proper runlevel.
|
||||
|
||||
This option is only available if you selected halt and friends,
|
||||
but did not select init.
|
||||
This option is only available if you selected halt and friends,
|
||||
but did not select init.
|
||||
|
||||
config BUSYBOX_CONFIG_TELINIT_PATH
|
||||
string "Path to telinit executable"
|
||||
default BUSYBOX_DEFAULT_TELINIT_PATH
|
||||
depends on BUSYBOX_CONFIG_FEATURE_CALL_TELINIT
|
||||
help
|
||||
When busybox halt and friends have to call external telinit
|
||||
to facilitate proper shutdown, this path is to be used when
|
||||
locating telinit executable.
|
||||
When busybox halt and friends have to call external telinit
|
||||
to facilitate proper shutdown, this path is to be used when
|
||||
locating telinit executable.
|
||||
config BUSYBOX_CONFIG_INIT
|
||||
bool "init (10 kb)"
|
||||
bool "init"
|
||||
default BUSYBOX_DEFAULT_INIT
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
init is the first program run when the system boots.
|
||||
init is the first program run when the system boots.
|
||||
|
||||
config BUSYBOX_CONFIG_LINUXRC
|
||||
bool "linuxrc: support running init from initrd (not initramfs)"
|
||||
default BUSYBOX_DEFAULT_LINUXRC
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
Legacy support for running init under the old-style initrd. Allows
|
||||
the name linuxrc to act as init, and it doesn't assume init is PID 1.
|
||||
Legacy support for running init under the old-style initrd. Allows
|
||||
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.
|
||||
This does not apply to initramfs, which runs /init as PID 1 and
|
||||
requires no special support.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_USE_INITTAB
|
||||
bool "Support reading an inittab file"
|
||||
default BUSYBOX_DEFAULT_FEATURE_USE_INITTAB
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
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_KILL_REMOVED
|
||||
bool "Support killing processes that have been removed from inittab"
|
||||
default BUSYBOX_DEFAULT_FEATURE_KILL_REMOVED
|
||||
depends on BUSYBOX_CONFIG_FEATURE_USE_INITTAB
|
||||
help
|
||||
When respawn entries are removed from inittab and a SIGHUP is
|
||||
sent to init, this option will make init kill the processes
|
||||
that have been removed.
|
||||
When respawn entries are removed from inittab and a SIGHUP is
|
||||
sent to init, this option will make init kill the processes
|
||||
that have been removed.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_KILL_DELAY
|
||||
int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
|
||||
@ -132,34 +121,34 @@ config BUSYBOX_CONFIG_FEATURE_KILL_DELAY
|
||||
default BUSYBOX_DEFAULT_FEATURE_KILL_DELAY
|
||||
depends on BUSYBOX_CONFIG_FEATURE_KILL_REMOVED
|
||||
help
|
||||
With nonzero setting, init sends TERM, forks, child waits N
|
||||
seconds, sends KILL and exits. Setting it too high is unwise
|
||||
(child will hang around for too long and could actually kill
|
||||
the wrong process!)
|
||||
With nonzero setting, init sends TERM, forks, child waits N
|
||||
seconds, sends KILL and exits. Setting it too high is unwise
|
||||
(child will hang around for too long and could actually kill
|
||||
the wrong process!)
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY
|
||||
bool "Run commands with leading dash with controlling tty"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INIT_SCTTY
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
help
|
||||
If this option is enabled, init will try to give a controlling
|
||||
tty to any command which has leading hyphen (often it's "-/bin/sh").
|
||||
More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
|
||||
If device attached to STDIN_FILENO can be a ctty but is not yet
|
||||
a ctty for other session, it will become this process' ctty.
|
||||
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.
|
||||
NB: using cttyhack applet may work better.
|
||||
If this option is enabled, init will try to give a controlling
|
||||
tty to any command which has leading hyphen (often it's "-/bin/sh").
|
||||
More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
|
||||
If device attached to STDIN_FILENO can be a ctty but is not yet
|
||||
a ctty for other session, it will become this process' ctty.
|
||||
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.
|
||||
NB: using cttyhack applet may work better.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INIT_SYSLOG
|
||||
bool "Enable init to write to syslog"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INIT_SYSLOG
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
help
|
||||
If selected, some init messages are sent to syslog.
|
||||
Otherwise, they are sent to VT #5 if linux virtual tty is detected
|
||||
(if not, no separate logging is done).
|
||||
If selected, some init messages are sent to syslog.
|
||||
Otherwise, they are sent to VT #5 if linux virtual tty is detected
|
||||
(if not, no separate logging is done).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INIT_QUIET
|
||||
bool "Be quiet on boot (no 'init started:' message)"
|
||||
@ -171,36 +160,36 @@ config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
|
||||
default BUSYBOX_DEFAULT_FEATURE_INIT_COREDUMPS # not Y because this is a debug option
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
help
|
||||
If this option is enabled and the file /.init_enable_core
|
||||
exists, then init will call setrlimit() to allow unlimited
|
||||
core file sizes. If this option is disabled, processes
|
||||
will not generate any core files.
|
||||
If this option is enabled and the file /.init_enable_core
|
||||
exists, then init will call setrlimit() to allow unlimited
|
||||
core file sizes. If this option is disabled, processes
|
||||
will not generate any core files.
|
||||
|
||||
config BUSYBOX_CONFIG_INIT_TERMINAL_TYPE
|
||||
string "Initial terminal type"
|
||||
default BUSYBOX_DEFAULT_INIT_TERMINAL_TYPE
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
help
|
||||
This is the initial value set by init for the TERM environment
|
||||
variable. This variable is used by programs which make use of
|
||||
extended terminal capabilities.
|
||||
This is the initial value set by init for the TERM environment
|
||||
variable. This variable is used by programs which make use of
|
||||
extended terminal capabilities.
|
||||
|
||||
Note that on Linux, init attempts to detect serial terminal and
|
||||
sets TERM to "vt102" if one is found.
|
||||
Note that on Linux, init attempts to detect serial terminal and
|
||||
sets TERM to "vt102" if one is found.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INIT_MODIFY_CMDLINE
|
||||
bool "Clear init's command line"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INIT_MODIFY_CMDLINE
|
||||
depends on BUSYBOX_CONFIG_INIT || BUSYBOX_CONFIG_LINUXRC
|
||||
help
|
||||
When launched as PID 1 and after parsing its arguments, init
|
||||
wipes all the arguments but argv[0] and rewrites argv[0] to
|
||||
contain only "init", so that its command line appears solely as
|
||||
"init" in tools such as ps.
|
||||
If this option is set to Y, init will keep its original behavior,
|
||||
otherwise, all the arguments including argv[0] will be preserved,
|
||||
be they parsed or ignored by init.
|
||||
The original command-line used to launch init can then be
|
||||
retrieved in /proc/1/cmdline on Linux, for example.
|
||||
When launched as PID 1 and after parsing its arguments, init
|
||||
wipes all the arguments but argv[0] and rewrites argv[0] to
|
||||
contain only "init", so that its command line appears solely as
|
||||
"init" in tools such as ps.
|
||||
If this option is set to Y, init will keep its original behavior,
|
||||
otherwise, all the arguments including argv[0] will be preserved,
|
||||
be they parsed or ignored by init.
|
||||
The original command-line used to launch init can then be
|
||||
retrieved in /proc/1/cmdline on Linux, for example.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,43 +0,0 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
#
|
||||
|
||||
menu "klibc-utils"
|
||||
|
||||
config BUSYBOX_CONFIG_MINIPS
|
||||
bool "minips (11 kb)"
|
||||
default BUSYBOX_DEFAULT_MINIPS # for god's sake, just use "ps" name in your scripts
|
||||
help
|
||||
Alias to "ps".
|
||||
config BUSYBOX_CONFIG_NUKE
|
||||
bool "nuke (2.9 kb)"
|
||||
default BUSYBOX_DEFAULT_NUKE
|
||||
help
|
||||
Alias to "rm -rf".
|
||||
config BUSYBOX_CONFIG_RESUME
|
||||
bool "resume (3.2 kb)"
|
||||
default BUSYBOX_DEFAULT_RESUME
|
||||
help
|
||||
Resume from saved "suspend-to-disk" image
|
||||
config BUSYBOX_CONFIG_RUN_INIT
|
||||
bool "run-init (7.7 kb)"
|
||||
default BUSYBOX_DEFAULT_RUN_INIT
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
The run-init utility is used from initramfs to select a new
|
||||
root device. Under initramfs, you have to use this instead of
|
||||
pivot_root.
|
||||
|
||||
Booting with initramfs extracts a gzipped cpio archive into rootfs
|
||||
(which is a variant of ramfs/tmpfs). Because rootfs can't be moved
|
||||
or unmounted, pivot_root will not work from initramfs. Instead,
|
||||
run-init deletes everything out of rootfs (including itself),
|
||||
does a mount --move that overmounts rootfs with the new root, and
|
||||
then execs the specified init program.
|
||||
|
||||
util-linux has a similar tool, switch-root.
|
||||
run-init differs by also having a "-d CAPS_TO_DROP" option.
|
||||
|
||||
endmenu
|
||||
@ -1,79 +1,62 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
comment "Library Tuning"
|
||||
menu "Busybox Library Tuning"
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_USE_BSS_TAIL
|
||||
bool "Use the end of BSS page"
|
||||
default BUSYBOX_DEFAULT_FEATURE_USE_BSS_TAIL
|
||||
help
|
||||
Attempt to reclaim a small unused part of BSS.
|
||||
Attempt to reclaim a small unused part of BSS.
|
||||
|
||||
Executables have the following parts:
|
||||
= read-only executable code and constants, also known as "text"
|
||||
= read-write data
|
||||
= non-initialized (zeroed on demand) data, also known as "bss"
|
||||
Executables have the following parts:
|
||||
= read-only executable code and constants, also known as "text"
|
||||
= read-write data
|
||||
= non-initialized (zeroed on demand) data, also known as "bss"
|
||||
|
||||
At link time, "text" is padded to a full page. At runtime, all "text"
|
||||
pages are mapped RO and executable.
|
||||
At link time, "text" is padded to a full page. At runtime, all "text"
|
||||
pages are mapped RO and executable.
|
||||
"Data" starts on the next page boundary, but is not padded
|
||||
to a full page at the end. "Bss" starts wherever "data" ends.
|
||||
At runtime, "data" pages are mapped RW and they are file-backed
|
||||
(this includes a small portion of "bss" which may live in the last
|
||||
partial page of "data").
|
||||
Pages which are fully in "bss" are mapped to anonymous memory.
|
||||
|
||||
"Data" starts on the next page boundary, but is not padded
|
||||
to a full page at the end. "Bss" starts wherever "data" ends.
|
||||
At runtime, "data" pages are mapped RW and they are file-backed
|
||||
(this includes a small portion of "bss" which may live in the last
|
||||
partial page of "data").
|
||||
Pages which are fully in "bss" are mapped to anonymous memory.
|
||||
"Bss" end is usually not page-aligned. There is an unused space
|
||||
in the last page. Linker marks its start with the "_end" symbol.
|
||||
|
||||
"Bss" end is usually not page-aligned. There is an unused space
|
||||
in the last page. Linker marks its start with the "_end" symbol.
|
||||
This option will attempt to use that space for bb_common_bufsiz1[]
|
||||
array. If it fits after _end, it will be used, and COMMON_BUFSIZE
|
||||
will be enlarged from its guaranteed minimum size of 1 kbyte.
|
||||
This may require recompilation a second time, since value of _end
|
||||
is known only after final link.
|
||||
|
||||
This option will attempt to use that space for bb_common_bufsiz1[]
|
||||
array. If it fits after _end, it will be used, and COMMON_BUFSIZE
|
||||
will be enlarged from its guaranteed minimum size of 1 kbyte.
|
||||
This may require recompilation a second time, since value of _end
|
||||
is known only after final link.
|
||||
|
||||
If you are getting a build error like this:
|
||||
appletlib.c:(.text.main+0xd): undefined reference to '_end'
|
||||
disable this option.
|
||||
config BUSYBOX_CONFIG_FLOAT_DURATION
|
||||
bool "Enable fractional duration arguments"
|
||||
default BUSYBOX_DEFAULT_FLOAT_DURATION
|
||||
help
|
||||
Allow sleep N.NNN, top -d N.NNN etc.
|
||||
If you are getting a build error like this:
|
||||
appletlib.c:(.text.main+0xd): undefined reference to '_end'
|
||||
disable this option.
|
||||
config BUSYBOX_CONFIG_FEATURE_RTMINMAX
|
||||
bool "Support RTMIN[+n] and RTMAX[-n] signal names"
|
||||
default BUSYBOX_DEFAULT_FEATURE_RTMINMAX
|
||||
help
|
||||
Support RTMIN[+n] and RTMAX[-n] signal names
|
||||
in kill, killall etc. This costs ~250 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS
|
||||
bool "Use the definitions of SIGRTMIN/SIGRTMAX provided by libc"
|
||||
default BUSYBOX_DEFAULT_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_RTMINMAX
|
||||
help
|
||||
Some C libraries reserve a few real-time signals for internal
|
||||
use, and adjust the values of SIGRTMIN/SIGRTMAX seen by
|
||||
applications accordingly. Saying yes here means that a signal
|
||||
name RTMIN+n will be interpreted according to the libc definition
|
||||
of SIGRTMIN, and not the raw definition provided by the kernel.
|
||||
This behavior matches "kill -l RTMIN+n" from bash.
|
||||
Support RTMIN[+n] and RTMAX[-n] signal names
|
||||
in kill, killall etc. This costs ~250 bytes.
|
||||
|
||||
choice
|
||||
prompt "Buffer allocation policy"
|
||||
default BUSYBOX_CONFIG_FEATURE_BUFFERS_GO_ON_STACK
|
||||
help
|
||||
There are 3 ways busybox can handle buffer allocations:
|
||||
- Use malloc. This costs code size for the call to xmalloc.
|
||||
- Put them on stack. For some very small machines with limited stack
|
||||
space, this can be deadly. For most folks, this works just fine.
|
||||
- Put them in BSS. This works beautifully for computers with a real
|
||||
MMU (and OS support), but wastes runtime RAM for uCLinux. This
|
||||
behavior was the only one available for versions 0.48 and earlier.
|
||||
There are 3 ways BusyBox can handle buffer allocations:
|
||||
- Use malloc. This costs code size for the call to xmalloc.
|
||||
- Put them on stack. For some very small machines with limited stack
|
||||
space, this can be deadly. For most folks, this works just fine.
|
||||
- Put them in BSS. This works beautifully for computers with a real
|
||||
MMU (and OS support), but wastes runtime RAM for uCLinux. This
|
||||
behavior was the only one available for BusyBox versions 0.48 and
|
||||
earlier.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_BUFFERS_USE_MALLOC
|
||||
bool "Allocate with Malloc"
|
||||
@ -91,64 +74,52 @@ config BUSYBOX_CONFIG_PASSWORD_MINLEN
|
||||
default BUSYBOX_DEFAULT_PASSWORD_MINLEN
|
||||
range 5 32
|
||||
help
|
||||
Minimum allowable password length.
|
||||
Minimum allowable password length.
|
||||
|
||||
config BUSYBOX_CONFIG_MD5_SMALL
|
||||
int "MD5: Trade bytes for speed (0:fast, 3:slow)"
|
||||
default BUSYBOX_DEFAULT_MD5_SMALL # all "fast or small" options default to small
|
||||
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:
|
||||
value user times (sec) text size (386)
|
||||
0 (fastest) 1.1 6144
|
||||
1 1.4 5392
|
||||
2 3.0 5088
|
||||
3 (smallest) 5.1 4912
|
||||
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
|
||||
|
||||
config BUSYBOX_CONFIG_SHA3_SMALL
|
||||
int "SHA3: Trade bytes for speed (0:fast, 1:slow)"
|
||||
default BUSYBOX_DEFAULT_SHA3_SMALL # all "fast or small" options default to small
|
||||
range 0 1
|
||||
help
|
||||
Trade binary size versus speed for the sha3sum algorithm.
|
||||
SHA3_SMALL=0 compared to SHA3_SMALL=1 (approximate):
|
||||
64-bit x86: +270 bytes of code, 45% faster
|
||||
32-bit x86: +450 bytes of code, 75% faster
|
||||
Trade binary size versus speed for the sha3sum algorithm.
|
||||
SHA3_SMALL=0 compared to SHA3_SMALL=1 (approximate):
|
||||
64-bit x86: +270 bytes of code, 45% faster
|
||||
32-bit x86: +450 bytes of code, 75% faster
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_FAST_TOP
|
||||
bool "Faster /proc scanning code (+100 bytes)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_FAST_TOP # all "fast or small" options default to small
|
||||
help
|
||||
This option makes top and ps ~20% faster (or 20% less CPU hungry),
|
||||
but code size is slightly bigger.
|
||||
This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
|
||||
but code size is slightly bigger.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
|
||||
bool "Support /etc/networks"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ETC_NETWORKS
|
||||
help
|
||||
Enable support for network names in /etc/networks. This is
|
||||
a rarely used feature which allows you to use names
|
||||
instead of IP/mask pairs in route command.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ETC_SERVICES
|
||||
bool "Consult /etc/services even for well-known ports"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ETC_SERVICES
|
||||
help
|
||||
Look up e.g. "telnet" and "http" in /etc/services file
|
||||
instead of assuming ports 23 and 80.
|
||||
This is almost never necessary (everybody uses standard ports),
|
||||
and it makes sense to avoid reading this file.
|
||||
If you disable this option, in the cases where port is explicitly
|
||||
specified as a service name (e.g. "telnet HOST PORTNAME"),
|
||||
it will still be looked up in /etc/services.
|
||||
Enable support for network names in /etc/networks. This is
|
||||
a rarely used feature which allows you to use names
|
||||
instead of IP/mask pairs in route command.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
bool "Command line editing"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING
|
||||
help
|
||||
Enable line editing (mainly for shell command line).
|
||||
Enable line editing (mainly for shell command line).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
|
||||
int "Maximum length of input"
|
||||
@ -156,17 +127,17 @@ config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_MAX_LEN
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Line editing code uses on-stack buffers for storage.
|
||||
You may want to decrease this parameter if your target machine
|
||||
benefits from smaller stack usage.
|
||||
Line editing code uses on-stack buffers for storage.
|
||||
You may want to decrease this parameter if your target machine
|
||||
benefits from smaller stack usage.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_VI
|
||||
bool "vi-style line editing commands"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_VI
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Enable vi-style line editing. In shells, this mode can be
|
||||
turned on and off with "set -o vi" and "set +o vi".
|
||||
Enable vi-style line editing. In shells, this mode can be
|
||||
turned on and off with "set -o vi" and "set +o vi".
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
|
||||
int "History size"
|
||||
@ -175,29 +146,29 @@ config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_HISTORY
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Specify command history size (0 - disable).
|
||||
Specify command history size (0 - disable).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
|
||||
bool "History saving"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_SAVEHISTORY
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Enable history saving in shells.
|
||||
Enable history saving in shells.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT
|
||||
bool "Save history on shell exit, not after every command"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_SAVE_ON_EXIT
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
|
||||
help
|
||||
Save history on shell exit, not after every command.
|
||||
Save history on shell exit, not after every command.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH
|
||||
bool "Reverse history search"
|
||||
default BUSYBOX_DEFAULT_FEATURE_REVERSE_SEARCH
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Enable readline-like Ctrl-R combination for reverse history search.
|
||||
Increases code by about 0.5k.
|
||||
Enable readline-like Ctrl-R combination for reverse history search.
|
||||
Increases code by about 0.5k.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
|
||||
bool "Tab completion"
|
||||
@ -214,242 +185,236 @@ config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_FANCY_PROMPT
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Setting this option allows for prompts to use things like \w and
|
||||
\$ and escape codes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_WINCH
|
||||
bool "Enable automatic tracking of window size changes"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_WINCH
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
Setting this option allows for prompts to use things like \w and
|
||||
\$ and escape codes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_EDITING_ASK_TERMINAL
|
||||
bool "Query cursor position from terminal"
|
||||
default BUSYBOX_DEFAULT_FEATURE_EDITING_ASK_TERMINAL
|
||||
depends on BUSYBOX_CONFIG_FEATURE_EDITING
|
||||
help
|
||||
Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
|
||||
current cursor position. This information is used to make line
|
||||
editing more robust in some cases.
|
||||
If you are not sure whether your terminals respond to this code
|
||||
correctly, or want to save on code size (about 400 bytes),
|
||||
then do not turn this option on.
|
||||
Allow usage of "ESC [ 6 n" sequence. Terminal answers back with
|
||||
current cursor position. This information is used to make line
|
||||
editing more robust in some cases.
|
||||
If you are not sure whether your terminals respond to this code
|
||||
correctly, or want to save on code size (about 400 bytes),
|
||||
then do not turn this option on.
|
||||
|
||||
config BUSYBOX_CONFIG_LOCALE_SUPPORT
|
||||
bool "Enable locale support (system needs locale for this to work)"
|
||||
default BUSYBOX_DEFAULT_LOCALE_SUPPORT
|
||||
help
|
||||
Enable this if your system has locale support and you would like
|
||||
busybox to support locale settings.
|
||||
Enable this if your system has locale support and you would like
|
||||
busybox to support locale settings.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
bool "Support Unicode"
|
||||
default BUSYBOX_DEFAULT_UNICODE_SUPPORT
|
||||
help
|
||||
This makes various applets aware that one byte is not
|
||||
one character on screen.
|
||||
This makes various applets aware that one byte is not
|
||||
one character on screen.
|
||||
|
||||
Busybox aims to eventually work correctly with Unicode displays.
|
||||
Any older encodings are not guaranteed to work.
|
||||
Probably by the time when busybox will be fully Unicode-clean,
|
||||
other encodings will be mainly of historic interest.
|
||||
Busybox aims to eventually work correctly with Unicode displays.
|
||||
Any older encodings are not guaranteed to work.
|
||||
Probably by the time when busybox will be fully Unicode-clean,
|
||||
other encodings will be mainly of historic interest.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_USING_LOCALE
|
||||
bool "Use libc routines for Unicode (else uses internal ones)"
|
||||
default BUSYBOX_DEFAULT_UNICODE_USING_LOCALE
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT && BUSYBOX_CONFIG_LOCALE_SUPPORT
|
||||
help
|
||||
With this option on, Unicode support is implemented using libc
|
||||
routines. Otherwise, internal implementation is used.
|
||||
Internal implementation is smaller.
|
||||
With this option on, Unicode support is implemented using libc
|
||||
routines. Otherwise, internal implementation is used.
|
||||
Internal implementation is smaller.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CHECK_UNICODE_IN_ENV
|
||||
bool "Check $LC_ALL, $LC_CTYPE and $LANG environment variables"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CHECK_UNICODE_IN_ENV
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT && !BUSYBOX_CONFIG_UNICODE_USING_LOCALE
|
||||
help
|
||||
With this option on, Unicode support is activated
|
||||
only if locale-related variables have the value of the form
|
||||
"xxxx.utf8"
|
||||
With this option on, Unicode support is activated
|
||||
only if locale-related variables have the value of the form
|
||||
"xxxx.utf8"
|
||||
|
||||
Otherwise, Unicode support will be always enabled and active.
|
||||
Otherwise, Unicode support will be always enabled and active.
|
||||
|
||||
config BUSYBOX_CONFIG_SUBST_WCHAR
|
||||
int "Character code to substitute unprintable characters with"
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
default BUSYBOX_DEFAULT_SUBST_WCHAR
|
||||
help
|
||||
Typical values are 63 for '?' (works with any output device),
|
||||
30 for ASCII substitute control code,
|
||||
65533 (0xfffd) for Unicode replacement character.
|
||||
Typical values are 63 for '?' (works with any output device),
|
||||
30 for ASCII substitute control code,
|
||||
65533 (0xfffd) for Unicode replacement character.
|
||||
|
||||
config BUSYBOX_CONFIG_LAST_SUPPORTED_WCHAR
|
||||
int "Range of supported Unicode characters"
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
default BUSYBOX_DEFAULT_LAST_SUPPORTED_WCHAR
|
||||
help
|
||||
Any character with Unicode value bigger than this is assumed
|
||||
to be non-printable on output device. Many applets replace
|
||||
such characters with substitution character.
|
||||
Any character with Unicode value bigger than this is assumed
|
||||
to be non-printable on output device. Many applets replace
|
||||
such characters with substitution character.
|
||||
|
||||
The idea is that many valid printable Unicode chars
|
||||
nevertheless are not displayed correctly. Think about
|
||||
combining charachers, double-wide hieroglyphs, obscure
|
||||
characters in dozens of ancient scripts...
|
||||
Many terminals, terminal emulators, xterms etc will fail
|
||||
to handle them correctly. Choose the smallest value
|
||||
which suits your needs.
|
||||
The idea is that many valid printable Unicode chars
|
||||
nevertheless are not displayed correctly. Think about
|
||||
combining charachers, double-wide hieroglyphs, obscure
|
||||
characters in dozens of ancient scripts...
|
||||
Many terminals, terminal emulators, xterms etc will fail
|
||||
to handle them correctly. Choose the smallest value
|
||||
which suits your needs.
|
||||
|
||||
Typical values are:
|
||||
126 - ASCII only
|
||||
767 (0x2ff) - there are no combining chars in [0..767] range
|
||||
Typical values are:
|
||||
126 - ASCII only
|
||||
767 (0x2ff) - there are no combining chars in [0..767] range
|
||||
(the range includes Latin 1, Latin Ext. A and B),
|
||||
code is ~700 bytes smaller for this case.
|
||||
4351 (0x10ff) - there are no double-wide chars in [0..4351] range,
|
||||
4351 (0x10ff) - there are no double-wide chars in [0..4351] range,
|
||||
code is ~300 bytes smaller for this case.
|
||||
12799 (0x31ff) - nearly all non-ideographic characters are
|
||||
12799 (0x31ff) - nearly all non-ideographic characters are
|
||||
available in [0..12799] range, including
|
||||
East Asian scripts like katakana, hiragana, hangul,
|
||||
bopomofo...
|
||||
0 - off, any valid printable Unicode character will be printed.
|
||||
0 - off, any valid printable Unicode character will be printed.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_COMBINING_WCHARS
|
||||
bool "Allow zero-width Unicode characters on output"
|
||||
default BUSYBOX_DEFAULT_UNICODE_COMBINING_WCHARS
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
help
|
||||
With this option off, any Unicode char with width of 0
|
||||
is substituted on output.
|
||||
With this option off, any Unicode char with width of 0
|
||||
is substituted on output.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_WIDE_WCHARS
|
||||
bool "Allow wide Unicode characters on output"
|
||||
default BUSYBOX_DEFAULT_UNICODE_WIDE_WCHARS
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
help
|
||||
With this option off, any Unicode char with width > 1
|
||||
is substituted on output.
|
||||
With this option off, any Unicode char with width > 1
|
||||
is substituted on output.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_BIDI_SUPPORT
|
||||
bool "Bidirectional character-aware line input"
|
||||
default BUSYBOX_DEFAULT_UNICODE_BIDI_SUPPORT
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT && !BUSYBOX_CONFIG_UNICODE_USING_LOCALE
|
||||
help
|
||||
With this option on, right-to-left Unicode characters
|
||||
are treated differently on input (e.g. cursor movement).
|
||||
With this option on, right-to-left Unicode characters
|
||||
are treated differently on input (e.g. cursor movement).
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_NEUTRAL_TABLE
|
||||
bool "In bidi input, support non-ASCII neutral chars too"
|
||||
default BUSYBOX_DEFAULT_UNICODE_NEUTRAL_TABLE
|
||||
depends on BUSYBOX_CONFIG_UNICODE_BIDI_SUPPORT
|
||||
help
|
||||
In most cases it's enough to treat only ASCII non-letters
|
||||
(i.e. punctuation, numbers and space) as characters
|
||||
with neutral directionality.
|
||||
With this option on, more extensive (and bigger) table
|
||||
of neutral chars will be used.
|
||||
In most cases it's enough to treat only ASCII non-letters
|
||||
(i.e. punctuation, numbers and space) as characters
|
||||
with neutral directionality.
|
||||
With this option on, more extensive (and bigger) table
|
||||
of neutral chars will be used.
|
||||
|
||||
config BUSYBOX_CONFIG_UNICODE_PRESERVE_BROKEN
|
||||
bool "Make it possible to enter sequences of chars which are not Unicode"
|
||||
default BUSYBOX_DEFAULT_UNICODE_PRESERVE_BROKEN
|
||||
depends on BUSYBOX_CONFIG_UNICODE_SUPPORT
|
||||
help
|
||||
With this option on, on line-editing input (such as used by shells)
|
||||
invalid UTF-8 bytes are not substituted with the selected
|
||||
substitution character.
|
||||
For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
|
||||
at shell prompt will list file named 0xff (single char name
|
||||
with char value 255), not file named '?'.
|
||||
With this option on, on line-editing input (such as used by shells)
|
||||
invalid UTF-8 bytes are not substituted with the selected
|
||||
substitution character.
|
||||
For example, this means that entering 'l', 's', ' ', 0xff, [Enter]
|
||||
at shell prompt will list file named 0xff (single char name
|
||||
with char value 255), not file named '?'.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_NON_POSIX_CP
|
||||
bool "Non-POSIX, but safer, copying to special nodes"
|
||||
default BUSYBOX_DEFAULT_FEATURE_NON_POSIX_CP
|
||||
help
|
||||
With this option, "cp file symlink" will delete symlink
|
||||
and create a regular file. This does not conform to POSIX,
|
||||
but prevents a symlink attack.
|
||||
Similarly, "cp file device" will not send file's data
|
||||
to the device. (To do that, use "cat file >device")
|
||||
With this option, "cp file symlink" will delete symlink
|
||||
and create a regular file. This does not conform to POSIX,
|
||||
but prevents a symlink attack.
|
||||
Similarly, "cp file device" will not send file's data
|
||||
to the device. (To do that, use "cat file >device")
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_VERBOSE_CP_MESSAGE
|
||||
bool "Give more precise messages when copy fails (cp, mv etc)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VERBOSE_CP_MESSAGE
|
||||
help
|
||||
Error messages with this feature enabled:
|
||||
|
||||
$ cp file /does_not_exist/file
|
||||
cp: cannot create '/does_not_exist/file': Path does not exist
|
||||
$ cp file /vmlinuz/file
|
||||
cp: cannot stat '/vmlinuz/file': Path has non-directory component
|
||||
|
||||
If this feature is not enabled, they will be, respectively:
|
||||
|
||||
cp: cannot create '/does_not_exist/file': No such file or directory
|
||||
cp: cannot stat '/vmlinuz/file': Not a directory
|
||||
|
||||
This will cost you ~60 bytes.
|
||||
Error messages with this feature enabled:
|
||||
$ cp file /does_not_exist/file
|
||||
cp: cannot create '/does_not_exist/file': Path does not exist
|
||||
$ cp file /vmlinuz/file
|
||||
cp: cannot stat '/vmlinuz/file': Path has non-directory component
|
||||
If this feature is not enabled, they will be, respectively:
|
||||
cp: cannot create '/does_not_exist/file': No such file or directory
|
||||
cp: cannot stat '/vmlinuz/file': Not a directory
|
||||
This will cost you ~60 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_USE_SENDFILE
|
||||
bool "Use sendfile system call"
|
||||
default BUSYBOX_DEFAULT_FEATURE_USE_SENDFILE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
When enabled, busybox will use the kernel sendfile() function
|
||||
instead of read/write loops to copy data between file descriptors
|
||||
(for example, cp command does this a lot).
|
||||
If sendfile() doesn't work, copying code falls back to read/write
|
||||
loop. sendfile() was originally implemented for faster I/O
|
||||
from files to sockets, but since Linux 2.6.33 it was extended
|
||||
to work for many more file types.
|
||||
When enabled, busybox will use the kernel sendfile() function
|
||||
instead of read/write loops to copy data between file descriptors
|
||||
(for example, cp command does this a lot).
|
||||
If sendfile() doesn't work, copying code falls back to read/write
|
||||
loop. sendfile() was originally implemented for faster I/O
|
||||
from files to sockets, but since Linux 2.6.33 it was extended
|
||||
to work for many more file types.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_COPYBUF_KB
|
||||
int "Copy buffer size, in kilobytes"
|
||||
range 1 1024
|
||||
default BUSYBOX_DEFAULT_FEATURE_COPYBUF_KB
|
||||
help
|
||||
Size of buffer used by cp, mv, install, wget etc.
|
||||
Buffers which are 4 kb or less will be allocated on stack.
|
||||
Bigger buffers will be allocated with mmap, with fallback to 4 kb
|
||||
stack buffer if mmap fails.
|
||||
Size of buffer used by cp, mv, install, wget etc.
|
||||
Buffers which are 4 kb or less will be allocated on stack.
|
||||
Bigger buffers will be allocated with mmap, with fallback to 4 kb
|
||||
stack buffer if mmap fails.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
|
||||
bool "Skip rootfs in mount table"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SKIP_ROOTFS
|
||||
help
|
||||
Ignore rootfs entry in mount table.
|
||||
Ignore rootfs entry in mount table.
|
||||
|
||||
In Linux, kernel has a special filesystem, rootfs, which is initially
|
||||
mounted on /. It contains initramfs data, if kernel is configured
|
||||
to have one. Usually, another file system is mounted over / early
|
||||
in boot process, and therefore most tools which manipulate
|
||||
mount table, such as df, will skip rootfs entry.
|
||||
In Linux, kernel has a special filesystem, rootfs, which is initially
|
||||
mounted on /. It contains initramfs data, if kernel is configured
|
||||
to have one. Usually, another file system is mounted over / early
|
||||
in boot process, and therefore most tools which manipulate
|
||||
mount table, such as df, will skip rootfs entry.
|
||||
|
||||
However, some systems do not mount anything on /.
|
||||
If you need to configure busybox for one of these systems,
|
||||
you may find it useful to turn this option off to make df show
|
||||
initramfs statistics.
|
||||
However, some systems do not mount anything on /.
|
||||
If you need to configure busybox for one of these systems,
|
||||
you may find it useful to turn this option off to make df show
|
||||
initramfs statistics.
|
||||
|
||||
Otherwise, choose Y.
|
||||
Otherwise, choose Y.
|
||||
|
||||
config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
|
||||
bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
|
||||
default BUSYBOX_DEFAULT_MONOTONIC_SYSCALL
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
|
||||
time intervals (time, ping, traceroute etc need this).
|
||||
Probably requires Linux 2.6+. If not selected, gettimeofday
|
||||
will be used instead (which gives wrong results if date/time
|
||||
is reset).
|
||||
Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
|
||||
time intervals (time, ping, traceroute etc need this).
|
||||
Probably requires Linux 2.6+. If not selected, gettimeofday
|
||||
will be used instead (which gives wrong results if date/time
|
||||
is reset).
|
||||
|
||||
config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
|
||||
bool "Use ioctl names rather than hex values in error messages"
|
||||
default BUSYBOX_DEFAULT_IOCTL_HEX2STR_ERROR
|
||||
help
|
||||
Use ioctl names rather than hex values in error messages
|
||||
(e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
|
||||
saves about 1400 bytes.
|
||||
Use ioctl names rather than hex values in error messages
|
||||
(e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
|
||||
saves about 1400 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_HWIB
|
||||
bool "Support infiniband HW"
|
||||
default BUSYBOX_DEFAULT_FEATURE_HWIB
|
||||
help
|
||||
Support for printing infiniband addresses in network applets.
|
||||
Support for printing infiniband addresses in
|
||||
network applets.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Login/Password Management Utilities"
|
||||
@ -10,139 +10,147 @@ config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS
|
||||
bool "Support shadow passwords"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SHADOWPASSWDS
|
||||
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.
|
||||
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_PWD_GRP
|
||||
bool "Use internal password and group functions rather than system functions"
|
||||
default BUSYBOX_DEFAULT_USE_BB_PWD_GRP
|
||||
help
|
||||
If you leave this disabled, busybox will use the system's password
|
||||
and group 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 password and group functions to work. This generally
|
||||
makes your embedded system quite a bit larger.
|
||||
If you leave this disabled, busybox will use the system's password
|
||||
and group 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 password and group 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/password, /etc/group files (and your system will be
|
||||
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 remote LDAP password servers and whatnot. And if you
|
||||
want hostname resolution to work with glibc, you still need the
|
||||
/lib/libnss_* libraries.
|
||||
Enabling this option will cause busybox to directly access the
|
||||
system's /etc/password, /etc/group files (and your system will be
|
||||
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 remote LDAP password servers and whatnot. And if you
|
||||
want hostname resolution to work with glibc, you still need the
|
||||
/lib/libnss_* libraries.
|
||||
|
||||
If you need to use glibc's nsswitch.conf mechanism
|
||||
(e.g. if user/group database is NOT stored in /etc/passwd etc),
|
||||
you must NOT use this option.
|
||||
If you need to use glibc's nsswitch.conf mechanism
|
||||
(e.g. if user/group database is NOT stored in /etc/passwd etc),
|
||||
you must NOT use this option.
|
||||
|
||||
If you enable this option, it will add about 1.5k.
|
||||
If you enable this option, it will add about 1.5k.
|
||||
|
||||
config BUSYBOX_CONFIG_USE_BB_SHADOW
|
||||
bool "Use internal shadow password functions"
|
||||
default BUSYBOX_DEFAULT_USE_BB_SHADOW
|
||||
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.
|
||||
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.
|
||||
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_CRYPT
|
||||
bool "Use internal crypt functions"
|
||||
default BUSYBOX_DEFAULT_USE_BB_CRYPT
|
||||
help
|
||||
Busybox has internal DES and MD5 crypt functions.
|
||||
They produce results which are identical to corresponding
|
||||
standard C library functions.
|
||||
Busybox has internal DES and MD5 crypt functions.
|
||||
They produce results which are identical to corresponding
|
||||
standard C library functions.
|
||||
|
||||
If you leave this disabled, busybox will use the system's
|
||||
crypt functions. Most C libraries use large (~70k)
|
||||
static buffers there, and also combine them with more general
|
||||
DES encryption/decryption.
|
||||
If you leave this disabled, busybox will use the system's
|
||||
crypt functions. Most C libraries use large (~70k)
|
||||
static buffers there, and also combine them with more general
|
||||
DES encryption/decryption.
|
||||
|
||||
For busybox, having large static buffers is undesirable,
|
||||
especially on NOMMU machines. Busybox also doesn't need
|
||||
DES encryption/decryption and can do with smaller code.
|
||||
For busybox, having large static buffers is undesirable,
|
||||
especially on NOMMU machines. Busybox also doesn't need
|
||||
DES encryption/decryption and can do with smaller code.
|
||||
|
||||
If you enable this option, it will add about 4.8k of code
|
||||
if you are building dynamically linked executable.
|
||||
In static build, it makes code _smaller_ by about 1.2k,
|
||||
and likely many kilobytes less of bss.
|
||||
If you enable this option, it will add about 4.8k of code
|
||||
if you are building dynamically linked executable.
|
||||
In static build, it makes code _smaller_ by about 1.2k,
|
||||
and likely many kilobytes less of bss.
|
||||
|
||||
config BUSYBOX_CONFIG_USE_BB_CRYPT_SHA
|
||||
bool "Enable SHA256/512 crypt functions"
|
||||
default BUSYBOX_DEFAULT_USE_BB_CRYPT_SHA
|
||||
depends on BUSYBOX_CONFIG_USE_BB_CRYPT
|
||||
help
|
||||
Enable this if you have passwords starting with "$5$" or "$6$"
|
||||
in your /etc/passwd or /etc/shadow files. These passwords
|
||||
are hashed using SHA256 and SHA512 algorithms. Support for them
|
||||
was added to glibc in 2008.
|
||||
With this option off, login will fail password check for any
|
||||
user which has password encrypted with these algorithms.
|
||||
Enable this if you have passwords starting with "$5$" or "$6$"
|
||||
in your /etc/passwd or /etc/shadow files. These passwords
|
||||
are hashed using SHA256 and SHA512 algorithms. Support for them
|
||||
was added to glibc in 2008.
|
||||
With this option off, login will fail password check for any
|
||||
user which has password encrypted with these algorithms.
|
||||
|
||||
config BUSYBOX_CONFIG_ADD_SHELL
|
||||
bool "add-shell (3.1 kb)"
|
||||
default BUSYBOX_DEFAULT_ADD_SHELL if BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Add shells to /etc/shells.
|
||||
bool "add-shell"
|
||||
default BUSYBOX_DEFAULT_ADD_SHELL if BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Add shells to /etc/shells.
|
||||
|
||||
config BUSYBOX_CONFIG_REMOVE_SHELL
|
||||
bool "remove-shell (3 kb)"
|
||||
default BUSYBOX_DEFAULT_REMOVE_SHELL if BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Remove shells from /etc/shells.
|
||||
bool "remove-shell"
|
||||
default BUSYBOX_DEFAULT_REMOVE_SHELL if BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Remove shells from /etc/shells.
|
||||
config BUSYBOX_CONFIG_ADDGROUP
|
||||
bool "addgroup (8.6 kb)"
|
||||
bool "addgroup"
|
||||
default BUSYBOX_DEFAULT_ADDGROUP
|
||||
select BUSYBOX_CONFIG_LONG_OPTS
|
||||
help
|
||||
Utility for creating a new group account.
|
||||
Utility for creating a new group account.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ADDGROUP_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ADDGROUP_LONG_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_ADDGROUP && BUSYBOX_CONFIG_LONG_OPTS
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ADDUSER_TO_GROUP
|
||||
bool "Support adding users to groups"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ADDUSER_TO_GROUP
|
||||
depends on BUSYBOX_CONFIG_ADDGROUP
|
||||
help
|
||||
If called with two non-option arguments,
|
||||
addgroup will add an existing user to an
|
||||
existing group.
|
||||
If called with two non-option arguments,
|
||||
addgroup will add an existing user to an
|
||||
existing group.
|
||||
config BUSYBOX_CONFIG_ADDUSER
|
||||
bool "adduser (15 kb)"
|
||||
bool "adduser"
|
||||
default BUSYBOX_DEFAULT_ADDUSER
|
||||
select BUSYBOX_CONFIG_LONG_OPTS
|
||||
help
|
||||
Utility for creating a new user account.
|
||||
Utility for creating a new user account.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ADDUSER_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ADDUSER_LONG_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_ADDUSER && BUSYBOX_CONFIG_LONG_OPTS
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CHECK_NAMES
|
||||
bool "Enable sanity check on user/group names in adduser and addgroup"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CHECK_NAMES
|
||||
depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_ADDGROUP
|
||||
help
|
||||
Enable sanity check on user and group names in adduser and addgroup.
|
||||
To avoid problems, the user or group name should consist only of
|
||||
letters, digits, underscores, periods, at signs and dashes,
|
||||
and not start with a dash (as defined by IEEE Std 1003.1-2001).
|
||||
For compatibility with Samba machine accounts "$" is also supported
|
||||
at the end of the user or group name.
|
||||
Enable sanity check on user and group names in adduser and addgroup.
|
||||
To avoid problems, the user or group name should consist only of
|
||||
letters, digits, underscores, periods, at signs and dashes,
|
||||
and not start with a dash (as defined by IEEE Std 1003.1-2001).
|
||||
For compatibility with Samba machine accounts "$" is also supported
|
||||
at the end of the user or group name.
|
||||
|
||||
config BUSYBOX_CONFIG_LAST_ID
|
||||
int "Last valid uid or gid for adduser and addgroup"
|
||||
depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_ADDGROUP
|
||||
default BUSYBOX_DEFAULT_LAST_ID
|
||||
help
|
||||
Last valid uid or gid for adduser and addgroup
|
||||
Last valid uid or gid for adduser and addgroup
|
||||
|
||||
config BUSYBOX_CONFIG_FIRST_SYSTEM_ID
|
||||
int "First valid system uid or gid for adduser and addgroup"
|
||||
@ -150,7 +158,7 @@ config BUSYBOX_CONFIG_FIRST_SYSTEM_ID
|
||||
range 0 BUSYBOX_CONFIG_LAST_ID
|
||||
default BUSYBOX_DEFAULT_FIRST_SYSTEM_ID
|
||||
help
|
||||
First valid system uid or gid for adduser and addgroup
|
||||
First valid system uid or gid for adduser and addgroup
|
||||
|
||||
config BUSYBOX_CONFIG_LAST_SYSTEM_ID
|
||||
int "Last valid system uid or gid for adduser and addgroup"
|
||||
@ -158,144 +166,144 @@ config BUSYBOX_CONFIG_LAST_SYSTEM_ID
|
||||
range BUSYBOX_CONFIG_FIRST_SYSTEM_ID BUSYBOX_CONFIG_LAST_ID
|
||||
default BUSYBOX_DEFAULT_LAST_SYSTEM_ID
|
||||
help
|
||||
Last valid system uid or gid for adduser and addgroup
|
||||
Last valid system uid or gid for adduser and addgroup
|
||||
config BUSYBOX_CONFIG_CHPASSWD
|
||||
bool "chpasswd (18 kb)"
|
||||
bool "chpasswd"
|
||||
default BUSYBOX_DEFAULT_CHPASSWD
|
||||
help
|
||||
Reads a file of user name and password pairs from standard input
|
||||
and uses this information to update a group of existing users.
|
||||
Reads a file of user name and password pairs from standard input
|
||||
and uses this information to update a group of existing users.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_DEFAULT_PASSWD_ALGO
|
||||
string "Default encryption method (passwd -a, cryptpw -m, chpasswd -c ALG)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_DEFAULT_PASSWD_ALGO
|
||||
depends on BUSYBOX_CONFIG_PASSWD || BUSYBOX_CONFIG_CRYPTPW || BUSYBOX_CONFIG_CHPASSWD
|
||||
help
|
||||
Possible choices are "d[es]", "m[d5]", "s[ha256]" or "sha512".
|
||||
Possible choices are "d[es]", "m[d5]", "s[ha256]" or "sha512".
|
||||
config BUSYBOX_CONFIG_CRYPTPW
|
||||
bool "cryptpw (14 kb)"
|
||||
bool "cryptpw"
|
||||
default BUSYBOX_DEFAULT_CRYPTPW
|
||||
help
|
||||
Encrypts the given password with the crypt(3) libc function
|
||||
using the given salt.
|
||||
Encrypts the given password with the crypt(3) libc function
|
||||
using the given salt.
|
||||
|
||||
config BUSYBOX_CONFIG_MKPASSWD
|
||||
bool "mkpasswd (15 kb)"
|
||||
bool "mkpasswd"
|
||||
default BUSYBOX_DEFAULT_MKPASSWD
|
||||
help
|
||||
Encrypts the given password with the crypt(3) libc function
|
||||
using the given salt. Debian has this utility under mkpasswd
|
||||
name. Busybox provides mkpasswd as an alias for cryptpw.
|
||||
Encrypts the given password with the crypt(3) libc function
|
||||
using the given salt. Debian has this utility under mkpasswd
|
||||
name. Busybox provides mkpasswd as an alias for cryptpw.
|
||||
config BUSYBOX_CONFIG_DELUSER
|
||||
bool "deluser (9.1 kb)"
|
||||
bool "deluser"
|
||||
default BUSYBOX_DEFAULT_DELUSER
|
||||
help
|
||||
Utility for deleting a user account.
|
||||
Utility for deleting a user account.
|
||||
|
||||
config BUSYBOX_CONFIG_DELGROUP
|
||||
bool "delgroup (6.4 kb)"
|
||||
bool "delgroup"
|
||||
default BUSYBOX_DEFAULT_DELGROUP
|
||||
help
|
||||
Utility for deleting a group account.
|
||||
Utility for deleting a group account.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_DEL_USER_FROM_GROUP
|
||||
bool "Support removing users from groups"
|
||||
default BUSYBOX_DEFAULT_FEATURE_DEL_USER_FROM_GROUP
|
||||
depends on BUSYBOX_CONFIG_DELGROUP
|
||||
help
|
||||
If called with two non-option arguments, deluser
|
||||
or delgroup will remove an user from a specified group.
|
||||
If called with two non-option arguments, deluser
|
||||
or delgroup will remove an user from a specified group.
|
||||
config BUSYBOX_CONFIG_GETTY
|
||||
bool "getty (10 kb)"
|
||||
bool "getty"
|
||||
default BUSYBOX_DEFAULT_GETTY
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
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.
|
||||
|
||||
Note that you can save a few bytes by disabling it and
|
||||
using login applet directly.
|
||||
If you need to reset tty attributes before calling login,
|
||||
this script approximates getty:
|
||||
Note that you can save a few bytes by disabling it and
|
||||
using login applet directly.
|
||||
If you need to reset tty attributes before calling login,
|
||||
this script approximates getty:
|
||||
|
||||
exec </dev/$1 >/dev/$1 2>&1 || exit 1
|
||||
reset
|
||||
stty sane; stty ispeed 38400; stty ospeed 38400
|
||||
printf "%s login: " "`hostname`"
|
||||
read -r login
|
||||
exec /bin/login "$login"
|
||||
exec </dev/$1 >/dev/$1 2>&1 || exit 1
|
||||
reset
|
||||
stty sane; stty ispeed 38400; stty ospeed 38400
|
||||
printf "%s login: " "`hostname`"
|
||||
read -r login
|
||||
exec /bin/login "$login"
|
||||
config BUSYBOX_CONFIG_LOGIN
|
||||
bool "login (24 kb)"
|
||||
bool "login"
|
||||
default BUSYBOX_DEFAULT_LOGIN
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
login is used when signing onto a system.
|
||||
login is used when signing onto a system.
|
||||
|
||||
Note that busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
Note that Busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
|
||||
config BUSYBOX_CONFIG_LOGIN_SESSION_AS_CHILD
|
||||
bool "Run logged in session in a child process"
|
||||
default BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD if BUSYBOX_CONFIG_PAM
|
||||
depends on BUSYBOX_CONFIG_LOGIN
|
||||
help
|
||||
Run the logged in session in a child process. This allows
|
||||
login to clean up things such as utmp entries or PAM sessions
|
||||
when the login session is complete. If you use PAM, you
|
||||
almost always would want this to be set to Y, else PAM session
|
||||
will not be cleaned up.
|
||||
Run the logged in session in a child process. This allows
|
||||
login to clean up things such as utmp entries or PAM sessions
|
||||
when the login session is complete. If you use PAM, you
|
||||
almost always would want this to be set to Y, else PAM session
|
||||
will not be cleaned up.
|
||||
|
||||
config BUSYBOX_CONFIG_LOGIN_SCRIPTS
|
||||
bool "Support login scripts"
|
||||
depends on BUSYBOX_CONFIG_LOGIN
|
||||
default BUSYBOX_DEFAULT_LOGIN_SCRIPTS
|
||||
help
|
||||
Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
|
||||
just prior to switching from root to logged-in user.
|
||||
Enable this if you want login to execute $LOGIN_PRE_SUID_SCRIPT
|
||||
just prior to switching from root to logged-in user.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_NOLOGIN
|
||||
bool "Support /etc/nologin"
|
||||
default BUSYBOX_DEFAULT_FEATURE_NOLOGIN
|
||||
depends on BUSYBOX_CONFIG_LOGIN
|
||||
help
|
||||
The file /etc/nologin is used by (some versions of) login(1).
|
||||
If it exists, non-root logins are prohibited.
|
||||
The file /etc/nologin is used by (some versions of) login(1).
|
||||
If it exists, non-root logins are prohibited.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SECURETTY
|
||||
bool "Support /etc/securetty"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SECURETTY
|
||||
depends on BUSYBOX_CONFIG_LOGIN
|
||||
help
|
||||
The file /etc/securetty is used by (some versions of) login(1).
|
||||
The file contains the device names of tty lines (one per line,
|
||||
without leading /dev/) on which root is allowed to login.
|
||||
The file /etc/securetty is used by (some versions of) login(1).
|
||||
The file contains the device names of tty lines (one per line,
|
||||
without leading /dev/) on which root is allowed to login.
|
||||
config BUSYBOX_CONFIG_PASSWD
|
||||
bool "passwd (21 kb)"
|
||||
bool "passwd"
|
||||
default BUSYBOX_DEFAULT_PASSWD
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
passwd changes passwords for user and group accounts. A normal user
|
||||
may only change the password for his/her own account, the super user
|
||||
may change the password for any account. The administrator of a group
|
||||
may change the password for the group.
|
||||
passwd changes passwords for user and group accounts. A normal user
|
||||
may only change the password for his/her own account, the super user
|
||||
may change the password for any account. The administrator of a group
|
||||
may change the password for the group.
|
||||
|
||||
Note that busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
Note that Busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PASSWD_WEAK_CHECK
|
||||
bool "Check new passwords for weakness"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PASSWD_WEAK_CHECK
|
||||
depends on BUSYBOX_CONFIG_PASSWD
|
||||
help
|
||||
With this option passwd will refuse new passwords which are "weak".
|
||||
With this option passwd will refuse new passwords which are "weak".
|
||||
config BUSYBOX_CONFIG_SU
|
||||
bool "su (19 kb)"
|
||||
bool "su"
|
||||
default BUSYBOX_DEFAULT_SU
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
su is used to become another user during a login session.
|
||||
Invoked without a username, su defaults to becoming the super user.
|
||||
Note that busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
su is used to become another user during a login session.
|
||||
Invoked without a username, su defaults to becoming the super user.
|
||||
Note that busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SU_SYSLOG
|
||||
bool "Log to syslog all attempts to use su"
|
||||
@ -312,19 +320,19 @@ config BUSYBOX_CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY
|
||||
default BUSYBOX_DEFAULT_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY
|
||||
depends on BUSYBOX_CONFIG_SU
|
||||
config BUSYBOX_CONFIG_SULOGIN
|
||||
bool "sulogin (17 kb)"
|
||||
bool "sulogin"
|
||||
default BUSYBOX_DEFAULT_SULOGIN
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
sulogin is invoked when the system goes into single user
|
||||
mode (this is done through an entry in inittab).
|
||||
sulogin is invoked when the system goes into single user
|
||||
mode (this is done through an entry in inittab).
|
||||
config BUSYBOX_CONFIG_VLOCK
|
||||
bool "vlock (17 kb)"
|
||||
bool "vlock"
|
||||
default BUSYBOX_DEFAULT_VLOCK
|
||||
help
|
||||
Build the "vlock" applet which allows you to lock (virtual) terminals.
|
||||
Build the "vlock" applet which allows you to lock (virtual) terminals.
|
||||
|
||||
Note that busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
Note that Busybox binary must be setuid root for this applet to
|
||||
work properly.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -2,50 +2,50 @@
|
||||
menu "Mail Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_MAKEMIME
|
||||
bool "makemime (5.4 kb)"
|
||||
bool "makemime"
|
||||
default BUSYBOX_DEFAULT_MAKEMIME
|
||||
help
|
||||
Create MIME-formatted messages.
|
||||
Create MIME-formatted messages.
|
||||
config BUSYBOX_CONFIG_POPMAILDIR
|
||||
bool "popmaildir (10 kb)"
|
||||
bool "popmaildir"
|
||||
default BUSYBOX_DEFAULT_POPMAILDIR
|
||||
help
|
||||
Simple yet powerful POP3 mail popper. Delivers content
|
||||
of remote mailboxes to local Maildir.
|
||||
Simple yet powerful POP3 mail popper. Delivers content
|
||||
of remote mailboxes to local Maildir.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_POPMAILDIR_DELIVERY
|
||||
bool "Allow message filters and custom delivery program"
|
||||
default BUSYBOX_DEFAULT_FEATURE_POPMAILDIR_DELIVERY
|
||||
depends on BUSYBOX_CONFIG_POPMAILDIR
|
||||
help
|
||||
Allow to use a custom program to filter the content
|
||||
of the message before actual delivery (-F "prog [args...]").
|
||||
Allow to use a custom program for message actual delivery
|
||||
(-M "prog [args...]").
|
||||
Allow to use a custom program to filter the content
|
||||
of the message before actual delivery (-F "prog [args...]").
|
||||
Allow to use a custom program for message actual delivery
|
||||
(-M "prog [args...]").
|
||||
config BUSYBOX_CONFIG_REFORMIME
|
||||
bool "reformime (7.5 kb)"
|
||||
bool "reformime"
|
||||
default BUSYBOX_DEFAULT_REFORMIME
|
||||
help
|
||||
Parse MIME-formatted messages.
|
||||
Parse MIME-formatted messages.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_REFORMIME_COMPAT
|
||||
bool "Accept and ignore options other than -x and -X"
|
||||
default BUSYBOX_DEFAULT_FEATURE_REFORMIME_COMPAT
|
||||
depends on BUSYBOX_CONFIG_REFORMIME
|
||||
help
|
||||
Accept (for compatibility only) and ignore options
|
||||
other than -x and -X.
|
||||
Accept (for compatibility only) and ignore options
|
||||
other than -x and -X.
|
||||
config BUSYBOX_CONFIG_SENDMAIL
|
||||
bool "sendmail (14 kb)"
|
||||
bool "sendmail"
|
||||
default BUSYBOX_DEFAULT_SENDMAIL
|
||||
help
|
||||
Barebones sendmail.
|
||||
Barebones sendmail.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_MIME_CHARSET
|
||||
string "Default charset"
|
||||
default BUSYBOX_DEFAULT_FEATURE_MIME_CHARSET
|
||||
depends on BUSYBOX_CONFIG_MAKEMIME || BUSYBOX_CONFIG_REFORMIME || BUSYBOX_CONFIG_SENDMAIL
|
||||
help
|
||||
Default charset of the message.
|
||||
Default charset of the message.
|
||||
|
||||
endmenu
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Linux Module Utilities"
|
||||
@ -10,89 +10,89 @@ config BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
bool "Simplified modutils"
|
||||
default BUSYBOX_DEFAULT_MODPROBE_SMALL
|
||||
help
|
||||
Build smaller (~1.5 kbytes), simplified module tools.
|
||||
Build smaller (~1.5 kbytes), simplified module tools.
|
||||
|
||||
This option by itself does not enable any applets -
|
||||
you need to select applets individually below.
|
||||
This option by itself does not enable any applets -
|
||||
you need to select applets individually below.
|
||||
|
||||
With this option modprobe does not require modules.dep file
|
||||
and does not use /etc/modules.conf file.
|
||||
It scans module files in /lib/modules/`uname -r` and
|
||||
determines dependencies and module alias names on the fly.
|
||||
This may make module loading slower, most notably
|
||||
when one needs to load module by alias (this requires
|
||||
scanning through module _bodies_).
|
||||
With this option modprobe does not require modules.dep file
|
||||
and does not use /etc/modules.conf file.
|
||||
It scans module files in /lib/modules/`uname -r` and
|
||||
determines dependencies and module alias names on the fly.
|
||||
This may make module loading slower, most notably
|
||||
when one needs to load module by alias (this requires
|
||||
scanning through module _bodies_).
|
||||
|
||||
At the first attempt to load a module by alias modprobe
|
||||
will try to generate modules.dep.bb file in order to speed up
|
||||
future loads by alias. Failure to do so (read-only /lib/modules,
|
||||
etc) is not reported, and future modprobes will be slow too.
|
||||
At the first attempt to load a module by alias modprobe
|
||||
will try to generate modules.dep.bb file in order to speed up
|
||||
future loads by alias. Failure to do so (read-only /lib/modules,
|
||||
etc) is not reported, and future modprobes will be slow too.
|
||||
|
||||
NB: modules.dep.bb file format is not compatible
|
||||
with modules.dep file as created/used by standard module tools.
|
||||
NB: modules.dep.bb file format is not compatible
|
||||
with modules.dep file as created/used by standard module tools.
|
||||
|
||||
Additional module parameters can be stored in
|
||||
/etc/modules/$module_name files.
|
||||
Additional module parameters can be stored in
|
||||
/etc/modules/$module_name files.
|
||||
|
||||
config BUSYBOX_CONFIG_DEPMOD
|
||||
bool "depmod (27 kb)"
|
||||
bool "depmod"
|
||||
default BUSYBOX_DEFAULT_DEPMOD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
depmod generates modules.dep (and potentially modules.alias
|
||||
and modules.symbols) that contain dependency information
|
||||
for modprobe.
|
||||
depmod generates modules.dep (and potentially modules.alias
|
||||
and modules.symbols) that contain dependency information
|
||||
for modprobe.
|
||||
config BUSYBOX_CONFIG_INSMOD
|
||||
bool "insmod (22 kb)"
|
||||
bool "insmod"
|
||||
default BUSYBOX_DEFAULT_INSMOD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
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_LSMOD
|
||||
bool "lsmod (1.9 kb)"
|
||||
bool "lsmod"
|
||||
default BUSYBOX_DEFAULT_LSMOD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
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_LSMOD_PRETTY_2_6_OUTPUT
|
||||
bool "Pretty output"
|
||||
default BUSYBOX_DEFAULT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
|
||||
depends on BUSYBOX_CONFIG_LSMOD && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
This option makes output format of lsmod adjusted to
|
||||
the format of module-init-tools for Linux kernel 2.6.
|
||||
Increases size somewhat.
|
||||
This option makes output format of lsmod adjusted to
|
||||
the format of module-init-tools for Linux kernel 2.6.
|
||||
Increases size somewhat.
|
||||
config BUSYBOX_CONFIG_MODINFO
|
||||
bool "modinfo (24 kb)"
|
||||
bool "modinfo"
|
||||
default BUSYBOX_DEFAULT_MODINFO
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Show information about a Linux Kernel module
|
||||
Show information about a Linux Kernel module
|
||||
config BUSYBOX_CONFIG_MODPROBE
|
||||
bool "modprobe (28 kb)"
|
||||
bool "modprobe"
|
||||
default BUSYBOX_DEFAULT_MODPROBE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
Handle the loading of modules, and their dependencies on a high
|
||||
level.
|
||||
Handle the loading of modules, and their dependencies on a high
|
||||
level.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
|
||||
bool "Blacklist support"
|
||||
default BUSYBOX_DEFAULT_FEATURE_MODPROBE_BLACKLIST
|
||||
depends on BUSYBOX_CONFIG_MODPROBE && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
Say 'y' here to enable support for the 'blacklist' command in
|
||||
modprobe.conf. This prevents the alias resolver to resolve
|
||||
blacklisted modules. This is useful if you want to prevent your
|
||||
hardware autodetection scripts to load modules like evdev, frame
|
||||
buffer drivers etc.
|
||||
Say 'y' here to enable support for the 'blacklist' command in
|
||||
modprobe.conf. This prevents the alias resolver to resolve
|
||||
blacklisted modules. This is useful if you want to prevent your
|
||||
hardware autodetection scripts to load modules like evdev, frame
|
||||
buffer drivers etc.
|
||||
config BUSYBOX_CONFIG_RMMOD
|
||||
bool "rmmod (3.3 kb)"
|
||||
bool "rmmod"
|
||||
default BUSYBOX_DEFAULT_RMMOD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
rmmod is used to unload specified modules from the kernel.
|
||||
rmmod is used to unload specified modules from the kernel.
|
||||
|
||||
comment "Options common to multiple modutils"
|
||||
|
||||
@ -101,145 +101,145 @@ config BUSYBOX_CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS
|
||||
default BUSYBOX_DEFAULT_FEATURE_CMDLINE_MODULE_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE
|
||||
help
|
||||
Allow insmod and modprobe take module options from the applets'
|
||||
command line.
|
||||
Allow insmod and modprobe take module options from the applets'
|
||||
command line.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
|
||||
bool "Skip loading of already loaded modules"
|
||||
default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
|
||||
depends on BUSYBOX_CONFIG_MODPROBE_SMALL && (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
|
||||
help
|
||||
Check if the module is already loaded.
|
||||
Check if the module is already loaded.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
|
||||
bool "Support version 2.2/2.4 Linux kernels"
|
||||
default BUSYBOX_DEFAULT_FEATURE_2_4_MODULES
|
||||
depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_RMMOD) && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
Support module loading for 2.2.x and 2.4.x Linux kernels.
|
||||
This increases size considerably. Say N unless you plan
|
||||
to run ancient kernels.
|
||||
Support module loading for 2.2.x and 2.4.x Linux kernels.
|
||||
This increases size considerably. Say N unless you plan
|
||||
to run ancient kernels.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
|
||||
bool "Enable module version checking"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_VERSION_CHECKING
|
||||
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
|
||||
help
|
||||
Support checking of versions for modules. This is used to
|
||||
ensure that the kernel and module are made for each other.
|
||||
Support checking of versions for modules. This is used to
|
||||
ensure that the kernel and module are made for each other.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
||||
bool "Add module symbols to kernel symbol table"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
|
||||
help
|
||||
By adding module symbols to the kernel symbol table, Oops messages
|
||||
occurring within kernel modules can be properly debugged. By enabling
|
||||
this feature, module symbols will always be added to the kernel symbol
|
||||
table for proper debugging support. If you are not interested in
|
||||
Oops messages from kernel modules, say N.
|
||||
By adding module symbols to the kernel symbol table, Oops messages
|
||||
occurring within kernel modules can be properly debugged. By enabling
|
||||
this feature, module symbols will always be added to the kernel symbol
|
||||
table for proper debugging support. If you are not interested in
|
||||
Oops messages from kernel modules, say N.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
|
||||
bool "In kernel memory optimization (uClinux only)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOADINKMEM
|
||||
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
|
||||
help
|
||||
This is a special uClinux only memory optimization that lets insmod
|
||||
load the specified kernel module directly into kernel space, reducing
|
||||
memory usage by preventing the need for two copies of the module
|
||||
being loaded into memory.
|
||||
This is a special uClinux only memory optimization that lets insmod
|
||||
load the specified kernel module directly into kernel space, reducing
|
||||
memory usage by preventing the need for two copies of the module
|
||||
being loaded into memory.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
||||
bool "Enable insmod load map (-m) option"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP
|
||||
depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
|
||||
help
|
||||
Enabling this, one would be able to get a load map
|
||||
output on stdout. This makes kernel module debugging
|
||||
easier.
|
||||
If you don't plan to debug kernel modules, you
|
||||
don't need this option.
|
||||
Enabling this, one would be able to get a load map
|
||||
output on stdout. This makes kernel module debugging
|
||||
easier.
|
||||
If you don't plan to debug kernel modules, you
|
||||
don't need this option.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
|
||||
bool "Symbols in load map"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP_FULL
|
||||
depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
|
||||
help
|
||||
Without this option, -m will only output section
|
||||
load map. With this option, -m will also output
|
||||
symbols load map.
|
||||
Without this option, -m will only output section
|
||||
load map. With this option, -m will also output
|
||||
symbols load map.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
|
||||
bool "Support tainted module checking with new kernels"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CHECK_TAINTED_MODULE
|
||||
depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
Support checking for tainted modules. These are usually binary
|
||||
only modules that will make the linux-kernel list ignore your
|
||||
support request.
|
||||
This option is required to support GPLONLY modules.
|
||||
Support checking for tainted modules. These are usually binary
|
||||
only modules that will make the linux-kernel list ignore your
|
||||
support request.
|
||||
This option is required to support GPLONLY modules.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
|
||||
bool "Try to load module from a mmap'ed area"
|
||||
default BUSYBOX_DEFAULT_FEATURE_INSMOD_TRY_MMAP
|
||||
depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
This option causes module loading code to try to mmap
|
||||
module first. If it does not work (for example,
|
||||
it does not work for compressed modules), module will be read
|
||||
(and unpacked if needed) into a memory block allocated by malloc.
|
||||
This option causes module loading code to try to mmap
|
||||
module first. If it does not work (for example,
|
||||
it does not work for compressed modules), module will be read
|
||||
(and unpacked if needed) into a memory block allocated by malloc.
|
||||
|
||||
The only case when mmap works but malloc does not is when
|
||||
you are trying to load a big module on a very memory-constrained
|
||||
machine. Malloc will momentarily need 2x as much memory as mmap.
|
||||
The only case when mmap works but malloc does not is when
|
||||
you are trying to load a big module on a very memory-constrained
|
||||
machine. Malloc will momentarily need 2x as much memory as mmap.
|
||||
|
||||
Choosing N saves about 250 bytes of code (on 32-bit x86).
|
||||
Choosing N saves about 250 bytes of code (on 32-bit x86).
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
|
||||
bool "Support module.aliases file"
|
||||
default BUSYBOX_DEFAULT_FEATURE_MODUTILS_ALIAS
|
||||
depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
Generate and parse modules.alias containing aliases for bus
|
||||
identifiers:
|
||||
alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
|
||||
Generate and parse modules.alias containing aliases for bus
|
||||
identifiers:
|
||||
alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
|
||||
|
||||
and aliases for logical modules names e.g.:
|
||||
alias padlock_aes aes
|
||||
alias aes_i586 aes
|
||||
alias aes_generic aes
|
||||
and aliases for logical modules names e.g.:
|
||||
alias padlock_aes aes
|
||||
alias aes_i586 aes
|
||||
alias aes_generic aes
|
||||
|
||||
Say Y if unsure.
|
||||
Say Y if unsure.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
|
||||
bool "Support module.symbols file"
|
||||
default BUSYBOX_DEFAULT_FEATURE_MODUTILS_SYMBOLS
|
||||
depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
|
||||
help
|
||||
Generate and parse modules.symbols containing aliases for
|
||||
symbol_request() kernel calls, such as:
|
||||
alias symbol:usb_sg_init usbcore
|
||||
Generate and parse modules.symbols containing aliases for
|
||||
symbol_request() kernel calls, such as:
|
||||
alias symbol:usb_sg_init usbcore
|
||||
|
||||
Say Y if unsure.
|
||||
Say Y if unsure.
|
||||
|
||||
config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
|
||||
string "Default directory containing modules"
|
||||
default BUSYBOX_DEFAULT_DEFAULT_MODULES_DIR
|
||||
depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODINFO
|
||||
help
|
||||
Directory that contains kernel modules.
|
||||
Defaults to "/lib/modules"
|
||||
Directory that contains kernel modules.
|
||||
Defaults to "/lib/modules"
|
||||
|
||||
config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
|
||||
string "Default name of modules.dep"
|
||||
default BUSYBOX_DEFAULT_DEFAULT_DEPMOD_FILE
|
||||
depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODINFO
|
||||
help
|
||||
Filename that contains kernel modules dependencies.
|
||||
Defaults to "modules.dep".
|
||||
If you configured the "simplified modutils" (MODPROBE_SMALL), a
|
||||
".bb" suffix will be added after this name. Do not specify ".bb"
|
||||
here unless you intend your depmod or modprobe to work on
|
||||
"modules.dep.bb.bb" or such.
|
||||
Filename that contains kernel modules dependencies.
|
||||
Defaults to "modules.dep".
|
||||
If you configured the "simplified modutils" (MODPROBE_SMALL), a
|
||||
".bb" suffix will be added after this name. Do not specify ".bb"
|
||||
here unless you intend your depmod or modprobe to work on
|
||||
"modules.dep.bb.bb" or such.
|
||||
|
||||
endmenu
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,168 +1,173 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPD
|
||||
bool "udhcpd (21 kb)"
|
||||
default BUSYBOX_DEFAULT_UDHCPD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
udhcpd is a DHCP server geared primarily toward embedded systems,
|
||||
while striving to be fully functional and RFC compliant.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC
|
||||
bool "Select IP address based on client MAC"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPD_BASE_IP_ON_MAC
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
If selected, udhcpd will base its selection of IP address to offer
|
||||
on the client's hardware address. Otherwise udhcpd uses the next
|
||||
consecutive free address.
|
||||
|
||||
This reduces the frequency of IP address changes for clients
|
||||
which let their lease expire, and makes consecutive DHCPOFFERS
|
||||
for the same client to (almost always) contain the same
|
||||
IP address.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY
|
||||
bool "Rewrite lease file at every new acknowledge"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPD_WRITE_LEASES_EARLY
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
If selected, udhcpd will write a new file with leases every
|
||||
time a new lease has been accepted, thus eliminating the need
|
||||
to send SIGUSR1 for the initial writing or updating. Any timed
|
||||
rewriting remains undisturbed.
|
||||
|
||||
config BUSYBOX_CONFIG_DHCPD_LEASES_FILE
|
||||
string "Absolute path to lease file"
|
||||
default BUSYBOX_DEFAULT_DHCPD_LEASES_FILE
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
udhcpd stores addresses in a lease file. This is the absolute path
|
||||
of the file. Normally it is safe to leave it untouched.
|
||||
|
||||
config BUSYBOX_CONFIG_DUMPLEASES
|
||||
bool "dumpleases (5.1 kb)"
|
||||
default BUSYBOX_DEFAULT_DUMPLEASES
|
||||
help
|
||||
dumpleases displays the leases written out by the udhcpd.
|
||||
Lease times are stored in the file by time remaining in lease, or
|
||||
by the absolute time that it expires in seconds from epoch.
|
||||
|
||||
config BUSYBOX_CONFIG_DHCPRELAY
|
||||
bool "dhcprelay (5.2 kb)"
|
||||
default BUSYBOX_DEFAULT_DHCPRELAY
|
||||
help
|
||||
dhcprelay listens for DHCP requests on one or more interfaces
|
||||
and forwards these requests to a different interface or DHCP
|
||||
server.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPC
|
||||
bool "udhcpc (24 kb)"
|
||||
default BUSYBOX_DEFAULT_UDHCPC
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
udhcpc is a DHCP client geared primarily toward embedded systems,
|
||||
while striving to be fully functional and RFC compliant.
|
||||
|
||||
The udhcp client negotiates a lease with the DHCP server and
|
||||
runs a script when a lease is obtained or lost.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING
|
||||
bool "Verify that the offered address is free, using ARP ping"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC_ARPING
|
||||
depends on BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, udhcpc will send ARP probes and make sure
|
||||
the offered address is really not in use by anyone. The client
|
||||
will DHCPDECLINE the offer if the address is in use,
|
||||
and restart the discover process.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC_SANITIZEOPT
|
||||
bool "Do not pass malformed host and domain names"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC_SANITIZEOPT
|
||||
depends on BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, udhcpc will check some options (such as option 12 -
|
||||
hostname) and if they don't look like valid hostnames
|
||||
(for example, if they start with dash or contain spaces),
|
||||
they will be replaced with string "bad" when exporting
|
||||
to the environment.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT
|
||||
string "Absolute path to config script"
|
||||
default BUSYBOX_DEFAULT_UDHCPC_DEFAULT_SCRIPT
|
||||
depends on BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_UDHCPC6
|
||||
help
|
||||
This script is called after udhcpc receives an answer. See
|
||||
examples/udhcp for a working example. Normally it is safe
|
||||
to leave this untouched.
|
||||
|
||||
# udhcpc6 config is inserted here:
|
||||
config BUSYBOX_CONFIG_UDHCPC6
|
||||
bool "udhcpc6 (21 kb)"
|
||||
default BUSYBOX_DEFAULT_UDHCPC6
|
||||
bool "udhcpc6 (DHCPv6 client, EXPERIMENTAL)"
|
||||
default BUSYBOX_DEFAULT_UDHCPC6 # not yet ready
|
||||
depends on BUSYBOX_CONFIG_FEATURE_IPV6
|
||||
help
|
||||
udhcpc6 is a DHCPv6 client
|
||||
udhcpc6 is a DHCPv6 client
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC3646
|
||||
bool "Support RFC 3646 (DNS server and search list)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC3646
|
||||
depends on BUSYBOX_CONFIG_UDHCPC6
|
||||
help
|
||||
List of DNS servers and domain search list can be requested with
|
||||
"-O dns" and "-O search". If server gives these values,
|
||||
they will be set in environment variables "dns" and "search".
|
||||
List of DNS servers and domain search list can be requested with
|
||||
"-O dns" and "-O search". If server gives these values,
|
||||
they will be set in environment variables "dns" and "search".
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC4704
|
||||
bool "Support RFC 4704 (Client FQDN)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4704
|
||||
depends on BUSYBOX_CONFIG_UDHCPC6
|
||||
help
|
||||
You can request FQDN to be given by server using "-O fqdn".
|
||||
You can request FQDN to be given by server using "-O fqdn".
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC4833
|
||||
bool "Support RFC 4833 (Timezones)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC4833
|
||||
depends on BUSYBOX_CONFIG_UDHCPC6
|
||||
help
|
||||
You can request POSIX timezone with "-O tz" and timezone name
|
||||
with "-O timezone".
|
||||
You can request POSIX timezone with "-O tz" and timezone name
|
||||
with "-O timezone".
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC6_RFC5970
|
||||
bool "Support RFC 5970 (Network Boot)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC6_RFC5970
|
||||
depends on BUSYBOX_CONFIG_UDHCPC6
|
||||
config BUSYBOX_CONFIG_UDHCPD
|
||||
bool "udhcpd (DHCP server)"
|
||||
default BUSYBOX_DEFAULT_UDHCPD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
You can request bootfile-url with "-O bootfile_url" and
|
||||
bootfile-params with "-O bootfile_params".
|
||||
udhcpd is a DHCP server geared primarily toward embedded systems,
|
||||
while striving to be fully functional and RFC compliant.
|
||||
|
||||
comment "Common options for DHCP applets"
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_UDHCPC6 || BUSYBOX_CONFIG_DHCPRELAY
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY
|
||||
bool "Rewrite the lease file at every new acknowledge"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPD_WRITE_LEASES_EARLY
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
If selected, udhcpd will write a new file with leases every
|
||||
time a new lease has been accepted, thus eliminating the need
|
||||
to send SIGUSR1 for the initial writing or updating. Any timed
|
||||
rewriting remains undisturbed.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC
|
||||
bool "Select IP address based on client MAC"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPD_BASE_IP_ON_MAC
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
If selected, udhcpd will base its selection of IP address to offer
|
||||
on the client's hardware address. Otherwise udhcpd uses the next
|
||||
consecutive free address.
|
||||
|
||||
This reduces the frequency of IP address changes for clients
|
||||
which let their lease expire, and makes consecutive DHCPOFFERS
|
||||
for the same client to (almost always) contain the same
|
||||
IP address.
|
||||
|
||||
config BUSYBOX_CONFIG_DHCPD_LEASES_FILE
|
||||
string "Absolute path to lease file"
|
||||
default BUSYBOX_DEFAULT_DHCPD_LEASES_FILE
|
||||
depends on BUSYBOX_CONFIG_UDHCPD
|
||||
help
|
||||
udhcpd stores addresses in a lease file. This is the absolute path
|
||||
of the file. Normally it is safe to leave it untouched.
|
||||
|
||||
config BUSYBOX_CONFIG_DUMPLEASES
|
||||
bool "dumpleases"
|
||||
default BUSYBOX_DEFAULT_DUMPLEASES
|
||||
help
|
||||
dumpleases displays the leases written out by the udhcpd.
|
||||
Lease times are stored in the file by time remaining in lease, or
|
||||
by the absolute time that it expires in seconds from epoch.
|
||||
|
||||
config BUSYBOX_CONFIG_DHCPRELAY
|
||||
bool "dhcprelay"
|
||||
default BUSYBOX_DEFAULT_DHCPRELAY
|
||||
help
|
||||
dhcprelay listens for dhcp requests on one or more interfaces
|
||||
and forwards these requests to a different interface or dhcp
|
||||
server.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPC
|
||||
bool "udhcpc (DHCP client)"
|
||||
default BUSYBOX_DEFAULT_UDHCPC
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
udhcpc is a DHCP client geared primarily toward embedded systems,
|
||||
while striving to be fully functional and RFC compliant.
|
||||
|
||||
The udhcp client negotiates a lease with the DHCP server and
|
||||
runs a script when a lease is obtained or lost.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC_ARPING
|
||||
bool "Verify that the offered address is free, using ARP ping"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC_ARPING
|
||||
depends on BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, udhcpc will send ARP probes and make sure
|
||||
the offered address is really not in use by anyone. The client
|
||||
will DHCPDECLINE the offer if the address is in use,
|
||||
and restart the discover process.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCPC_SANITIZEOPT
|
||||
bool "Do not pass malformed host and domain names"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCPC_SANITIZEOPT
|
||||
depends on BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, udhcpc will check some options (such as option 12 -
|
||||
hostname) and if they don't look like valid hostnames
|
||||
(for example, if they start with dash or contain spaces),
|
||||
they will be replaced with string "bad" when exporting
|
||||
to the environment.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPC_DEFAULT_SCRIPT
|
||||
string "Absolute path to config script"
|
||||
default BUSYBOX_DEFAULT_UDHCPC_DEFAULT_SCRIPT
|
||||
depends on BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
This script is called after udhcpc receives an answer. See
|
||||
examples/udhcp for a working example. Normally it is safe
|
||||
to leave this untouched.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCP_PORT
|
||||
bool "Enable '-P port' option for udhcpd and udhcpc"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCP_PORT
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_UDHCPC6
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
At the cost of ~300 bytes, enables -P port option.
|
||||
This feature is typically not needed.
|
||||
At the cost of ~300 bytes, enables -P port option.
|
||||
This feature is typically not needed.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCP_DEBUG
|
||||
int "Maximum verbosity level (0..9)"
|
||||
int "Maximum verbosity level for udhcp applets (0..9)"
|
||||
default BUSYBOX_DEFAULT_UDHCP_DEBUG
|
||||
range 0 9
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_UDHCPC6 || BUSYBOX_CONFIG_DHCPRELAY
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC || BUSYBOX_CONFIG_DHCPRELAY
|
||||
help
|
||||
Verbosity can be increased with multiple -v options.
|
||||
This option controls how high it can be cranked up.
|
||||
Verbosity can be increased with multiple -v options.
|
||||
This option controls how high it can be cranked up.
|
||||
|
||||
Bigger values result in bigger code. Levels above 1
|
||||
are very verbose and useful for debugging only.
|
||||
Bigger values result in bigger code. Levels above 1
|
||||
are very verbose and useful for debugging only.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397
|
||||
bool "Support RFC3397 domain search (experimental)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCP_RFC3397
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, both client and server will support passing of domain
|
||||
search lists via option 119, specified in RFC 3397,
|
||||
and SIP servers option 120, specified in RFC 3361.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q
|
||||
bool "Support 802.1Q VLAN parameters"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCP_8021Q
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, both client and server will support passing of VLAN
|
||||
ID and priority via options 132 and 133 as per 802.1Q.
|
||||
|
||||
config BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS
|
||||
int "DHCP options slack buffer size"
|
||||
@ -170,36 +175,19 @@ config BUSYBOX_CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS
|
||||
range 0 924
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
Some buggy DHCP servers send DHCP offer packets with option
|
||||
field larger than we expect (which might also be considered a
|
||||
buffer overflow attempt). These packets are normally discarded.
|
||||
If circumstances beyond your control force you to support such
|
||||
servers, this may help. The upper limit (924) makes udhcpc accept
|
||||
even 1500 byte packets (maximum-sized ethernet packets).
|
||||
Some buggy DHCP servers send DHCP offer packets with option
|
||||
field larger than we expect (which might also be considered a
|
||||
buffer overflow attempt). These packets are normally discarded.
|
||||
If circumstances beyond your control force you to support such
|
||||
servers, this may help. The upper limit (924) makes dhcpc accept
|
||||
even 1500 byte packets (maximum-sized ethernet packets).
|
||||
|
||||
This option does not make udhcp[cd] emit non-standard
|
||||
sized packets.
|
||||
This option does not make dhcp[cd] emit non-standard
|
||||
sized packets.
|
||||
|
||||
Known buggy DHCP servers:
|
||||
3Com OfficeConnect Remote 812 ADSL Router:
|
||||
seems to confuse maximum allowed UDP packet size with
|
||||
maximum size of entire IP packet, and sends packets
|
||||
which are 28 bytes too large.
|
||||
Seednet (ISP) VDSL: sends packets 2 bytes too large.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCP_RFC3397
|
||||
bool "Support RFC 3397 domain search options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCP_RFC3397
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, both client and server will support passing of domain
|
||||
search lists via option 119, specified in RFC 3397,
|
||||
and SIP servers option 120, specified in RFC 3361.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UDHCP_8021Q
|
||||
bool "Support 802.1Q VLAN parameters options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UDHCP_8021Q
|
||||
depends on BUSYBOX_CONFIG_UDHCPD || BUSYBOX_CONFIG_UDHCPC
|
||||
help
|
||||
If selected, both client and server will support passing of VLAN
|
||||
ID and priority via options 132 and 133 as per 802.1Q.
|
||||
Known buggy DHCP servers:
|
||||
3Com OfficeConnect Remote 812 ADSL Router:
|
||||
seems to confuse maximum allowed UDP packet size with
|
||||
maximum size of entire IP packet, and sends packets which are
|
||||
28 bytes too large.
|
||||
Seednet (ISP) VDSL: sends packets 2 bytes too large.
|
||||
|
||||
@ -1,26 +1,26 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Print Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_LPD
|
||||
bool "lpd (5.5 kb)"
|
||||
bool "lpd"
|
||||
default BUSYBOX_DEFAULT_LPD
|
||||
help
|
||||
lpd is a print spooling daemon.
|
||||
lpd is a print spooling daemon.
|
||||
config BUSYBOX_CONFIG_LPR
|
||||
bool "lpr (9.9 kb)"
|
||||
bool "lpr"
|
||||
default BUSYBOX_DEFAULT_LPR
|
||||
help
|
||||
lpr sends files (or standard input) to a print spooling daemon.
|
||||
lpr sends files (or standard input) to a print spooling daemon.
|
||||
|
||||
config BUSYBOX_CONFIG_LPQ
|
||||
bool "lpq (9.9 kb)"
|
||||
bool "lpq"
|
||||
default BUSYBOX_DEFAULT_LPQ
|
||||
help
|
||||
lpq is a print spool queue examination and manipulation program.
|
||||
lpq is a print spool queue examination and manipulation program.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,149 +1,149 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Process Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_FREE
|
||||
bool "free (3.1 kb)"
|
||||
bool "free"
|
||||
default BUSYBOX_DEFAULT_FREE
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX #sysinfo()
|
||||
help
|
||||
free displays the total amount of free and used physical and swap
|
||||
memory in the system, as well as the buffers used by the kernel.
|
||||
The shared memory column should be ignored; it is obsolete.
|
||||
free displays the total amount of free and used physical and swap
|
||||
memory in the system, as well as the buffers used by the kernel.
|
||||
The shared memory column should be ignored; it is obsolete.
|
||||
config BUSYBOX_CONFIG_FUSER
|
||||
bool "fuser (7 kb)"
|
||||
bool "fuser"
|
||||
default BUSYBOX_DEFAULT_FUSER
|
||||
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.
|
||||
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_IOSTAT
|
||||
bool "iostat (7.6 kb)"
|
||||
bool "iostat"
|
||||
default BUSYBOX_DEFAULT_IOSTAT
|
||||
help
|
||||
Report CPU and I/O statistics
|
||||
Report CPU and I/O statistics
|
||||
config BUSYBOX_CONFIG_KILL
|
||||
bool "kill (3.1 kb)"
|
||||
bool "kill"
|
||||
default BUSYBOX_DEFAULT_KILL
|
||||
help
|
||||
The command kill sends the specified signal to the specified
|
||||
process or process group. If no signal is specified, the TERM
|
||||
signal is sent.
|
||||
The command kill sends the specified signal to the specified
|
||||
process or process group. If no signal is specified, the TERM
|
||||
signal is sent.
|
||||
|
||||
config BUSYBOX_CONFIG_KILLALL
|
||||
bool "killall (5.6 kb)"
|
||||
bool "killall"
|
||||
default BUSYBOX_DEFAULT_KILLALL
|
||||
help
|
||||
killall sends a signal to all processes running any of the
|
||||
specified commands. If no signal name is specified, SIGTERM is
|
||||
sent.
|
||||
killall sends a signal to all processes running any of the
|
||||
specified commands. If no signal name is specified, SIGTERM is
|
||||
sent.
|
||||
|
||||
config BUSYBOX_CONFIG_KILLALL5
|
||||
bool "killall5 (5.3 kb)"
|
||||
bool "killall5"
|
||||
default BUSYBOX_DEFAULT_KILLALL5
|
||||
help
|
||||
The SystemV killall command. killall5 sends a signal
|
||||
to all processes except kernel threads and the processes
|
||||
in its own session, so it won't kill the shell that is running
|
||||
the script it was called from.
|
||||
The SystemV killall command. killall5 sends a signal
|
||||
to all processes except kernel threads and the processes
|
||||
in its own session, so it won't kill the shell that is running
|
||||
the script it was called from.
|
||||
config BUSYBOX_CONFIG_LSOF
|
||||
bool "lsof (3.4 kb)"
|
||||
bool "lsof"
|
||||
default BUSYBOX_DEFAULT_LSOF
|
||||
help
|
||||
Show open files in the format of:
|
||||
PID <TAB> /path/to/executable <TAB> /path/to/opened/file
|
||||
Show open files in the format of:
|
||||
PID <TAB> /path/to/executable <TAB> /path/to/opened/file
|
||||
config BUSYBOX_CONFIG_MPSTAT
|
||||
bool "mpstat (9.8 kb)"
|
||||
bool "mpstat"
|
||||
default BUSYBOX_DEFAULT_MPSTAT
|
||||
help
|
||||
Per-processor statistics
|
||||
Per-processor statistics
|
||||
config BUSYBOX_CONFIG_NMETER
|
||||
bool "nmeter (11 kb)"
|
||||
bool "nmeter"
|
||||
default BUSYBOX_DEFAULT_NMETER
|
||||
help
|
||||
Prints selected system stats continuously, one line per update.
|
||||
Prints selected system stats continuously, one line per update.
|
||||
config BUSYBOX_CONFIG_PGREP
|
||||
bool "pgrep (6.5 kb)"
|
||||
bool "pgrep"
|
||||
default BUSYBOX_DEFAULT_PGREP
|
||||
help
|
||||
Look for processes by name.
|
||||
Look for processes by name.
|
||||
|
||||
config BUSYBOX_CONFIG_PKILL
|
||||
bool "pkill (7.5 kb)"
|
||||
bool "pkill"
|
||||
default BUSYBOX_DEFAULT_PKILL
|
||||
help
|
||||
Send signals to processes by name.
|
||||
Send signals to processes by name.
|
||||
config BUSYBOX_CONFIG_PIDOF
|
||||
bool "pidof (6.3 kb)"
|
||||
bool "pidof"
|
||||
default BUSYBOX_DEFAULT_PIDOF
|
||||
help
|
||||
Pidof finds the process id's (pids) of the named programs. It prints
|
||||
those id's on the standard output.
|
||||
Pidof finds the process id's (pids) of the named programs. It prints
|
||||
those id's on the standard output.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE
|
||||
bool "Enable single shot (-s)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PIDOF_SINGLE
|
||||
depends on BUSYBOX_CONFIG_PIDOF
|
||||
help
|
||||
Support '-s' for returning only the first pid found.
|
||||
Support '-s' for returning only the first pid found.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
|
||||
bool "Enable omitting pids (-o PID)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PIDOF_OMIT
|
||||
depends on BUSYBOX_CONFIG_PIDOF
|
||||
help
|
||||
Support '-o PID' for omitting the given pid(s) 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.
|
||||
Support '-o PID' for omitting the given pid(s) 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_PMAP
|
||||
bool "pmap (6 kb)"
|
||||
default BUSYBOX_DEFAULT_PMAP
|
||||
help
|
||||
Display processes' memory mappings.
|
||||
bool "pmap"
|
||||
default BUSYBOX_DEFAULT_PMAP
|
||||
help
|
||||
Display processes' memory mappings.
|
||||
config BUSYBOX_CONFIG_POWERTOP
|
||||
bool "powertop (9.6 kb)"
|
||||
bool "powertop"
|
||||
default BUSYBOX_DEFAULT_POWERTOP
|
||||
help
|
||||
Analyze power consumption on Intel-based laptops
|
||||
Analyze power consumption on Intel-based laptops
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_POWERTOP_INTERACTIVE
|
||||
bool "Accept keyboard commands"
|
||||
default BUSYBOX_DEFAULT_FEATURE_POWERTOP_INTERACTIVE
|
||||
depends on BUSYBOX_CONFIG_POWERTOP
|
||||
help
|
||||
Without this, powertop will only refresh display every 10 seconds.
|
||||
No keyboard commands will work, only ^C to terminate.
|
||||
Without this, powertop will only refresh display every 10 seconds.
|
||||
No keyboard commands will work, only ^C to terminate.
|
||||
config BUSYBOX_CONFIG_PS
|
||||
bool "ps (11 kb)"
|
||||
bool "ps"
|
||||
default BUSYBOX_DEFAULT_PS
|
||||
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 wide output (-w)"
|
||||
bool "Enable wide output option (-w)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PS_WIDE
|
||||
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
|
||||
depends on BUSYBOX_CONFIG_PS && !BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Support argument 'w' for wide output.
|
||||
If given once, 132 chars are printed, and if given more
|
||||
than once, the length is unlimited.
|
||||
Support argument 'w' for wide output.
|
||||
If given once, 132 chars are printed, and if given more
|
||||
than once, the length is unlimited.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PS_LONG
|
||||
bool "Enable long output (-l)"
|
||||
bool "Enable long output option (-l)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PS_LONG
|
||||
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
|
||||
depends on BUSYBOX_CONFIG_PS && !BUSYBOX_CONFIG_DESKTOP
|
||||
help
|
||||
Support argument 'l' for long output.
|
||||
Adds fields PPID, RSS, START, TIME & TTY
|
||||
Support argument 'l' for long output.
|
||||
Adds fields PPID, RSS, START, TIME & TTY
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PS_TIME
|
||||
bool "Enable -o time and -o etime specifiers"
|
||||
bool "Support -o time and -o etime output specifiers"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PS_TIME
|
||||
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
|
||||
depends on BUSYBOX_CONFIG_PS && BUSYBOX_CONFIG_DESKTOP
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS
|
||||
@ -151,123 +151,123 @@ config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS
|
||||
default BUSYBOX_DEFAULT_FEATURE_PS_UNUSUAL_SYSTEMS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_PS_TIME
|
||||
help
|
||||
Include support for measuring HZ on old kernels and non-ELF systems
|
||||
(if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
||||
Include support for measuring HZ on old kernels and non-ELF systems
|
||||
(if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS
|
||||
bool "Enable -o rgroup, -o ruser, -o nice specifiers"
|
||||
bool "Support -o rgroup, -o ruser, -o nice specifiers"
|
||||
default BUSYBOX_DEFAULT_FEATURE_PS_ADDITIONAL_COLUMNS
|
||||
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
|
||||
depends on BUSYBOX_CONFIG_PS && BUSYBOX_CONFIG_DESKTOP
|
||||
config BUSYBOX_CONFIG_PSTREE
|
||||
bool "pstree (9.3 kb)"
|
||||
bool "pstree"
|
||||
default BUSYBOX_DEFAULT_PSTREE
|
||||
help
|
||||
Display a tree of processes.
|
||||
Display a tree of processes.
|
||||
config BUSYBOX_CONFIG_PWDX
|
||||
bool "pwdx (3.7 kb)"
|
||||
bool "pwdx"
|
||||
default BUSYBOX_DEFAULT_PWDX
|
||||
help
|
||||
Report current working directory of a process
|
||||
Report current working directory of a process
|
||||
config BUSYBOX_CONFIG_SMEMCAP
|
||||
bool "smemcap (2.5 kb)"
|
||||
bool "smemcap"
|
||||
default BUSYBOX_DEFAULT_SMEMCAP
|
||||
help
|
||||
smemcap is a tool for capturing process data for smem,
|
||||
a memory usage statistic tool.
|
||||
smemcap is a tool for capturing process data for smem,
|
||||
a memory usage statistic tool.
|
||||
config BUSYBOX_CONFIG_BB_SYSCTL
|
||||
bool "sysctl (7.4 kb)"
|
||||
bool "sysctl"
|
||||
default BUSYBOX_DEFAULT_BB_SYSCTL
|
||||
help
|
||||
Configure kernel parameters at runtime.
|
||||
Configure kernel parameters at runtime.
|
||||
config BUSYBOX_CONFIG_TOP
|
||||
bool "top (18 kb)"
|
||||
bool "top"
|
||||
default BUSYBOX_DEFAULT_TOP
|
||||
help
|
||||
The top program provides a dynamic real-time view of a running
|
||||
system.
|
||||
The top program provides a dynamic real-time view of a running
|
||||
system.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE
|
||||
bool "Accept keyboard commands"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_INTERACTIVE
|
||||
depends on BUSYBOX_CONFIG_TOP
|
||||
help
|
||||
Without this, top will only refresh display every 5 seconds.
|
||||
No keyboard commands will work, only ^C to terminate.
|
||||
Without this, top will only refresh display every 5 seconds.
|
||||
No keyboard commands will work, only ^C to terminate.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
bool "Show CPU per-process usage percentage"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
depends on BUSYBOX_CONFIG_TOP
|
||||
help
|
||||
Make top display CPU usage for each process.
|
||||
This adds about 2k.
|
||||
Make top display CPU usage for each process.
|
||||
This adds about 2k.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
||||
bool "Show CPU global usage percentage"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
help
|
||||
Makes top display "CPU: NN% usr NN% sys..." line.
|
||||
This adds about 0.5k.
|
||||
Makes top display "CPU: NN% usr NN% sys..." line.
|
||||
This adds about 0.5k.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU
|
||||
bool "SMP CPU usage display ('c' key)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_SMP_CPU
|
||||
depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
||||
help
|
||||
Allow 'c' key to switch between individual/cumulative CPU stats
|
||||
This adds about 0.5k.
|
||||
Allow 'c' key to switch between individual/cumulative CPU stats
|
||||
This adds about 0.5k.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS
|
||||
bool "Show 1/10th of a percent in CPU/mem statistics"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_DECIMALS
|
||||
depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
help
|
||||
Show 1/10th of a percent in CPU/mem statistics.
|
||||
This adds about 0.3k.
|
||||
Show 1/10th of a percent in CPU/mem statistics.
|
||||
This adds about 0.3k.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS
|
||||
bool "Show CPU process runs on ('j' field)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOP_SMP_PROCESS
|
||||
depends on BUSYBOX_CONFIG_TOP
|
||||
help
|
||||
Show CPU where process was last found running on.
|
||||
This is the 'j' field.
|
||||
Show CPU where process was last found running on.
|
||||
This is the 'j' field.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_TOPMEM
|
||||
bool "Topmem command ('s' key)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_TOPMEM
|
||||
depends on BUSYBOX_CONFIG_TOP
|
||||
help
|
||||
Enable 's' in top (gives lots of memory info).
|
||||
Enable 's' in top (gives lots of memory info).
|
||||
config BUSYBOX_CONFIG_UPTIME
|
||||
bool "uptime (3.7 kb)"
|
||||
bool "uptime"
|
||||
default BUSYBOX_DEFAULT_UPTIME
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX #sysinfo()
|
||||
help
|
||||
uptime gives a one line display of the current time, how long
|
||||
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.
|
||||
uptime gives a one line display of the current time, how long
|
||||
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.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_UPTIME_UTMP_SUPPORT
|
||||
bool "Show the number of users"
|
||||
default BUSYBOX_DEFAULT_FEATURE_UPTIME_UTMP_SUPPORT
|
||||
depends on BUSYBOX_CONFIG_UPTIME && BUSYBOX_CONFIG_FEATURE_UTMP
|
||||
help
|
||||
Display the number of users currently logged on.
|
||||
Display the number of users currently logged on.
|
||||
config BUSYBOX_CONFIG_WATCH
|
||||
bool "watch (4.4 kb)"
|
||||
bool "watch"
|
||||
default BUSYBOX_DEFAULT_WATCH
|
||||
help
|
||||
watch is used to execute a program periodically, showing
|
||||
output to the screen.
|
||||
watch is used to execute a program periodically, showing
|
||||
output to the screen.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS
|
||||
bool "Support thread display in ps/pstree/top"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SHOW_THREADS
|
||||
depends on BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_PSTREE
|
||||
help
|
||||
Enables the ps -T option, showing of threads in pstree,
|
||||
and 'h' command in top.
|
||||
Enables the ps -T option, showing of threads in pstree,
|
||||
and 'h' command in top.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,98 +1,91 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Runit Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_CHPST
|
||||
bool "chpst (9 kb)"
|
||||
bool "chpst"
|
||||
default BUSYBOX_DEFAULT_CHPST
|
||||
help
|
||||
chpst changes the process state according to the given options, and
|
||||
execs specified program.
|
||||
chpst changes the process state according to the given options, and
|
||||
execs specified program.
|
||||
|
||||
config BUSYBOX_CONFIG_SETUIDGID
|
||||
bool "setuidgid (4 kb)"
|
||||
bool "setuidgid"
|
||||
default BUSYBOX_DEFAULT_SETUIDGID
|
||||
help
|
||||
Sets soft resource limits as specified by options
|
||||
Sets soft resource limits as specified by options
|
||||
|
||||
config BUSYBOX_CONFIG_ENVUIDGID
|
||||
bool "envuidgid (3.9 kb)"
|
||||
bool "envuidgid"
|
||||
default BUSYBOX_DEFAULT_ENVUIDGID
|
||||
help
|
||||
Sets $UID to account's uid and $GID to account's gid
|
||||
Sets $UID to account's uid and $GID to account's gid
|
||||
|
||||
config BUSYBOX_CONFIG_ENVDIR
|
||||
bool "envdir (2.5 kb)"
|
||||
bool "envdir"
|
||||
default BUSYBOX_DEFAULT_ENVDIR
|
||||
help
|
||||
Sets various environment variables as specified by files
|
||||
in the given directory
|
||||
Sets various environment variables as specified by files
|
||||
in the given directory
|
||||
|
||||
config BUSYBOX_CONFIG_SOFTLIMIT
|
||||
bool "softlimit (4.5 kb)"
|
||||
bool "softlimit"
|
||||
default BUSYBOX_DEFAULT_SOFTLIMIT
|
||||
help
|
||||
Sets soft resource limits as specified by options
|
||||
Sets soft resource limits as specified by options
|
||||
config BUSYBOX_CONFIG_RUNSV
|
||||
bool "runsv (7.8 kb)"
|
||||
bool "runsv"
|
||||
default BUSYBOX_DEFAULT_RUNSV
|
||||
help
|
||||
runsv starts and monitors a service and optionally an appendant log
|
||||
service.
|
||||
runsv starts and monitors a service and optionally an appendant log
|
||||
service.
|
||||
config BUSYBOX_CONFIG_RUNSVDIR
|
||||
bool "runsvdir (6.3 kb)"
|
||||
bool "runsvdir"
|
||||
default BUSYBOX_DEFAULT_RUNSVDIR
|
||||
help
|
||||
runsvdir starts a runsv process for each subdirectory, or symlink to
|
||||
a directory, in the services directory dir, up to a limit of 1000
|
||||
subdirectories, and restarts a runsv process if it terminates.
|
||||
runsvdir starts a runsv process for each subdirectory, or symlink to
|
||||
a directory, in the services directory dir, up to a limit of 1000
|
||||
subdirectories, and restarts a runsv process if it terminates.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_RUNSVDIR_LOG
|
||||
bool "Enable scrolling argument log"
|
||||
depends on BUSYBOX_CONFIG_RUNSVDIR
|
||||
default BUSYBOX_DEFAULT_FEATURE_RUNSVDIR_LOG
|
||||
help
|
||||
Enable feature where second parameter of runsvdir holds last error
|
||||
message (viewable via top/ps). Otherwise (feature is off
|
||||
or no parameter), error messages go to stderr only.
|
||||
Enable feature where second parameter of runsvdir holds last error
|
||||
message (viewable via top/ps). Otherwise (feature is off
|
||||
or no parameter), error messages go to stderr only.
|
||||
config BUSYBOX_CONFIG_SV
|
||||
bool "sv (8.5 kb)"
|
||||
bool "sv"
|
||||
default BUSYBOX_DEFAULT_SV
|
||||
help
|
||||
sv reports the current status and controls the state of services
|
||||
monitored by the runsv supervisor.
|
||||
sv reports the current status and controls the state of services
|
||||
monitored by the runsv supervisor.
|
||||
|
||||
config BUSYBOX_CONFIG_SV_DEFAULT_SERVICE_DIR
|
||||
string "Default directory for services"
|
||||
default BUSYBOX_DEFAULT_SV_DEFAULT_SERVICE_DIR
|
||||
depends on BUSYBOX_CONFIG_SV || BUSYBOX_CONFIG_SVC || BUSYBOX_CONFIG_SVOK
|
||||
depends on BUSYBOX_CONFIG_SV
|
||||
help
|
||||
Default directory for services.
|
||||
Defaults to "/var/service"
|
||||
Default directory for services.
|
||||
Defaults to "/var/service"
|
||||
|
||||
config BUSYBOX_CONFIG_SVC
|
||||
bool "svc (8.4 kb)"
|
||||
bool "svc"
|
||||
default BUSYBOX_DEFAULT_SVC
|
||||
help
|
||||
svc controls the state of services monitored by the runsv supervisor.
|
||||
It is compatible with daemontools command with the same name.
|
||||
|
||||
config BUSYBOX_CONFIG_SVOK
|
||||
bool "svok (1.5 kb)"
|
||||
default BUSYBOX_DEFAULT_SVOK
|
||||
help
|
||||
svok checks whether runsv supervisor is running.
|
||||
It is compatible with daemontools command with the same name.
|
||||
svc controls the state of services monitored by the runsv supervisor.
|
||||
It is comaptible with daemontools command with the same name.
|
||||
config BUSYBOX_CONFIG_SVLOGD
|
||||
bool "svlogd (16 kb)"
|
||||
bool "svlogd"
|
||||
default BUSYBOX_DEFAULT_SVLOGD
|
||||
help
|
||||
svlogd continuously reads log data from its standard input, optionally
|
||||
filters log messages, and writes the data to one or more automatically
|
||||
rotated logs.
|
||||
svlogd continuously reads log data from its standard input, optionally
|
||||
filters log messages, and writes the data to one or more automatically
|
||||
rotated logs.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,99 +1,109 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "SELinux Utilities"
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
|
||||
config BUSYBOX_CONFIG_CHCON
|
||||
bool "chcon (8.9 kb)"
|
||||
bool "chcon"
|
||||
default BUSYBOX_DEFAULT_CHCON
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to change the security context of file.
|
||||
Enable support to change the security context of file.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_CHCON_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_CHCON_LONG_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_CHCON && BUSYBOX_CONFIG_LONG_OPTS
|
||||
config BUSYBOX_CONFIG_GETENFORCE
|
||||
bool "getenforce (1.7 kb)"
|
||||
bool "getenforce"
|
||||
default BUSYBOX_DEFAULT_GETENFORCE
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to get the current mode of SELinux.
|
||||
Enable support to get the current mode of SELinux.
|
||||
config BUSYBOX_CONFIG_GETSEBOOL
|
||||
bool "getsebool (5.5 kb)"
|
||||
bool "getsebool"
|
||||
default BUSYBOX_DEFAULT_GETSEBOOL
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to get SELinux boolean values.
|
||||
Enable support to get SELinux boolean values.
|
||||
config BUSYBOX_CONFIG_LOAD_POLICY
|
||||
bool "load_policy (1.6 kb)"
|
||||
bool "load_policy"
|
||||
default BUSYBOX_DEFAULT_LOAD_POLICY
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to load SELinux policy.
|
||||
Enable support to load SELinux policy.
|
||||
config BUSYBOX_CONFIG_MATCHPATHCON
|
||||
bool "matchpathcon (6.1 kb)"
|
||||
bool "matchpathcon"
|
||||
default BUSYBOX_DEFAULT_MATCHPATHCON
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to get default security context of the
|
||||
specified path from the file contexts configuration.
|
||||
Enable support to get default security context of the
|
||||
specified path from the file contexts configuration.
|
||||
config BUSYBOX_CONFIG_RUNCON
|
||||
bool "runcon (6.6 kb)"
|
||||
bool "runcon"
|
||||
default BUSYBOX_DEFAULT_RUNCON
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to run command in specified security context.
|
||||
Enable support to run command in specified security context.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_RUNCON_LONG_OPTIONS
|
||||
bool "Enable long options"
|
||||
default BUSYBOX_DEFAULT_FEATURE_RUNCON_LONG_OPTIONS
|
||||
depends on BUSYBOX_CONFIG_RUNCON && BUSYBOX_CONFIG_LONG_OPTS
|
||||
config BUSYBOX_CONFIG_SELINUXENABLED
|
||||
bool "selinuxenabled (321 bytes)"
|
||||
bool "selinuxenabled"
|
||||
default BUSYBOX_DEFAULT_SELINUXENABLED
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support for this command to be used within shell scripts
|
||||
to determine if selinux is enabled.
|
||||
Enable support for this command to be used within shell scripts
|
||||
to determine if selinux is enabled.
|
||||
config BUSYBOX_CONFIG_SESTATUS
|
||||
bool "sestatus (12 kb)"
|
||||
bool "sestatus"
|
||||
default BUSYBOX_DEFAULT_SESTATUS
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Displays the status of SELinux.
|
||||
Displays the status of SELinux.
|
||||
config BUSYBOX_CONFIG_SETENFORCE
|
||||
bool "setenforce (2.1 kb)"
|
||||
bool "setenforce"
|
||||
default BUSYBOX_DEFAULT_SETENFORCE
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to modify the mode SELinux is running in.
|
||||
Enable support to modify the mode SELinux is running in.
|
||||
config BUSYBOX_CONFIG_SETFILES
|
||||
bool "setfiles (13 kb)"
|
||||
bool "setfiles"
|
||||
default BUSYBOX_DEFAULT_SETFILES
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to modify to relabel files.
|
||||
Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
|
||||
(It is default in libselinux's Makefile), you _must_ enable
|
||||
CONFIG_LFS.
|
||||
Enable support to modify to relabel files.
|
||||
Notice: If you built libselinux with -D_FILE_OFFSET_BITS=64,
|
||||
(It is default in libselinux's Makefile), you _must_ enable
|
||||
CONFIG_LFS.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SETFILES_CHECK_OPTION
|
||||
bool "Enable check option"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SETFILES_CHECK_OPTION
|
||||
depends on BUSYBOX_CONFIG_SETFILES
|
||||
help
|
||||
Support "-c" option (check the validity of the contexts against
|
||||
the specified binary policy) for setfiles. Requires libsepol.
|
||||
Support "-c" option (check the validity of the contexts against
|
||||
the specified binary policy) for setfiles. Requires libsepol.
|
||||
|
||||
config BUSYBOX_CONFIG_RESTORECON
|
||||
bool "restorecon (12 kb)"
|
||||
bool "restorecon"
|
||||
default BUSYBOX_DEFAULT_RESTORECON
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support to relabel files. The feature is almost
|
||||
the same as setfiles, but usage is a little different.
|
||||
Enable support to relabel files. The feature is almost
|
||||
the same as setfiles, but usage is a little different.
|
||||
config BUSYBOX_CONFIG_SETSEBOOL
|
||||
bool "setsebool (1.7 kb)"
|
||||
bool "setsebool"
|
||||
default BUSYBOX_DEFAULT_SETSEBOOL
|
||||
depends on BUSYBOX_CONFIG_SELINUX
|
||||
help
|
||||
Enable support for change boolean.
|
||||
semanage and -P option is not supported yet.
|
||||
Enable support for change boolean.
|
||||
semanage and -P option is not supported yet.
|
||||
|
||||
endmenu
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "Shells"
|
||||
@ -11,26 +11,26 @@ choice
|
||||
prompt "Choose which shell is aliased to 'sh' name"
|
||||
default BUSYBOX_CONFIG_SH_IS_ASH
|
||||
help
|
||||
Choose which shell you want to be executed by 'sh' alias.
|
||||
The ash shell is the most bash compatible and full featured one.
|
||||
Choose which shell you want to be executed by 'sh' alias.
|
||||
The ash shell is the most bash compatible and full featured one.
|
||||
|
||||
# note: cannot use "select ASH" here, it breaks "make allnoconfig"
|
||||
config BUSYBOX_CONFIG_SH_IS_ASH
|
||||
depends on !BUSYBOX_CONFIG_NOMMU
|
||||
bool "ash"
|
||||
help
|
||||
Choose ash to be the shell executed by 'sh' name.
|
||||
The ash code will be built into busybox. If you don't select
|
||||
"ash" choice (CONFIG_ASH), this shell may only be invoked by
|
||||
the name 'sh' (and not 'ash').
|
||||
Choose ash to be the shell executed by 'sh' name.
|
||||
The ash code will be built into busybox. If you don't select
|
||||
"ash" choice (CONFIG_ASH), this shell may only be invoked by
|
||||
the name 'sh' (and not 'ash').
|
||||
|
||||
config BUSYBOX_CONFIG_SH_IS_HUSH
|
||||
bool "hush"
|
||||
help
|
||||
Choose hush to be the shell executed by 'sh' name.
|
||||
The hush code will be built into busybox. If you don't select
|
||||
"hush" choice (CONFIG_HUSH), this shell may only be invoked by
|
||||
the name 'sh' (and not 'hush').
|
||||
Choose hush to be the shell executed by 'sh' name.
|
||||
The hush code will be built into busybox. If you don't select
|
||||
"hush" choice (CONFIG_HUSH), this shell may only be invoked by
|
||||
the name 'sh' (and not 'hush').
|
||||
|
||||
config BUSYBOX_CONFIG_SH_IS_NONE
|
||||
bool "none"
|
||||
@ -41,36 +41,36 @@ choice
|
||||
prompt "Choose which shell is aliased to 'bash' name"
|
||||
default BUSYBOX_CONFIG_BASH_IS_NONE
|
||||
help
|
||||
Choose which shell you want to be executed by 'bash' alias.
|
||||
The ash shell is the most bash compatible and full featured one,
|
||||
although compatibility is far from being complete.
|
||||
Choose which shell you want to be executed by 'bash' alias.
|
||||
The ash shell is the most bash compatible and full featured one,
|
||||
although compatibility is far from being complete.
|
||||
|
||||
Note that selecting this option does not switch on any bash
|
||||
compatibility code. It merely makes it possible to install
|
||||
/bin/bash (sym)link and run scripts which start with
|
||||
#!/bin/bash line.
|
||||
Note that selecting this option does not switch on any bash
|
||||
compatibility code. It merely makes it possible to install
|
||||
/bin/bash (sym)link and run scripts which start with
|
||||
#!/bin/bash line.
|
||||
|
||||
Many systems use it in scripts which use bash-specific features,
|
||||
even simple ones like $RANDOM. Without this option, busybox
|
||||
can't be used for running them because it won't recongnize
|
||||
"bash" as a supported applet name.
|
||||
Many systems use it in scripts which use bash-specific features,
|
||||
even simple ones like $RANDOM. Without this option, busybox
|
||||
can't be used for running them because it won't recongnize
|
||||
"bash" as a supported applet name.
|
||||
|
||||
config BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
depends on !BUSYBOX_CONFIG_NOMMU
|
||||
bool "ash"
|
||||
help
|
||||
Choose ash to be the shell executed by 'bash' name.
|
||||
The ash code will be built into busybox. If you don't select
|
||||
"ash" choice (CONFIG_ASH), this shell may only be invoked by
|
||||
the name 'bash' (and not 'ash').
|
||||
Choose ash to be the shell executed by 'bash' name.
|
||||
The ash code will be built into busybox. If you don't select
|
||||
"ash" choice (CONFIG_ASH), this shell may only be invoked by
|
||||
the name 'bash' (and not 'ash').
|
||||
|
||||
config BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
bool "hush"
|
||||
help
|
||||
Choose hush to be the shell executed by 'bash' name.
|
||||
The hush code will be built into busybox. If you don't select
|
||||
"hush" choice (CONFIG_HUSH), this shell may only be invoked by
|
||||
the name 'bash' (and not 'hush').
|
||||
Choose hush to be the shell executed by 'bash' name.
|
||||
The hush code will be built into busybox. If you don't select
|
||||
"hush" choice (CONFIG_HUSH), this shell may only be invoked by
|
||||
the name 'bash' (and not 'hush').
|
||||
|
||||
config BUSYBOX_CONFIG_BASH_IS_NONE
|
||||
bool "none"
|
||||
@ -79,14 +79,15 @@ endchoice
|
||||
|
||||
|
||||
config BUSYBOX_CONFIG_ASH
|
||||
bool "ash (78 kb)"
|
||||
bool "ash"
|
||||
default BUSYBOX_DEFAULT_ASH
|
||||
depends on !BUSYBOX_CONFIG_NOMMU
|
||||
help
|
||||
The most complete and most pedantically correct shell included with
|
||||
busybox. This shell is actually a derivative of the Debian 'dash'
|
||||
shell (by Herbert Xu), which was created by porting the 'ash' shell
|
||||
(written by Kenneth Almquist) from NetBSD.
|
||||
Tha 'ash' shell adds about 60k in the default configuration and is
|
||||
the most complete and most pedantically correct shell included with
|
||||
busybox. This shell is actually a derivative of the Debian 'dash'
|
||||
shell (by Herbert Xu), which was created by porting the 'ash' shell
|
||||
(written by Kenneth Almquist) from NetBSD.
|
||||
|
||||
# ash options
|
||||
# note: Don't remove !NOMMU part in the next line; it would break
|
||||
@ -103,33 +104,17 @@ config BUSYBOX_CONFIG_ASH_INTERNAL_GLOB
|
||||
default BUSYBOX_DEFAULT_ASH_INTERNAL_GLOB # Y is bigger, but because of uclibc glob() bug, let Y be default for now
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
Do not use glob() function from libc, use internal implementation.
|
||||
Use this if you are getting "glob.h: No such file or directory"
|
||||
or similar build errors.
|
||||
Note that as of now (2017-01), uclibc and musl glob() both have bugs
|
||||
which would break ash if you select N here.
|
||||
Do not use glob() function from libc, use internal implementation.
|
||||
Use this if you are getting "glob.h: No such file or directory"
|
||||
or similar build errors.
|
||||
Note that as of now (2017-01), uclibc and musl glob() both have bugs
|
||||
which would break ash if you select N here.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_BASH_COMPAT
|
||||
bool "bash-compatible extensions"
|
||||
default BUSYBOX_DEFAULT_ASH_BASH_COMPAT
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_BASH_SOURCE_CURDIR
|
||||
bool "'source' and '.' builtins search current directory after $PATH"
|
||||
default BUSYBOX_DEFAULT_ASH_BASH_SOURCE_CURDIR # do not encourage non-standard behavior
|
||||
depends on BUSYBOX_CONFIG_ASH_BASH_COMPAT
|
||||
help
|
||||
This is not compliant with standards. Avoid if possible.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_BASH_NOT_FOUND_HOOK
|
||||
bool "command_not_found_handle hook support"
|
||||
default BUSYBOX_DEFAULT_ASH_BASH_NOT_FOUND_HOOK
|
||||
depends on BUSYBOX_CONFIG_ASH_BASH_COMPAT
|
||||
help
|
||||
Enable support for the 'command_not_found_handle' hook function,
|
||||
from GNU bash, which allows for alternative command not found
|
||||
handling.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_JOB_CONTROL
|
||||
bool "Job control"
|
||||
default BUSYBOX_DEFAULT_ASH_JOB_CONTROL
|
||||
@ -145,37 +130,37 @@ config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT
|
||||
default BUSYBOX_DEFAULT_ASH_RANDOM_SUPPORT
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
||||
Each read of "$RANDOM" will generate a new pseudorandom value.
|
||||
You can reset the generator by using a specified start value.
|
||||
After "unset RANDOM" the generator will switch off and this
|
||||
variable will no longer have special treatment.
|
||||
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
||||
Each read of "$RANDOM" will generate a new pseudorandom value.
|
||||
You can reset the generator by using a specified start value.
|
||||
After "unset RANDOM" the generator will switch off and this
|
||||
variable will no longer have special treatment.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_EXPAND_PRMT
|
||||
bool "Expand prompt string"
|
||||
default BUSYBOX_DEFAULT_ASH_EXPAND_PRMT
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
$PS# may contain volatile content, such as backquote commands.
|
||||
This option recreates the prompt string from the environment
|
||||
variable each time it is displayed.
|
||||
$PS# may 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_ASH_IDLE_TIMEOUT
|
||||
bool "Idle timeout variable $TMOUT"
|
||||
default BUSYBOX_DEFAULT_ASH_IDLE_TIMEOUT
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
Enable bash-like auto-logout after $TMOUT seconds of idle time.
|
||||
Enable bash-like auto-logout after $TMOUT seconds of idle time.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_MAIL
|
||||
bool "Check for new mail in interactive shell"
|
||||
default BUSYBOX_DEFAULT_ASH_MAIL
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
Enable "check for new mail" function:
|
||||
if set, $MAIL file and $MAILPATH list of files
|
||||
are checked for mtime changes, and "you have mail"
|
||||
message is printed if change is detected.
|
||||
Enable "check for new mail" function:
|
||||
if set, $MAIL file and $MAILPATH list of files
|
||||
are checked for mtime changes, and "you have mail"
|
||||
message is printed if change is detected.
|
||||
|
||||
config BUSYBOX_CONFIG_ASH_ECHO
|
||||
bool "echo builtin"
|
||||
@ -207,67 +192,67 @@ config BUSYBOX_CONFIG_ASH_CMDCMD
|
||||
default BUSYBOX_DEFAULT_ASH_CMDCMD
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH
|
||||
help
|
||||
Enable support for the 'command' builtin, which allows
|
||||
you to run the specified command or builtin,
|
||||
even when there is a function with the same name.
|
||||
Enable support for the 'command' builtin, which allows
|
||||
you to run the specified command or builtin,
|
||||
even when there is a function with the same name.
|
||||
|
||||
endif # ash options
|
||||
config BUSYBOX_CONFIG_CTTYHACK
|
||||
bool "cttyhack (2.4 kb)"
|
||||
bool "cttyhack"
|
||||
default BUSYBOX_DEFAULT_CTTYHACK
|
||||
help
|
||||
One common problem reported on the mailing list is the "can't
|
||||
access tty; job control turned off" error message, which typically
|
||||
appears when one tries to use a shell with stdin/stdout on
|
||||
/dev/console.
|
||||
This device is special - it cannot be a controlling tty.
|
||||
One common problem reported on the mailing list is the "can't
|
||||
access tty; job control turned off" error message, which typically
|
||||
appears when one tries to use a shell with stdin/stdout on
|
||||
/dev/console.
|
||||
This device is special - it cannot be a controlling tty.
|
||||
|
||||
The proper solution is to use the correct device instead of
|
||||
/dev/console.
|
||||
The proper solution is to use the correct device instead of
|
||||
/dev/console.
|
||||
|
||||
cttyhack provides a "quick and dirty" solution to this problem.
|
||||
It analyzes stdin with various ioctls, trying to determine whether
|
||||
it is a /dev/ttyN or /dev/ttySN (virtual terminal or serial line).
|
||||
On Linux it also checks sysfs for a pointer to the active console.
|
||||
If cttyhack is able to find the real console device, it closes
|
||||
stdin/out/err and reopens that device.
|
||||
Then it executes the given program. Opening the device will make
|
||||
that device a controlling tty. This may require cttyhack
|
||||
to be a session leader.
|
||||
cttyhack provides a "quick and dirty" solution to this problem.
|
||||
It analyzes stdin with various ioctls, trying to determine whether
|
||||
it is a /dev/ttyN or /dev/ttySN (virtual terminal or serial line).
|
||||
On Linux it also checks sysfs for a pointer to the active console.
|
||||
If cttyhack is able to find the real console device, it closes
|
||||
stdin/out/err and reopens that device.
|
||||
Then it executes the given program. Opening the device will make
|
||||
that device a controlling tty. This may require cttyhack
|
||||
to be a session leader.
|
||||
|
||||
Example for /etc/inittab (for busybox init):
|
||||
Example for /etc/inittab (for busybox init):
|
||||
|
||||
::respawn:/bin/cttyhack /bin/sh
|
||||
::respawn:/bin/cttyhack /bin/sh
|
||||
|
||||
Starting an interactive shell from boot shell script:
|
||||
Starting an interactive shell from boot shell script:
|
||||
|
||||
setsid cttyhack sh
|
||||
setsid cttyhack sh
|
||||
|
||||
Giving controlling tty to shell running with PID 1:
|
||||
Giving controlling tty to shell running with PID 1:
|
||||
|
||||
# exec cttyhack sh
|
||||
# exec cttyhack sh
|
||||
|
||||
Without cttyhack, you need to know exact tty name,
|
||||
and do something like this:
|
||||
Without cttyhack, you need to know exact tty name,
|
||||
and do something like this:
|
||||
|
||||
# exec setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1'
|
||||
# exec setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1'
|
||||
|
||||
Starting getty on a controlling tty from a shell script:
|
||||
Starting getty on a controlling tty from a shell script:
|
||||
|
||||
# getty 115200 $(cttyhack)
|
||||
# getty 115200 $(cttyhack)
|
||||
config BUSYBOX_CONFIG_HUSH
|
||||
bool "hush (68 kb)"
|
||||
bool "hush"
|
||||
default BUSYBOX_DEFAULT_HUSH
|
||||
help
|
||||
hush is a small shell. It handles the normal flow control
|
||||
constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
|
||||
case/esac. Redirections, here documents, $((arithmetic))
|
||||
and functions are supported.
|
||||
hush is a small shell (25k). It handles the normal flow control
|
||||
constructs such as if/then/elif/else/fi, for/in/do/done, while loops,
|
||||
case/esac. Redirections, here documents, $((arithmetic))
|
||||
and functions are supported.
|
||||
|
||||
It will compile and work on no-mmu systems.
|
||||
It will compile and work on no-mmu systems.
|
||||
|
||||
It does not handle select, aliases, tilde expansion,
|
||||
&>file and >&file redirection of stdout+stderr.
|
||||
It does not handle select, aliases, tilde expansion,
|
||||
&>file and >&file redirection of stdout+stderr.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_BASH_COMPAT
|
||||
bool "bash-compatible extensions"
|
||||
@ -279,29 +264,17 @@ config BUSYBOX_CONFIG_HUSH_BRACE_EXPANSION
|
||||
default BUSYBOX_DEFAULT_HUSH_BRACE_EXPANSION
|
||||
depends on BUSYBOX_CONFIG_HUSH_BASH_COMPAT
|
||||
help
|
||||
Enable {abc,def} extension.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_LINENO_VAR
|
||||
bool "$LINENO variable"
|
||||
default BUSYBOX_DEFAULT_HUSH_LINENO_VAR
|
||||
depends on BUSYBOX_CONFIG_HUSH_BASH_COMPAT
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_BASH_SOURCE_CURDIR
|
||||
bool "'source' and '.' builtins search current directory after $PATH"
|
||||
default BUSYBOX_DEFAULT_HUSH_BASH_SOURCE_CURDIR # do not encourage non-standard behavior
|
||||
depends on BUSYBOX_CONFIG_HUSH_BASH_COMPAT
|
||||
help
|
||||
This is not compliant with standards. Avoid if possible.
|
||||
Enable {abc,def} extension.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_INTERACTIVE
|
||||
bool "Interactive mode"
|
||||
default BUSYBOX_DEFAULT_HUSH_INTERACTIVE
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable interactive mode (prompt and command editing).
|
||||
Without this, hush simply reads and executes commands
|
||||
from stdin just like a shell script from a file.
|
||||
No prompt, no PS1/PS2 magic shell variables.
|
||||
Enable interactive mode (prompt and command editing).
|
||||
Without this, hush simply reads and executes commands
|
||||
from stdin just like a shell script from a file.
|
||||
No prompt, no PS1/PS2 magic shell variables.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_SAVEHISTORY
|
||||
bool "Save command history to .hush_history"
|
||||
@ -313,18 +286,18 @@ config BUSYBOX_CONFIG_HUSH_JOB
|
||||
default BUSYBOX_DEFAULT_HUSH_JOB
|
||||
depends on BUSYBOX_CONFIG_HUSH_INTERACTIVE
|
||||
help
|
||||
Enable job control: Ctrl-Z backgrounds, Ctrl-C interrupts current
|
||||
command (not entire shell), fg/bg builtins work. Without this option,
|
||||
"cmd &" still works by simply spawning a process and immediately
|
||||
prompting for next command (or executing next command in a script),
|
||||
but no separate process group is formed.
|
||||
Enable job control: Ctrl-Z backgrounds, Ctrl-C interrupts current
|
||||
command (not entire shell), fg/bg builtins work. Without this option,
|
||||
"cmd &" still works by simply spawning a process and immediately
|
||||
prompting for next command (or executing next command in a script),
|
||||
but no separate process group is formed.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_TICK
|
||||
bool "Support command substitution"
|
||||
bool "Support process substitution"
|
||||
default BUSYBOX_DEFAULT_HUSH_TICK
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable `command` and $(command).
|
||||
Enable `command` and $(command).
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_IF
|
||||
bool "Support if/then/elif/else/fi"
|
||||
@ -341,37 +314,37 @@ config BUSYBOX_CONFIG_HUSH_CASE
|
||||
default BUSYBOX_DEFAULT_HUSH_CASE
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable case ... esac statement. +400 bytes.
|
||||
Enable case ... esac statement. +400 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_FUNCTIONS
|
||||
bool "Support funcname() { commands; } syntax"
|
||||
default BUSYBOX_DEFAULT_HUSH_FUNCTIONS
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable support for shell functions. +800 bytes.
|
||||
Enable support for shell functions. +800 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_LOCAL
|
||||
bool "local builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_LOCAL
|
||||
depends on BUSYBOX_CONFIG_HUSH_FUNCTIONS
|
||||
help
|
||||
Enable support for local variables in functions.
|
||||
Enable support for local variables in functions.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_RANDOM_SUPPORT
|
||||
bool "Pseudorandom generator and $RANDOM variable"
|
||||
default BUSYBOX_DEFAULT_HUSH_RANDOM_SUPPORT
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
||||
Each read of "$RANDOM" will generate a new pseudorandom value.
|
||||
Enable pseudorandom generator and dynamic variable "$RANDOM".
|
||||
Each read of "$RANDOM" will generate a new pseudorandom value.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_MODE_X
|
||||
bool "Support 'hush -x' option and 'set -x' command"
|
||||
default BUSYBOX_DEFAULT_HUSH_MODE_X
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
This instructs hush to print commands before execution.
|
||||
Adds ~300 bytes.
|
||||
This instructs hush to print commands before execution.
|
||||
Adds ~300 bytes.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_ECHO
|
||||
bool "echo builtin"
|
||||
@ -403,14 +376,7 @@ config BUSYBOX_CONFIG_HUSH_EXPORT_N
|
||||
default BUSYBOX_DEFAULT_HUSH_EXPORT_N
|
||||
depends on BUSYBOX_CONFIG_HUSH_EXPORT
|
||||
help
|
||||
export -n unexports variables. It is a bash extension.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_READONLY
|
||||
bool "readonly builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_READONLY
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable support for read-only variables.
|
||||
export -n unexports variables. It is a bash extension.
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_KILL
|
||||
bool "kill builtin (supports kill %jobspec)"
|
||||
@ -422,11 +388,6 @@ config BUSYBOX_CONFIG_HUSH_WAIT
|
||||
default BUSYBOX_DEFAULT_HUSH_WAIT
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_COMMAND
|
||||
bool "command builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_COMMAND
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_TRAP
|
||||
bool "trap builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_TRAP
|
||||
@ -437,11 +398,6 @@ config BUSYBOX_CONFIG_HUSH_TYPE
|
||||
default BUSYBOX_DEFAULT_HUSH_TYPE
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_TIMES
|
||||
bool "times builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_TIMES
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_READ
|
||||
bool "read builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_READ
|
||||
@ -467,16 +423,18 @@ config BUSYBOX_CONFIG_HUSH_UMASK
|
||||
default BUSYBOX_DEFAULT_HUSH_UMASK
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_GETOPTS
|
||||
bool "getopts builtin"
|
||||
default BUSYBOX_DEFAULT_HUSH_GETOPTS
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_HUSH_MEMLEAK
|
||||
bool "memleak builtin (debugging)"
|
||||
default BUSYBOX_DEFAULT_HUSH_MEMLEAK
|
||||
depends on BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
|
||||
config BUSYBOX_CONFIG_MSH
|
||||
bool "msh (deprecated: aliased to hush)"
|
||||
default BUSYBOX_DEFAULT_MSH
|
||||
select BUSYBOX_CONFIG_HUSH
|
||||
help
|
||||
msh is deprecated and will be removed, please migrate to hush.
|
||||
|
||||
|
||||
comment "Options common to all shells"
|
||||
if ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
@ -486,97 +444,71 @@ config BUSYBOX_CONFIG_FEATURE_SH_MATH
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_MATH
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable math support in the shell via $((...)) syntax.
|
||||
Enable math support in the shell via $((...)) syntax.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_MATH_64
|
||||
bool "Extend POSIX math support to 64 bit"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_MATH_64
|
||||
depends on BUSYBOX_CONFIG_FEATURE_SH_MATH
|
||||
help
|
||||
Enable 64-bit math support in the shell. This will make the shell
|
||||
slightly larger, but will allow computation with very large numbers.
|
||||
This is not in POSIX, so do not rely on this in portable code.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_MATH_BASE
|
||||
bool "Support BASE#nnnn literals"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_MATH_BASE
|
||||
depends on BUSYBOX_CONFIG_FEATURE_SH_MATH
|
||||
Enable 64-bit math support in the shell. This will make the shell
|
||||
slightly larger, but will allow computation with very large numbers.
|
||||
This is not in POSIX, so do not rely on this in portable code.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_EXTRA_QUIET
|
||||
bool "Hide message on interactive shell startup"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_EXTRA_QUIET
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Remove the busybox introduction when starting a shell.
|
||||
Remove the busybox introduction when starting a shell.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_STANDALONE
|
||||
bool "Standalone shell"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_STANDALONE
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
This option causes busybox shells to use busybox applets
|
||||
in preference to executables in the PATH whenever possible. For
|
||||
example, entering the command 'ifconfig' into the shell would cause
|
||||
busybox to use the ifconfig busybox applet. Specifying the fully
|
||||
qualified executable name, such as '/sbin/ifconfig' will still
|
||||
execute the /sbin/ifconfig executable on the filesystem. This option
|
||||
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.
|
||||
This option causes busybox shells to use busybox applets
|
||||
in preference to executables in the PATH whenever possible. For
|
||||
example, entering the command 'ifconfig' into the shell would cause
|
||||
busybox to use the ifconfig busybox applet. Specifying the fully
|
||||
qualified executable name, such as '/sbin/ifconfig' will still
|
||||
execute the /sbin/ifconfig executable on the filesystem. This option
|
||||
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.
|
||||
|
||||
This is implemented by re-execing /proc/self/exe (typically)
|
||||
with right parameters.
|
||||
This is implemented by re-execing /proc/self/exe (typically)
|
||||
with right parameters.
|
||||
|
||||
However, there are drawbacks: it is problematic in chroot jails
|
||||
without mounted /proc, and ps/top may show command name as 'exe'
|
||||
for applets started this way.
|
||||
However, there are drawbacks: it is problematic in chroot jails
|
||||
without mounted /proc, and ps/top may show command name as 'exe'
|
||||
for applets started this way.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_NOFORK
|
||||
bool "Run 'nofork' applets directly"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_NOFORK
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
This option causes busybox shells to not execute typical
|
||||
fork/exec/wait sequence, but call <applet>_main directly,
|
||||
if possible. (Sometimes it is not possible: for example,
|
||||
this is not possible in pipes).
|
||||
This option causes busybox shells to not execute typical
|
||||
fork/exec/wait sequence, but call <applet>_main directly,
|
||||
if possible. (Sometimes it is not possible: for example,
|
||||
this is not possible in pipes).
|
||||
|
||||
This will be done only for some applets (those which are marked
|
||||
NOFORK in include/applets.h).
|
||||
This will be done only for some applets (those which are marked
|
||||
NOFORK in include/applets.h).
|
||||
|
||||
This may significantly speed up some shell scripts.
|
||||
This may significantly speed up some shell scripts.
|
||||
|
||||
This feature is relatively new. Use with care. Report bugs
|
||||
to project mailing list.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_READ_FRAC
|
||||
bool "read -t N.NNN support (+110 bytes)"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_READ_FRAC
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Enable support for fractional second timeout in read builtin.
|
||||
This feature is relatively new. Use with care. Report bugs
|
||||
to project mailing list.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_HISTFILESIZE
|
||||
bool "Use $HISTFILESIZE"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_HISTFILESIZE
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
This option makes busybox shells to use $HISTFILESIZE variable
|
||||
to set shell history size. Note that its max value is capped
|
||||
by "History size" setting in library tuning section.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS
|
||||
bool "Embed scripts in the binary"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SH_EMBEDDED_SCRIPTS
|
||||
depends on BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_SH_IS_ASH || BUSYBOX_CONFIG_BASH_IS_ASH || BUSYBOX_CONFIG_SH_IS_HUSH || BUSYBOX_CONFIG_BASH_IS_HUSH
|
||||
help
|
||||
Allow scripts to be compressed and embedded in the busybox
|
||||
binary. The scripts should be placed in the 'embed' directory
|
||||
at build time. Like applets, scripts can be run as
|
||||
'busybox SCRIPT ...' or by linking their name to the binary.
|
||||
|
||||
This also allows applets to be implemented as scripts: place
|
||||
the script in 'applets_sh' and a stub C file containing
|
||||
configuration in the appropriate subsystem directory.
|
||||
This option makes busybox shells to use $HISTFILESIZE variable
|
||||
to set shell history size. Note that its max value is capped
|
||||
by "History size" setting in library tuning section.
|
||||
|
||||
endif # Options common to all shells
|
||||
|
||||
|
||||
@ -1,20 +1,20 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
menu "System Logging Utilities"
|
||||
|
||||
config BUSYBOX_CONFIG_KLOGD
|
||||
bool "klogd (5.7 kb)"
|
||||
bool "klogd"
|
||||
default BUSYBOX_DEFAULT_KLOGD
|
||||
help
|
||||
klogd is a utility which intercepts and logs all
|
||||
messages from the Linux kernel and sends the messages
|
||||
out to the 'syslogd' utility so they can be logged. If
|
||||
you wish to record the messages produced by the kernel,
|
||||
you should enable this option.
|
||||
klogd is a utility which intercepts and logs all
|
||||
messages from the Linux kernel and sends the messages
|
||||
out to the 'syslogd' utility so they can be logged. If
|
||||
you wish to record the messages produced by the kernel,
|
||||
you should enable this option.
|
||||
|
||||
comment "klogd should not be used together with syslog to kernel printk buffer"
|
||||
depends on BUSYBOX_CONFIG_KLOGD && BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
|
||||
@ -25,96 +25,96 @@ config BUSYBOX_CONFIG_FEATURE_KLOGD_KLOGCTL
|
||||
depends on BUSYBOX_CONFIG_KLOGD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
The klogd applet supports two interfaces for reading
|
||||
kernel messages. Linux provides the klogctl() interface
|
||||
which allows reading messages from the kernel ring buffer
|
||||
independently from the file system.
|
||||
The klogd applet supports two interfaces for reading
|
||||
kernel messages. Linux provides the klogctl() interface
|
||||
which allows reading messages from the kernel ring buffer
|
||||
independently from the file system.
|
||||
|
||||
If you answer 'N' here, klogd will use the more portable
|
||||
approach of reading them from /proc or a device node.
|
||||
However, this method requires the file to be available.
|
||||
If you answer 'N' here, klogd will use the more portable
|
||||
approach of reading them from /proc or a device node.
|
||||
However, this method requires the file to be available.
|
||||
|
||||
If in doubt, say 'Y'.
|
||||
If in doubt, say 'Y'.
|
||||
config BUSYBOX_CONFIG_LOGGER
|
||||
bool "logger (6.3 kb)"
|
||||
bool "logger"
|
||||
default BUSYBOX_DEFAULT_LOGGER
|
||||
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
||||
help
|
||||
The logger utility allows you to send arbitrary text
|
||||
messages to the system log (i.e. the 'syslogd' utility) so
|
||||
they can be logged. This is generally used to help locate
|
||||
problems that occur within programs and scripts.
|
||||
The logger utility allows you to send arbitrary text
|
||||
messages to the system log (i.e. the 'syslogd' utility) so
|
||||
they can be logged. This is generally used to help locate
|
||||
problems that occur within programs and scripts.
|
||||
config BUSYBOX_CONFIG_LOGREAD
|
||||
bool "logread (4.8 kb)"
|
||||
bool "logread"
|
||||
default BUSYBOX_DEFAULT_LOGREAD
|
||||
help
|
||||
If you enabled Circular Buffer support, you almost
|
||||
certainly want to enable this feature as well. This
|
||||
utility will allow you to read the messages that are
|
||||
stored in the syslogd circular buffer.
|
||||
If you enabled Circular Buffer support, you almost
|
||||
certainly want to enable this feature as well. This
|
||||
utility will allow you to read the messages that are
|
||||
stored in the syslogd circular buffer.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING
|
||||
bool "Double buffering"
|
||||
default BUSYBOX_DEFAULT_FEATURE_LOGREAD_REDUCED_LOCKING
|
||||
depends on BUSYBOX_CONFIG_LOGREAD
|
||||
help
|
||||
'logread' output to slow serial terminals can have
|
||||
side effects on syslog because of the semaphore.
|
||||
This option make logread to double buffer copy
|
||||
from circular buffer, minimizing semaphore
|
||||
contention at some minor memory expense.
|
||||
'logread' output to slow serial terminals can have
|
||||
side effects on syslog because of the semaphore.
|
||||
This option make logread to double buffer copy
|
||||
from circular buffer, minimizing semaphore
|
||||
contention at some minor memory expense.
|
||||
|
||||
config BUSYBOX_CONFIG_SYSLOGD
|
||||
bool "syslogd (13 kb)"
|
||||
bool "syslogd"
|
||||
default BUSYBOX_DEFAULT_SYSLOGD
|
||||
help
|
||||
The syslogd utility is used to record logs of all the
|
||||
significant events that occur on a system. Every
|
||||
message that is logged records the date and time of the
|
||||
event, and will generally also record the name of the
|
||||
application that generated the message. When used in
|
||||
conjunction with klogd, messages from the Linux kernel
|
||||
can also be recorded. This is terribly useful,
|
||||
especially for finding what happened when something goes
|
||||
wrong. And something almost always will go wrong if
|
||||
you wait long enough....
|
||||
The syslogd utility is used to record logs of all the
|
||||
significant events that occur on a system. Every
|
||||
message that is logged records the date and time of the
|
||||
event, and will generally also record the name of the
|
||||
application that generated the message. When used in
|
||||
conjunction with klogd, messages from the Linux kernel
|
||||
can also be recorded. This is terribly useful,
|
||||
especially for finding what happened when something goes
|
||||
wrong. And something almost always will go wrong if
|
||||
you wait long enough....
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_ROTATE_LOGFILE
|
||||
bool "Rotate message files"
|
||||
default BUSYBOX_DEFAULT_FEATURE_ROTATE_LOGFILE
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
This enables syslogd to rotate the message files
|
||||
on his own. No need to use an external rotate script.
|
||||
This enables syslogd to rotate the message files
|
||||
on his own. No need to use an external rotate script.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_REMOTE_LOG
|
||||
bool "Remote Log support"
|
||||
default BUSYBOX_DEFAULT_FEATURE_REMOTE_LOG
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
When you enable this feature, the syslogd utility can
|
||||
be used to send system log messages to another system
|
||||
connected via a network. This allows the remote
|
||||
machine to log all the system messages, which can be
|
||||
terribly useful for reducing the number of serial
|
||||
cables you use. It can also be a very good security
|
||||
measure to prevent system logs from being tampered with
|
||||
by an intruder.
|
||||
When you enable this feature, the syslogd utility can
|
||||
be used to send system log messages to another system
|
||||
connected via a network. This allows the remote
|
||||
machine to log all the system messages, which can be
|
||||
terribly useful for reducing the number of serial
|
||||
cables you use. It can also be a very good security
|
||||
measure to prevent system logs from being tampered with
|
||||
by an intruder.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SYSLOGD_DUP
|
||||
bool "Support -D (drop dups) option"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_DUP
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
Option -D instructs syslogd to drop consecutive messages
|
||||
which are totally the same.
|
||||
Option -D instructs syslogd to drop consecutive messages
|
||||
which are totally the same.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SYSLOGD_CFG
|
||||
bool "Support syslog.conf"
|
||||
default BUSYBOX_DEFAULT_FEATURE_SYSLOGD_CFG
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
Supports restricted syslogd config. See docs/syslog.conf.txt
|
||||
Supports restricted syslogd config. See docs/syslog.conf.txt
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
|
||||
int "Read buffer size in bytes"
|
||||
@ -122,23 +122,23 @@ config BUSYBOX_CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE
|
||||
range 256 20000
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
This option sets the size of the syslog read buffer.
|
||||
Actual memory usage increases around five times the
|
||||
change done here.
|
||||
This option sets the size of the syslog read buffer.
|
||||
Actual memory usage increases around five times the
|
||||
change done here.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
|
||||
bool "Circular Buffer support"
|
||||
default BUSYBOX_DEFAULT_FEATURE_IPC_SYSLOG
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
help
|
||||
When you enable this feature, the syslogd utility will
|
||||
use a circular buffer to record system log messages.
|
||||
When the buffer is filled it will continue to overwrite
|
||||
the oldest messages. This can be very useful for
|
||||
systems with little or no permanent storage, since
|
||||
otherwise system logs can eventually fill up your
|
||||
entire filesystem, which may cause your system to
|
||||
break badly.
|
||||
When you enable this feature, the syslogd utility will
|
||||
use a circular buffer to record system log messages.
|
||||
When the buffer is filled it will continue to overwrite
|
||||
the oldest messages. This can be very useful for
|
||||
systems with little or no permanent storage, since
|
||||
otherwise system logs can eventually fill up your
|
||||
entire filesystem, which may cause your system to
|
||||
break badly.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
|
||||
int "Circular buffer size in Kbytes (minimum 4KB)"
|
||||
@ -146,8 +146,8 @@ config BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE
|
||||
range 4 2147483647
|
||||
depends on BUSYBOX_CONFIG_FEATURE_IPC_SYSLOG
|
||||
help
|
||||
This option sets the size of the circular buffer
|
||||
used to record system log messages.
|
||||
This option sets the size of the circular buffer
|
||||
used to record system log messages.
|
||||
|
||||
config BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
|
||||
bool "Linux kernel printk buffer support"
|
||||
@ -155,11 +155,11 @@ config BUSYBOX_CONFIG_FEATURE_KMSG_SYSLOG
|
||||
depends on BUSYBOX_CONFIG_SYSLOGD
|
||||
select BUSYBOX_CONFIG_PLATFORM_LINUX
|
||||
help
|
||||
When you enable this feature, the syslogd utility will
|
||||
write system log message to the Linux kernel's printk buffer.
|
||||
This can be used as a smaller alternative to the syslogd IPC
|
||||
support, as klogd and logread aren't needed.
|
||||
When you enable this feature, the syslogd utility will
|
||||
write system log message to the Linux kernel's printk buffer.
|
||||
This can be used as a smaller alternative to the syslogd IPC
|
||||
support, as klogd and logread aren't needed.
|
||||
|
||||
NOTICE: Syslog facilities in log entries needs kernel 3.5+.
|
||||
NOTICE: Syslog facilities in log entries needs kernel 3.5+.
|
||||
|
||||
endmenu
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
# DO NOT EDIT. This file is generated from Config.src
|
||||
#
|
||||
# For a description of the syntax of this configuration file,
|
||||
# see docs/Kconfig-language.txt.
|
||||
# see scripts/kbuild/config-language.txt.
|
||||
#
|
||||
|
||||
config BUSYBOX_CONFIG_VOLUMEID
|
||||
@ -28,9 +28,9 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXFAT
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_EXFAT
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
help
|
||||
exFAT (extended FAT) is a proprietary file system designed especially
|
||||
for flash drives. It has many features from NTFS, but with less
|
||||
overhead. exFAT is used on most SDXC cards for consumer electronics.
|
||||
exFAT (extended FAT) is a proprietary file system designed especially
|
||||
for flash drives. It has many features from NTFS, but with less
|
||||
overhead. exFAT is used on most SDXC cards for consumer electronics.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_EXT
|
||||
bool "Ext filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_EXT
|
||||
@ -40,10 +40,10 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_F2FS
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_F2FS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
help
|
||||
F2FS (aka Flash-Friendly File System) is a log-structured file system,
|
||||
which is adapted to newer forms of storage. F2FS also remedies some
|
||||
known issues of the older log structured file systems, such as high
|
||||
cleaning overhead.
|
||||
F2FS (aka Flash-Friendly File System) is a log-structured file system,
|
||||
which is adapted to newer forms of storage. F2FS also remedies some
|
||||
known issues of the older log structured file systems, such as high
|
||||
cleaning overhead.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_FAT
|
||||
bool "fat filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_FAT
|
||||
@ -60,16 +60,6 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_JFS
|
||||
bool "jfs filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_JFS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LFS
|
||||
bool "LittleFS filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_LFS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID && BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
|
||||
help
|
||||
LittleFS is a small fail-safe filesystem designed for embedded
|
||||
systems. It has strong copy-on-write guarantees and storage on disk
|
||||
is always kept in a valid state. It also provides a form of dynamic
|
||||
wear levelling for systems that can not fit a full flash translation
|
||||
layer.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LINUXRAID
|
||||
bool "linuxraid"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_LINUXRAID
|
||||
@ -82,25 +72,21 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_LUKS
|
||||
bool "luks filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_LUKS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_MINIX
|
||||
bool "minix filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_MINIX
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_NILFS
|
||||
bool "nilfs filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_NILFS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
help
|
||||
NILFS is a New Implementation of a Log-Structured File System (LFS)
|
||||
that supports continuous snapshots. This provides features like
|
||||
versioning of the entire filesystem, restoration of files that
|
||||
were deleted a few minutes ago. NILFS keeps consistency like
|
||||
conventional LFS, so it provides quick recovery after system crashes.
|
||||
NILFS is a New Implementation of a Log-Structured File System (LFS)
|
||||
that supports continuous snapshots. This provides features like
|
||||
versioning of the entire filesystem, restoration of files that
|
||||
were deleted a few minutes ago. NILFS keeps consistency like
|
||||
conventional LFS, so it provides quick recovery after system crashes.
|
||||
|
||||
The possible use of NILFS includes versioning, tamper detection,
|
||||
SOX compliance logging, and so forth. It can serve as an alternative
|
||||
filesystem for Linux desktop environment, or as a basis of advanced
|
||||
storage appliances.
|
||||
The possible use of NILFS includes versioning, tamper detection,
|
||||
SOX compliance logging, and so forth. It can serve as an alternative
|
||||
filesystem for Linux desktop environment, or as a basis of advanced
|
||||
storage appliances.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_NTFS
|
||||
bool "ntfs filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_NTFS
|
||||
@ -122,10 +108,10 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_SQUASHFS
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_SQUASHFS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID && BUSYBOX_CONFIG_FEATURE_BLKID_TYPE
|
||||
help
|
||||
Squashfs is a compressed read-only filesystem for Linux. Squashfs is
|
||||
intended for general read-only filesystem use and in constrained block
|
||||
device/memory systems (e.g. embedded systems) where low overhead is
|
||||
needed.
|
||||
Squashfs is a compressed read-only filesystem for Linux. Squashfs is
|
||||
intended for general read-only filesystem use and in constrained block
|
||||
device/memory systems (e.g. embedded systems) where low overhead is
|
||||
needed.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_SYSV
|
||||
bool "sysv filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_SYSV
|
||||
@ -135,8 +121,8 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_UBIFS
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_UBIFS
|
||||
depends on BUSYBOX_CONFIG_VOLUMEID
|
||||
help
|
||||
UBIFS (Unsorted Block Image File System) is a file
|
||||
system for use with raw flash memory media.
|
||||
UBIFS (Unsorted Block Image File System) is a file
|
||||
system for use with raw flash memory media.
|
||||
config BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF
|
||||
bool "udf filesystem"
|
||||
default BUSYBOX_DEFAULT_FEATURE_VOLUMEID_UDF
|
||||
@ -165,6 +151,10 @@ config BUSYBOX_CONFIG_FEATURE_VOLUMEID_UDF
|
||||
### bool "mac filesystem"
|
||||
### default y
|
||||
### depends on VOLUMEID
|
||||
### config FEATURE_VOLUMEID_MINIX
|
||||
### bool "minix filesystem"
|
||||
### default y
|
||||
### depends on VOLUMEID
|
||||
### config FEATURE_VOLUMEID_MSDOS
|
||||
### bool "msdos filesystem"
|
||||
### default y
|
||||
|
||||
@ -29,14 +29,14 @@ get_dhcp_ntp_servers() {
|
||||
}
|
||||
|
||||
validate_ntp_section() {
|
||||
uci_load_validate system timeserver "$1" "$2" \
|
||||
uci_validate_section system timeserver "${1}" \
|
||||
'server:list(host)' 'enabled:bool:1' 'enable_server:bool:0' 'use_dhcp:bool:1' 'dhcp_interface:list(string)'
|
||||
}
|
||||
|
||||
start_ntpd_instance() {
|
||||
local peer
|
||||
start_service() {
|
||||
local server enabled enable_server use_dhcp dhcp_interface peer
|
||||
|
||||
[ "$2" = 0 ] || {
|
||||
validate_ntp_section ntp || {
|
||||
echo "validation failed"
|
||||
return 1
|
||||
}
|
||||
@ -58,10 +58,6 @@ start_ntpd_instance() {
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
start_service() {
|
||||
validate_ntp_section ntp start_ntpd_instance
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
local script name use_dhcp
|
||||
|
||||
|
||||
10
package/utils/busybox/patches/001-resource_h_include.patch
Normal file
10
package/utils/busybox/patches/001-resource_h_include.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/include/libbb.h
|
||||
+++ b/include/libbb.h
|
||||
@@ -41,6 +41,7 @@
|
||||
#include <poll.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mman.h>
|
||||
+#include <sys/resource.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
10
package/utils/busybox/patches/111-i386_no_arch_flags.patch
Normal file
10
package/utils/busybox/patches/111-i386_no_arch_flags.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/arch/i386/Makefile
|
||||
+++ /dev/null
|
||||
@@ -1,7 +0,0 @@
|
||||
-# ==========================================================================
|
||||
-# Build system
|
||||
-# ==========================================================================
|
||||
-
|
||||
-# -mpreferred-stack-boundary=2 is essential in preventing gcc 4.2.x
|
||||
-# from aligning stack to 16 bytes. (Which is gcc's way of supporting SSE).
|
||||
-CFLAGS += $(call cc-option,-march=i386 -mpreferred-stack-boundary=2,)
|
||||
@ -1,27 +0,0 @@
|
||||
--- a/scripts/Kbuild.include
|
||||
+++ b/scripts/Kbuild.include
|
||||
@@ -130,7 +130,7 @@ make-cmd = $(subst \#,\\\#,$(subst $$,$$
|
||||
#
|
||||
if_changed = $(if $(strip $(filter-out $(PHONY),$?) \
|
||||
$(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
|
||||
- @set -e; \
|
||||
+ +@set -e; \
|
||||
$(echo-cmd) $(cmd_$(1)); \
|
||||
echo 'cmd_$@ := $(make-cmd)' > $(@D)/.$(@F).cmd)
|
||||
|
||||
@@ -139,7 +139,7 @@ if_changed = $(if $(strip $(filter-out $
|
||||
if_changed_dep = $(if $(strip $(filter-out $(PHONY),$?) \
|
||||
$(filter-out FORCE $(wildcard $^),$^) \
|
||||
$(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
|
||||
- @set -e; \
|
||||
+ +@set -e; \
|
||||
$(echo-cmd) $(cmd_$(1)); \
|
||||
scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(@D)/.$(@F).tmp; \
|
||||
rm -f $(depfile); \
|
||||
@@ -150,5 +150,5 @@ if_changed_dep = $(if $(strip $(filter-o
|
||||
# and if so will execute $(rule_foo)
|
||||
if_changed_rule = $(if $(strip $(filter-out $(PHONY),$?) \
|
||||
$(call arg-check, $(cmd_$(1)), $(cmd_$@)) ),\
|
||||
- @set -e; \
|
||||
+ +@set -e; \
|
||||
$(rule_$(1)))
|
||||
@ -1,8 +1,8 @@
|
||||
--- a/scripts/kconfig/mconf.c
|
||||
+++ b/scripts/kconfig/mconf.c
|
||||
@@ -31,6 +31,10 @@
|
||||
#define SIGWINCH 28
|
||||
#endif
|
||||
@@ -27,6 +27,10 @@
|
||||
#include <unistd.h>
|
||||
#include <locale.h>
|
||||
|
||||
+#ifndef SIGWINCH
|
||||
+#define SIGWINCH 28
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
--- a/networking/udhcp/dhcpc.c
|
||||
+++ b/networking/udhcp/dhcpc.c
|
||||
@@ -713,6 +713,7 @@ static int bcast_or_ucast(struct dhcp_pa
|
||||
@@ -711,6 +711,7 @@ static int bcast_or_ucast(struct dhcp_pa
|
||||
static NOINLINE int send_discover(uint32_t xid, uint32_t requested)
|
||||
{
|
||||
struct dhcp_packet packet;
|
||||
@ -8,11 +8,11 @@
|
||||
|
||||
/* Fill in: op, htype, hlen, cookie, chaddr fields,
|
||||
* random xid field (we override it below),
|
||||
@@ -730,6 +731,7 @@ static NOINLINE int send_discover(uint32
|
||||
@@ -728,6 +729,7 @@ static NOINLINE int send_discover(uint32
|
||||
*/
|
||||
add_client_options(&packet);
|
||||
|
||||
+ if (msgs++ < 3)
|
||||
bb_info_msg("sending %s", "discover");
|
||||
return raw_bcast_from_client_data_ifindex(&packet, INADDR_ANY);
|
||||
bb_error_msg("sending %s", "discover");
|
||||
return raw_bcast_from_client_config_ifindex(&packet, INADDR_ANY);
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
--- a/networking/udhcp/dhcpc.c
|
||||
+++ b/networking/udhcp/dhcpc.c
|
||||
@@ -1416,6 +1416,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
||||
@@ -1417,6 +1417,12 @@ int udhcpc_main(int argc UNUSED_PARAM, c
|
||||
/* silence "uninitialized!" warning */
|
||||
unsigned timestamp_before_wait = timestamp_before_wait;
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
+ * member interfaces were added/removed or if the status of the
|
||||
+ * bridge changed).
|
||||
+ * Workaround: refresh it here before processing the next packet */
|
||||
+ udhcp_read_interface(client_data.interface, &client_data.ifindex, NULL, client_data.client_mac);
|
||||
+ udhcp_read_interface(client_config.interface, &client_config.ifindex, NULL, client_config.client_mac);
|
||||
+
|
||||
//bb_error_msg("sockfd:%d, listen_mode:%d", client_data.sockfd, client_data.listen_mode);
|
||||
//bb_error_msg("sockfd:%d, listen_mode:%d", sockfd, listen_mode);
|
||||
|
||||
/* Was opening raw or udp socket here
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
--- a/networking/udhcp/dhcpc.c
|
||||
+++ b/networking/udhcp/dhcpc.c
|
||||
@@ -1126,7 +1126,6 @@ static void perform_renew(void)
|
||||
client_data.state = RENEW_REQUESTED;
|
||||
@@ -1124,7 +1124,6 @@ static void perform_renew(void)
|
||||
state = RENEW_REQUESTED;
|
||||
break;
|
||||
case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
|
||||
- udhcp_run_script(NULL, "deconfig");
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
--- a/networking/telnetd.c
|
||||
+++ b/networking/telnetd.c
|
||||
@@ -509,6 +509,7 @@ make_new_session(
|
||||
@@ -497,6 +497,7 @@ make_new_session(
|
||||
|
||||
/* Restore default signal handling ASAP */
|
||||
bb_signals((1 << SIGCHLD) + (1 << SIGPIPE), SIG_DFL);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
+++ b/coreutils/date.c
|
||||
@@ -123,6 +123,7 @@
|
||||
//usage: IF_FEATURE_DATE_ISOFMT(
|
||||
//usage: "\n -D FMT Use FMT (strptime format) for -d TIME conversion"
|
||||
//usage: "\n -D FMT Use FMT for -d TIME conversion"
|
||||
//usage: )
|
||||
+//usage: "\n -k Set Kernel timezone from localtime and exit"
|
||||
//usage: "\n"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
--- a/libbb/printable_string.c
|
||||
+++ b/libbb/printable_string.c
|
||||
@@ -28,8 +28,6 @@ const char* FAST_FUNC printable_string2(
|
||||
@@ -28,8 +28,6 @@ const char* FAST_FUNC printable_string(u
|
||||
}
|
||||
if (c < ' ')
|
||||
break;
|
||||
@ -9,7 +9,7 @@
|
||||
s++;
|
||||
}
|
||||
|
||||
@@ -42,7 +40,7 @@ const char* FAST_FUNC printable_string2(
|
||||
@@ -42,7 +40,7 @@ const char* FAST_FUNC printable_string(u
|
||||
unsigned char c = *d;
|
||||
if (c == '\0')
|
||||
break;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
--- a/networking/libiproute/iplink.c
|
||||
+++ b/networking/libiproute/iplink.c
|
||||
@@ -652,7 +652,7 @@ static int do_add_or_delete(char **argv,
|
||||
@@ -598,7 +598,7 @@ static int do_add_or_delete(char **argv,
|
||||
}
|
||||
xrtnl_open(&rth);
|
||||
ll_init_map(&rth);
|
||||
|
||||
@ -0,0 +1,117 @@
|
||||
From 148788eb0ee96026105755cf3fd1ad3d94f49cd2 Mon Sep 17 00:00:00 2001
|
||||
From: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
Date: Thu, 21 Jun 2018 17:36:22 +0200
|
||||
Subject: [PATCH] udhcpc: remove code which requires server ID to be on local
|
||||
network
|
||||
|
||||
This reverts "udhcpc: paranoia when using kernel UDP mode
|
||||
for sending renew: server ID may be bogus".
|
||||
|
||||
Users complain that they do have servers behind routers
|
||||
(with DHCP relays).
|
||||
|
||||
function old new delta
|
||||
send_packet 168 166 -2
|
||||
bcast_or_ucast 25 23 -2
|
||||
udhcp_send_kernel_packet 301 295 -6
|
||||
------------------------------------------------------------------------------
|
||||
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-10) Total: -10 bytes
|
||||
|
||||
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
||||
---
|
||||
networking/udhcp/common.h | 4 +---
|
||||
networking/udhcp/d6_dhcpc.c | 4 +---
|
||||
networking/udhcp/dhcpc.c | 10 ++--------
|
||||
networking/udhcp/dhcpd.c | 4 +---
|
||||
networking/udhcp/packet.c | 7 +++----
|
||||
5 files changed, 8 insertions(+), 21 deletions(-)
|
||||
|
||||
--- a/networking/udhcp/common.h
|
||||
+++ b/networking/udhcp/common.h
|
||||
@@ -308,9 +308,7 @@ int udhcp_send_raw_packet(struct dhcp_pa
|
||||
|
||||
int udhcp_send_kernel_packet(struct dhcp_packet *dhcp_pkt,
|
||||
uint32_t source_nip, int source_port,
|
||||
- uint32_t dest_nip, int dest_port,
|
||||
- int send_flags
|
||||
-) FAST_FUNC;
|
||||
+ uint32_t dest_nip, int dest_port) FAST_FUNC;
|
||||
|
||||
void udhcp_sp_setup(void) FAST_FUNC;
|
||||
void udhcp_sp_fd_set(struct pollfd *pfds, int extra_fd) FAST_FUNC;
|
||||
--- a/networking/udhcp/d6_dhcpc.c
|
||||
+++ b/networking/udhcp/d6_dhcpc.c
|
||||
@@ -702,15 +702,13 @@ static NOINLINE int send_d6_renew(uint32
|
||||
opt_ptr = add_d6_client_options(opt_ptr);
|
||||
|
||||
bb_error_msg("sending %s", "renew");
|
||||
- if (server_ipv6) {
|
||||
+ if (server_ipv6)
|
||||
return d6_send_kernel_packet(
|
||||
&packet, (opt_ptr - (uint8_t*) &packet),
|
||||
our_cur_ipv6, CLIENT_PORT6,
|
||||
server_ipv6, SERVER_PORT6,
|
||||
client_config.ifindex
|
||||
- /* TODO? send_flags: MSG_DONTROUTE (see IPv4 code for reason why) */
|
||||
);
|
||||
- }
|
||||
return d6_mcast_from_client_config_ifindex(&packet, opt_ptr);
|
||||
}
|
||||
|
||||
--- a/networking/udhcp/dhcpc.c
|
||||
+++ b/networking/udhcp/dhcpc.c
|
||||
@@ -693,16 +693,10 @@ static int raw_bcast_from_client_config_
|
||||
|
||||
static int bcast_or_ucast(struct dhcp_packet *packet, uint32_t ciaddr, uint32_t server)
|
||||
{
|
||||
- if (server) {
|
||||
- /* Without MSG_DONTROUTE, the packet was seen routed over
|
||||
- * _other interface_ if server ID is bogus (example: 1.1.1.1).
|
||||
- */
|
||||
+ if (server)
|
||||
return udhcp_send_kernel_packet(packet,
|
||||
ciaddr, CLIENT_PORT,
|
||||
- server, SERVER_PORT,
|
||||
- /*send_flags: "to hosts only on directly connected networks" */ MSG_DONTROUTE
|
||||
- );
|
||||
- }
|
||||
+ server, SERVER_PORT);
|
||||
return raw_bcast_from_client_config_ifindex(packet, ciaddr);
|
||||
}
|
||||
|
||||
--- a/networking/udhcp/dhcpd.c
|
||||
+++ b/networking/udhcp/dhcpd.c
|
||||
@@ -588,9 +588,7 @@ static void send_packet_to_relay(struct
|
||||
|
||||
udhcp_send_kernel_packet(dhcp_pkt,
|
||||
server_config.server_nip, SERVER_PORT,
|
||||
- dhcp_pkt->gateway_nip, SERVER_PORT,
|
||||
- /*send_flags:*/ 0
|
||||
- );
|
||||
+ dhcp_pkt->gateway_nip, SERVER_PORT);
|
||||
}
|
||||
|
||||
static void send_packet(struct dhcp_packet *dhcp_pkt, int force_broadcast)
|
||||
--- a/networking/udhcp/packet.c
|
||||
+++ b/networking/udhcp/packet.c
|
||||
@@ -189,8 +189,7 @@ int FAST_FUNC udhcp_send_raw_packet(stru
|
||||
/* Let the kernel do all the work for packet generation */
|
||||
int FAST_FUNC udhcp_send_kernel_packet(struct dhcp_packet *dhcp_pkt,
|
||||
uint32_t source_nip, int source_port,
|
||||
- uint32_t dest_nip, int dest_port,
|
||||
- int send_flags)
|
||||
+ uint32_t dest_nip, int dest_port)
|
||||
{
|
||||
struct sockaddr_in sa;
|
||||
unsigned padding;
|
||||
@@ -227,8 +226,8 @@ int FAST_FUNC udhcp_send_kernel_packet(s
|
||||
padding = DHCP_OPTIONS_BUFSIZE - 1 - udhcp_end_option(dhcp_pkt->options);
|
||||
if (padding > DHCP_SIZE - 300)
|
||||
padding = DHCP_SIZE - 300;
|
||||
- result = send(fd, dhcp_pkt, DHCP_SIZE - padding, send_flags);
|
||||
- msg = "send";
|
||||
+ result = safe_write(fd, dhcp_pkt, DHCP_SIZE - padding);
|
||||
+ msg = "write";
|
||||
ret_close:
|
||||
close(fd);
|
||||
if (result < 0) {
|
||||
@ -1,53 +0,0 @@
|
||||
--- a/loginutils/chpasswd.c
|
||||
+++ b/loginutils/chpasswd.c
|
||||
@@ -97,6 +97,11 @@ int chpasswd_main(int argc UNUSED_PARAM,
|
||||
|
||||
crypt_make_pw_salt(salt, algo);
|
||||
free_me = pass = pw_encrypt(pass, salt, 0);
|
||||
+
|
||||
+ if (pass[0] == 0) {
|
||||
+ free(free_me);
|
||||
+ bb_perror_msg_and_die("password encryption failed");
|
||||
+ }
|
||||
}
|
||||
|
||||
/* This is rather complex: if user is not found in /etc/shadow,
|
||||
--- a/loginutils/cryptpw.c
|
||||
+++ b/loginutils/cryptpw.c
|
||||
@@ -95,7 +95,7 @@ int cryptpw_main(int argc UNUSED_PARAM,
|
||||
/* Supports: cryptpw -m sha256 PASS 'rounds=999999999$SALT' */
|
||||
char salt[MAX_PW_SALT_LEN + sizeof("rounds=999999999$")];
|
||||
char *salt_ptr;
|
||||
- char *password;
|
||||
+ char *password, *hash;
|
||||
const char *opt_m, *opt_S;
|
||||
int fd;
|
||||
|
||||
@@ -140,8 +140,12 @@ int cryptpw_main(int argc UNUSED_PARAM,
|
||||
/* may still be NULL on EOF/error */
|
||||
}
|
||||
|
||||
- if (password)
|
||||
- puts(pw_encrypt(password, salt, 1));
|
||||
+ if (password) {
|
||||
+ hash = pw_encrypt(password, salt, 1);
|
||||
+ if (hash[0] == 0)
|
||||
+ bb_perror_msg_and_die("password encryption failed");
|
||||
+ puts(hash);
|
||||
+ }
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
--- a/loginutils/passwd.c
|
||||
+++ b/loginutils/passwd.c
|
||||
@@ -187,6 +187,10 @@ int passwd_main(int argc UNUSED_PARAM, c
|
||||
if (!newp) {
|
||||
logmode = LOGMODE_STDIO;
|
||||
bb_error_msg_and_die("password for %s is unchanged", name);
|
||||
+ } else if (newp[0] == 0) {
|
||||
+ logmode = LOGMODE_STDIO;
|
||||
+ free(newp);
|
||||
+ bb_perror_msg_and_die("password encryption failed");
|
||||
}
|
||||
} else if (opt & OPT_lock) {
|
||||
if (!c)
|
||||
Loading…
Reference in New Issue
Block a user