forked from Openwrt/openwrt
98b09ba250
Update busybox to version 1.36.0 * refresh patches (remove the backported upstream fix) * refresh config Config refresh: Refresh commands, run after busybox is first built once: cd package/utils/busybox/config/ ../convert_menuconfig.pl ../../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.36.0 cd .. ./convert_defaults.pl ../../../build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/busybox-default/busybox-1.36.0/.config > Config-defaults.in Manual edits needed after config refresh: * Config-defaults.in: OpenWrt config symbol IPV6 logic applied to BUSYBOX_DEFAULT_FEATURE_IPV6 * Config-defaults.in: OpenWrt config TARGET_bcm53xx logic applied to BUSYBOX_DEFAULT_TRUNCATE (commit 547f1ec) * Config-defaults.in: OpenWrt logic applied to BUSYBOX_DEFAULT_LOGIN_SESSION_AS_CHILD (commit dc92917) * Config-defaults.in: correct the default ports that get reset BUSYBOX_DEFAULT_FEATURE_HTTPD_PORT_DEFAULT 80 BUSYBOX_DEFAULT_FEATURE_TELNETD_PORT_DEFAULT 23 * config/editors/Config.in: Add USE_GLIBC dependency to BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commit f141090) * config/shell/Config.in: change at "Options common to all shells" the conditional symbol SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html Apparently our script does not see the hidden option while prepending config options with "BUSYBOX_CONFIG_" which leads to a missed dependency when the options are later evaluated.) * Edit a few Config.in files by adding quotes to sourced items in config/Config.in, config/networking/Config.in and config/util-linux/Config.in (commit 1da014f) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
966 lines
29 KiB
Plaintext
966 lines
29 KiB
Plaintext
# 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 "Coreutils"
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_VERBOSE
|
|
bool "Support verbose options (usually -v) for various applets"
|
|
default BUSYBOX_DEFAULT_FEATURE_VERBOSE
|
|
help
|
|
Enable cp -v, rm -v and similar messages.
|
|
Also enables long option (--verbose) if it exists.
|
|
Without this option, -v is accepted but ignored.
|
|
|
|
comment "Common options for date and touch"
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TIMEZONE
|
|
bool "Allow timezone in dates"
|
|
default BUSYBOX_DEFAULT_FEATURE_TIMEZONE
|
|
depends on BUSYBOX_CONFIG_DESKTOP
|
|
help
|
|
Permit the use of timezones when parsing user-provided data
|
|
strings, e.g. '1996-04-09 12:45:00 -0500'.
|
|
|
|
This requires support for the '%z' extension to strptime() which
|
|
may not be available in all implementations.
|
|
|
|
comment "Common options for cp and mv"
|
|
depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
|
|
bool "Preserve hard links"
|
|
default BUSYBOX_DEFAULT_FEATURE_PRESERVE_HARDLINKS
|
|
depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
|
|
help
|
|
Allow cp and mv to preserve hard links.
|
|
|
|
comment "Common options for df, du, ls"
|
|
depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
|
|
bool "Support human readable output (example 13k, 23M, 235G)"
|
|
default BUSYBOX_DEFAULT_FEATURE_HUMAN_READABLE
|
|
depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
|
|
help
|
|
Allow df, du, and ls to have human readable output.
|
|
|
|
config BUSYBOX_CONFIG_BASENAME
|
|
bool "basename (438 bytes)"
|
|
default BUSYBOX_DEFAULT_BASENAME
|
|
help
|
|
basename is used to strip the directory and suffix from filenames,
|
|
leaving just the filename itself. Enable this option if you wish
|
|
to enable the 'basename' utility.
|
|
config BUSYBOX_CONFIG_CAT
|
|
bool "cat (5.6 kb)"
|
|
default BUSYBOX_DEFAULT_CAT
|
|
help
|
|
cat is used to concatenate files and print them to the standard
|
|
output. Enable this option if you wish to enable the 'cat' utility.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CATN
|
|
bool "Enable -n and -b options"
|
|
default BUSYBOX_DEFAULT_FEATURE_CATN
|
|
depends on BUSYBOX_CONFIG_CAT
|
|
help
|
|
-n numbers all output lines while -b numbers nonempty output lines.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CATV
|
|
bool "cat -v[etA]"
|
|
default BUSYBOX_DEFAULT_FEATURE_CATV
|
|
depends on BUSYBOX_CONFIG_CAT
|
|
help
|
|
Display nonprinting characters as escape sequences
|
|
config BUSYBOX_CONFIG_CHGRP
|
|
bool "chgrp (7.6 kb)"
|
|
default BUSYBOX_DEFAULT_CHGRP
|
|
help
|
|
chgrp is used to change the group ownership of files.
|
|
config BUSYBOX_CONFIG_CHMOD
|
|
bool "chmod (5.5 kb)"
|
|
default BUSYBOX_DEFAULT_CHMOD
|
|
help
|
|
chmod is used to change the access permission of files.
|
|
config BUSYBOX_CONFIG_CHOWN
|
|
bool "chown (7.6 kb)"
|
|
default BUSYBOX_DEFAULT_CHOWN
|
|
help
|
|
chown is used to change the user and/or group ownership
|
|
of files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS
|
|
bool "Enable long options"
|
|
default BUSYBOX_DEFAULT_FEATURE_CHOWN_LONG_OPTIONS
|
|
depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS
|
|
config BUSYBOX_CONFIG_CHROOT
|
|
bool "chroot (3.7 kb)"
|
|
default BUSYBOX_DEFAULT_CHROOT
|
|
help
|
|
chroot is used to change the root directory and run a command.
|
|
The default command is '/bin/sh'.
|
|
config BUSYBOX_CONFIG_CKSUM
|
|
bool "cksum (4.1 kb)"
|
|
default BUSYBOX_DEFAULT_CKSUM
|
|
|
|
config BUSYBOX_CONFIG_CRC32
|
|
bool "crc32 (4.1 kb)"
|
|
default BUSYBOX_DEFAULT_CRC32
|
|
config BUSYBOX_CONFIG_COMM
|
|
bool "comm (4.2 kb)"
|
|
default BUSYBOX_DEFAULT_COMM
|
|
help
|
|
comm is used to compare two files line by line and return
|
|
a three-column output.
|
|
config BUSYBOX_CONFIG_CP
|
|
bool "cp (10 kb)"
|
|
default BUSYBOX_DEFAULT_CP
|
|
help
|
|
cp is used to copy files and directories.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
|
|
bool "Enable long options"
|
|
default BUSYBOX_DEFAULT_FEATURE_CP_LONG_OPTIONS
|
|
depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS
|
|
help
|
|
Enable long options.
|
|
Also add support for --parents option.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CP_REFLINK
|
|
bool "Enable --reflink[=auto]"
|
|
default BUSYBOX_DEFAULT_FEATURE_CP_REFLINK
|
|
depends on BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS
|
|
config BUSYBOX_CONFIG_CUT
|
|
bool "cut (5.8 kb)"
|
|
default BUSYBOX_DEFAULT_CUT
|
|
help
|
|
cut is used to print selected parts of lines from
|
|
each file to stdout.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CUT_REGEX
|
|
bool "cut -F"
|
|
default BUSYBOX_DEFAULT_FEATURE_CUT_REGEX
|
|
depends on BUSYBOX_CONFIG_CUT
|
|
help
|
|
Allow regex based delimiters.
|
|
config BUSYBOX_CONFIG_DATE
|
|
bool "date (7 kb)"
|
|
default BUSYBOX_DEFAULT_DATE
|
|
help
|
|
date is used to set the system date or display the
|
|
current time in the given format.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
|
|
bool "Enable ISO date format output (-I)"
|
|
default BUSYBOX_DEFAULT_FEATURE_DATE_ISOFMT
|
|
depends on BUSYBOX_CONFIG_DATE
|
|
help
|
|
Enable option (-I) to output an ISO-8601 compliant
|
|
date/time string.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DATE_NANO
|
|
bool "Support %[num]N nanosecond format specifier"
|
|
default BUSYBOX_DEFAULT_FEATURE_DATE_NANO # stat's nanosecond field is a bit non-portable
|
|
depends on BUSYBOX_CONFIG_DATE
|
|
help
|
|
Support %[num]N format specifier. Adds ~250 bytes of code.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT
|
|
bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format"
|
|
default BUSYBOX_DEFAULT_FEATURE_DATE_COMPAT
|
|
depends on BUSYBOX_CONFIG_DATE
|
|
help
|
|
System time can be set by 'date -s DATE' and simply 'date DATE',
|
|
but formats of DATE string are different. 'date DATE' accepts
|
|
a rather weird MMDDhhmm[[YY]YY][.ss] format with completely
|
|
unnatural placement of year between minutes and seconds.
|
|
date -s (and other commands like touch -d) use more sensible
|
|
formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
|
|
|
|
With this option off, 'date DATE' and 'date -s DATE' support
|
|
the same format. With it on, 'date DATE' additionally supports
|
|
MMDDhhmm[[YY]YY][.ss] format.
|
|
config BUSYBOX_CONFIG_DD
|
|
bool "dd (7.5 kb)"
|
|
default BUSYBOX_DEFAULT_DD
|
|
help
|
|
dd copies a file (from standard input to standard output,
|
|
by default) using specific input and output blocksizes,
|
|
while optionally performing conversions on it.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
|
|
bool "Enable signal handling for status reporting"
|
|
default BUSYBOX_DEFAULT_FEATURE_DD_SIGNAL_HANDLING
|
|
depends on BUSYBOX_CONFIG_DD
|
|
help
|
|
Sending a SIGUSR1 signal to a running 'dd' process makes it
|
|
print to standard error the number of records read and written
|
|
so far, then to resume copying.
|
|
|
|
$ dd if=/dev/zero of=/dev/null &
|
|
$ pid=$!; kill -USR1 $pid; sleep 1; kill $pid
|
|
10899206+0 records in
|
|
10899206+0 records out
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE
|
|
bool "Enable the third status line upon signal"
|
|
default BUSYBOX_DEFAULT_FEATURE_DD_THIRD_STATUS_LINE
|
|
depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING
|
|
help
|
|
Displays a coreutils-like third status line with transferred bytes,
|
|
elapsed time and speed.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS
|
|
bool "Enable ibs, obs, iflag, oflag and conv options"
|
|
default BUSYBOX_DEFAULT_FEATURE_DD_IBS_OBS
|
|
depends on BUSYBOX_CONFIG_DD
|
|
help
|
|
Enable support for writing a certain number of bytes in and out,
|
|
at a time, and performing conversions on the data stream.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DD_STATUS
|
|
bool "Enable status display options"
|
|
default BUSYBOX_DEFAULT_FEATURE_DD_STATUS
|
|
depends on BUSYBOX_CONFIG_DD
|
|
help
|
|
Enable support for status=noxfer/none option.
|
|
config BUSYBOX_CONFIG_DF
|
|
bool "df (6.8 kb)"
|
|
default BUSYBOX_DEFAULT_DF
|
|
help
|
|
df reports the amount of disk space used and available
|
|
on filesystems.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DF_FANCY
|
|
bool "Enable -a, -i, -B"
|
|
default BUSYBOX_DEFAULT_FEATURE_DF_FANCY
|
|
depends on BUSYBOX_CONFIG_DF
|
|
help
|
|
-a Show all filesystems
|
|
-i Inodes
|
|
-B <SIZE> Blocksize
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_SKIP_ROOTFS
|
|
bool "Skip rootfs in mount table"
|
|
default BUSYBOX_DEFAULT_FEATURE_SKIP_ROOTFS
|
|
depends on BUSYBOX_CONFIG_DF
|
|
help
|
|
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.
|
|
|
|
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.
|
|
config BUSYBOX_CONFIG_DIRNAME
|
|
bool "dirname (329 bytes)"
|
|
default BUSYBOX_DEFAULT_DIRNAME
|
|
help
|
|
dirname is used to strip a non-directory suffix from
|
|
a file name.
|
|
config BUSYBOX_CONFIG_DOS2UNIX
|
|
bool "dos2unix (5.2 kb)"
|
|
default BUSYBOX_DEFAULT_DOS2UNIX
|
|
help
|
|
dos2unix is used to convert a text file from DOS format to
|
|
UNIX format, and vice versa.
|
|
|
|
config BUSYBOX_CONFIG_UNIX2DOS
|
|
bool "unix2dos (5.2 kb)"
|
|
default BUSYBOX_DEFAULT_UNIX2DOS
|
|
help
|
|
unix2dos is used to convert a text file from UNIX format to
|
|
DOS format, and vice versa.
|
|
config BUSYBOX_CONFIG_DU
|
|
bool "du (6.3 kb)"
|
|
default BUSYBOX_DEFAULT_DU
|
|
help
|
|
du is used to report the amount of disk space used
|
|
for specified files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
|
bool "Use default blocksize of 1024 bytes (else it's 512 bytes)"
|
|
default BUSYBOX_DEFAULT_FEATURE_DU_DEFAULT_BLOCKSIZE_1K
|
|
depends on BUSYBOX_CONFIG_DU
|
|
config BUSYBOX_CONFIG_ECHO
|
|
bool "echo (1.8 kb)"
|
|
default BUSYBOX_DEFAULT_ECHO
|
|
help
|
|
echo prints a specified string to stdout.
|
|
|
|
# this entry also appears in shell/Config.in, next to the echo builtin
|
|
config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
|
|
bool "Enable -n and -e options"
|
|
default BUSYBOX_DEFAULT_FEATURE_FANCY_ECHO
|
|
depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_ECHO || BUSYBOX_CONFIG_HUSH_ECHO
|
|
config BUSYBOX_CONFIG_ENV
|
|
bool "env (4 kb)"
|
|
default BUSYBOX_DEFAULT_ENV
|
|
help
|
|
env is used to set an environment variable and run
|
|
a command; without options it displays the current
|
|
environment.
|
|
config BUSYBOX_CONFIG_EXPAND
|
|
bool "expand (5.1 kb)"
|
|
default BUSYBOX_DEFAULT_EXPAND
|
|
help
|
|
By default, convert all tabs to spaces.
|
|
|
|
config BUSYBOX_CONFIG_UNEXPAND
|
|
bool "unexpand (5.3 kb)"
|
|
default BUSYBOX_DEFAULT_UNEXPAND
|
|
help
|
|
By default, convert only leading sequences of blanks to tabs.
|
|
config BUSYBOX_CONFIG_EXPR
|
|
bool "expr (6.6 kb)"
|
|
default BUSYBOX_DEFAULT_EXPR
|
|
help
|
|
expr is used to calculate numbers and print the result
|
|
to standard output.
|
|
|
|
config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
|
|
bool "Extend Posix numbers support to 64 bit"
|
|
default BUSYBOX_DEFAULT_EXPR_MATH_SUPPORT_64
|
|
depends on BUSYBOX_CONFIG_EXPR
|
|
help
|
|
Enable 64-bit math support in the expr applet. This will make
|
|
the applet slightly larger, but will allow computation with very
|
|
large numbers.
|
|
config BUSYBOX_CONFIG_FACTOR
|
|
bool "factor (2.7 kb)"
|
|
default BUSYBOX_DEFAULT_FACTOR
|
|
help
|
|
factor factorizes integers
|
|
config BUSYBOX_CONFIG_FALSE
|
|
bool "false (tiny)"
|
|
default BUSYBOX_DEFAULT_FALSE
|
|
help
|
|
false returns an exit code of FALSE (1).
|
|
config BUSYBOX_CONFIG_FOLD
|
|
bool "fold (4.6 kb)"
|
|
default BUSYBOX_DEFAULT_FOLD
|
|
help
|
|
Wrap text to fit a specific width.
|
|
config BUSYBOX_CONFIG_HEAD
|
|
bool "head (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_HEAD
|
|
help
|
|
head is used to print the first specified number of lines
|
|
from files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD
|
|
bool "Enable -c, -q, and -v"
|
|
default BUSYBOX_DEFAULT_FEATURE_FANCY_HEAD
|
|
depends on BUSYBOX_CONFIG_HEAD
|
|
config BUSYBOX_CONFIG_HOSTID
|
|
bool "hostid (286 bytes)"
|
|
default BUSYBOX_DEFAULT_HOSTID
|
|
help
|
|
hostid prints the numeric identifier (in hexadecimal) for
|
|
the current host.
|
|
config BUSYBOX_CONFIG_ID
|
|
bool "id (7 kb)"
|
|
default BUSYBOX_DEFAULT_ID
|
|
help
|
|
id displays the current user and group ID names.
|
|
|
|
config BUSYBOX_CONFIG_GROUPS
|
|
bool "groups (6.7 kb)"
|
|
default BUSYBOX_DEFAULT_GROUPS
|
|
help
|
|
Print the group names associated with current user id.
|
|
config BUSYBOX_CONFIG_INSTALL
|
|
bool "install (12 kb)"
|
|
default BUSYBOX_DEFAULT_INSTALL
|
|
help
|
|
Copy files and set attributes.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS
|
|
bool "Enable long options"
|
|
default BUSYBOX_DEFAULT_FEATURE_INSTALL_LONG_OPTIONS
|
|
depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS
|
|
config BUSYBOX_CONFIG_LINK
|
|
bool "link (3.2 kb)"
|
|
default BUSYBOX_DEFAULT_LINK
|
|
help
|
|
link creates hard links between files.
|
|
config BUSYBOX_CONFIG_LN
|
|
bool "ln (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_LN
|
|
help
|
|
ln is used to create hard or soft links between files.
|
|
config BUSYBOX_CONFIG_LOGNAME
|
|
bool "logname (1.1 kb)"
|
|
default BUSYBOX_DEFAULT_LOGNAME
|
|
help
|
|
logname is used to print the current user's login name.
|
|
config BUSYBOX_CONFIG_LS
|
|
bool "ls (14 kb)"
|
|
default BUSYBOX_DEFAULT_LS
|
|
help
|
|
ls is used to list the contents of directories.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES
|
|
bool "Enable filetyping options (-p and -F)"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_FILETYPES
|
|
depends on BUSYBOX_CONFIG_LS
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS
|
|
bool "Enable symlinks dereferencing (-L)"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_FOLLOWLINKS
|
|
depends on BUSYBOX_CONFIG_LS
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE
|
|
bool "Enable recursion (-R)"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_RECURSIVE
|
|
depends on BUSYBOX_CONFIG_LS
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_WIDTH
|
|
bool "Enable -w WIDTH and window size autodetection"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_WIDTH
|
|
depends on BUSYBOX_CONFIG_LS
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES
|
|
bool "Sort the file names"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_SORTFILES
|
|
depends on BUSYBOX_CONFIG_LS
|
|
help
|
|
Allow ls to sort file names alphabetically.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS
|
|
bool "Show file timestamps"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_TIMESTAMPS
|
|
depends on BUSYBOX_CONFIG_LS
|
|
help
|
|
Allow ls to display timestamps for files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
|
|
bool "Show username/groupnames"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_USERNAME
|
|
depends on BUSYBOX_CONFIG_LS
|
|
help
|
|
Allow ls to display username/groupname for files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_COLOR
|
|
bool "Allow use of color to identify file types"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_COLOR
|
|
depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS
|
|
help
|
|
This enables the --color option to ls.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
|
|
bool "Produce colored ls output by default"
|
|
default BUSYBOX_DEFAULT_FEATURE_LS_COLOR_IS_DEFAULT
|
|
depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
|
|
help
|
|
Saying yes here will turn coloring on by default,
|
|
even if no "--color" option is given to the ls command.
|
|
This is not recommended, since the colors are not
|
|
configurable, and the output may not be legible on
|
|
many output screens.
|
|
config BUSYBOX_CONFIG_MD5SUM
|
|
bool "md5sum (6.5 kb)"
|
|
default BUSYBOX_DEFAULT_MD5SUM
|
|
help
|
|
Compute and check MD5 message digest
|
|
|
|
config BUSYBOX_CONFIG_SHA1SUM
|
|
bool "sha1sum (5.9 kb)"
|
|
default BUSYBOX_DEFAULT_SHA1SUM
|
|
help
|
|
Compute and check SHA1 message digest
|
|
|
|
config BUSYBOX_CONFIG_SHA256SUM
|
|
bool "sha256sum (7 kb)"
|
|
default BUSYBOX_DEFAULT_SHA256SUM
|
|
help
|
|
Compute and check SHA256 message digest
|
|
|
|
config BUSYBOX_CONFIG_SHA512SUM
|
|
bool "sha512sum (7.4 kb)"
|
|
default BUSYBOX_DEFAULT_SHA512SUM
|
|
help
|
|
Compute and check SHA512 message digest
|
|
|
|
config BUSYBOX_CONFIG_SHA3SUM
|
|
bool "sha3sum (6.1 kb)"
|
|
default BUSYBOX_DEFAULT_SHA3SUM
|
|
help
|
|
Compute and check SHA3 message digest
|
|
|
|
comment "Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum"
|
|
depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
|
|
bool "Enable -c, -s and -w options"
|
|
default BUSYBOX_DEFAULT_FEATURE_MD5_SHA1_SUM_CHECK
|
|
depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM || BUSYBOX_CONFIG_SHA3SUM
|
|
help
|
|
Enabling the -c options allows files to be checked
|
|
against pre-calculated hash values.
|
|
-s and -w are useful options when verifying checksums.
|
|
config BUSYBOX_CONFIG_MKDIR
|
|
bool "mkdir (4.5 kb)"
|
|
default BUSYBOX_DEFAULT_MKDIR
|
|
help
|
|
mkdir is used to create directories with the specified names.
|
|
config BUSYBOX_CONFIG_MKFIFO
|
|
bool "mkfifo (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_MKFIFO
|
|
help
|
|
mkfifo is used to create FIFOs (named pipes).
|
|
The 'mknod' program can also create FIFOs.
|
|
config BUSYBOX_CONFIG_MKNOD
|
|
bool "mknod (4.5 kb)"
|
|
default BUSYBOX_DEFAULT_MKNOD
|
|
help
|
|
mknod is used to create FIFOs or block/character special
|
|
files with the specified names.
|
|
config BUSYBOX_CONFIG_MKTEMP
|
|
bool "mktemp (4.2 kb)"
|
|
default BUSYBOX_DEFAULT_MKTEMP
|
|
help
|
|
mktemp is used to create unique temporary files
|
|
config BUSYBOX_CONFIG_MV
|
|
bool "mv (10 kb)"
|
|
default BUSYBOX_DEFAULT_MV
|
|
help
|
|
mv is used to move or rename files or directories.
|
|
config BUSYBOX_CONFIG_NICE
|
|
bool "nice (2.1 kb)"
|
|
default BUSYBOX_DEFAULT_NICE
|
|
help
|
|
nice runs a program with modified scheduling priority.
|
|
config BUSYBOX_CONFIG_NL
|
|
bool "nl (4.6 kb)"
|
|
default BUSYBOX_DEFAULT_NL
|
|
help
|
|
nl is used to number lines of files.
|
|
config BUSYBOX_CONFIG_NOHUP
|
|
bool "nohup (2 kb)"
|
|
default BUSYBOX_DEFAULT_NOHUP
|
|
help
|
|
run a command immune to hangups, with output to a non-tty.
|
|
config BUSYBOX_CONFIG_NPROC
|
|
bool "nproc (3.7 kb)"
|
|
default BUSYBOX_DEFAULT_NPROC
|
|
help
|
|
Print number of CPUs
|
|
config BUSYBOX_CONFIG_OD
|
|
bool "od (11 kb)"
|
|
default BUSYBOX_DEFAULT_OD
|
|
help
|
|
od is used to dump binary files in octal and other formats.
|
|
config BUSYBOX_CONFIG_PASTE
|
|
bool "paste (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_PASTE
|
|
help
|
|
paste is used to paste lines of different files together
|
|
and write the result to stdout
|
|
config BUSYBOX_CONFIG_PRINTENV
|
|
bool "printenv (1.3 kb)"
|
|
default BUSYBOX_DEFAULT_PRINTENV
|
|
help
|
|
printenv is used to print all or part of environment.
|
|
config BUSYBOX_CONFIG_PRINTF
|
|
bool "printf (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_PRINTF
|
|
help
|
|
printf is used to format and print specified strings.
|
|
It's similar to 'echo' except it has more options.
|
|
config BUSYBOX_CONFIG_PWD
|
|
bool "pwd (3.7 kb)"
|
|
default BUSYBOX_DEFAULT_PWD
|
|
help
|
|
pwd is used to print the current directory.
|
|
config BUSYBOX_CONFIG_READLINK
|
|
bool "readlink (4 kb)"
|
|
default BUSYBOX_DEFAULT_READLINK
|
|
help
|
|
This program reads a symbolic link and returns the name
|
|
of the file it points to
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW
|
|
bool "Enable canonicalization by following all symlinks (-f)"
|
|
default BUSYBOX_DEFAULT_FEATURE_READLINK_FOLLOW
|
|
depends on BUSYBOX_CONFIG_READLINK
|
|
help
|
|
Enable the readlink option (-f).
|
|
config BUSYBOX_CONFIG_REALPATH
|
|
bool "realpath (1.6 kb)"
|
|
default BUSYBOX_DEFAULT_REALPATH
|
|
help
|
|
Return the canonicalized absolute pathname.
|
|
This isn't provided by GNU shellutils, but where else does it belong.
|
|
config BUSYBOX_CONFIG_RM
|
|
bool "rm (5.4 kb)"
|
|
default BUSYBOX_DEFAULT_RM
|
|
help
|
|
rm is used to remove files or directories.
|
|
config BUSYBOX_CONFIG_RMDIR
|
|
bool "rmdir (3.5 kb)"
|
|
default BUSYBOX_DEFAULT_RMDIR
|
|
help
|
|
rmdir is used to remove empty directories.
|
|
config BUSYBOX_CONFIG_SEQ
|
|
bool "seq (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_SEQ
|
|
help
|
|
print a sequence of numbers
|
|
config BUSYBOX_CONFIG_SHRED
|
|
bool "shred (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_SHRED
|
|
help
|
|
Overwrite a file to hide its contents, and optionally delete it
|
|
config BUSYBOX_CONFIG_SHUF
|
|
bool "shuf (5.4 kb)"
|
|
default BUSYBOX_DEFAULT_SHUF
|
|
help
|
|
Generate random permutations
|
|
config BUSYBOX_CONFIG_SLEEP
|
|
bool "sleep (2 kb)"
|
|
default BUSYBOX_DEFAULT_SLEEP
|
|
help
|
|
sleep is used to pause for a specified number of seconds.
|
|
It comes in 3 versions:
|
|
- small: takes one integer parameter
|
|
- fancy: takes multiple integer arguments with suffixes:
|
|
sleep 1d 2h 3m 15s
|
|
- fancy with fractional numbers:
|
|
sleep 2.3s 4.5h sleeps for 16202.3 seconds
|
|
Last one is "the most compatible" with coreutils sleep,
|
|
but it adds around 1k of code.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
|
|
bool "Enable multiple arguments and s/m/h/d suffixes"
|
|
default BUSYBOX_DEFAULT_FEATURE_FANCY_SLEEP
|
|
depends on BUSYBOX_CONFIG_SLEEP
|
|
help
|
|
Allow sleep to pause for specified minutes, hours, and days.
|
|
config BUSYBOX_CONFIG_SORT
|
|
bool "sort (7.7 kb)"
|
|
default BUSYBOX_DEFAULT_SORT
|
|
help
|
|
sort is used to sort lines of text in specified files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_SORT_BIG
|
|
bool "Full SuSv3 compliant sort (support -ktcbdfioghM)"
|
|
default BUSYBOX_DEFAULT_FEATURE_SORT_BIG
|
|
depends on BUSYBOX_CONFIG_SORT
|
|
help
|
|
Without this, sort only supports -rusz, and an integer version
|
|
of -n. Selecting this adds sort keys, floating point support, and
|
|
more. This adds a little over 3k to a nonstatic build on x86.
|
|
|
|
The SuSv3 sort standard is available at:
|
|
http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY
|
|
bool "Use less memory (but might be slower)"
|
|
default BUSYBOX_DEFAULT_FEATURE_SORT_OPTIMIZE_MEMORY # defaults to N since we are size-paranoid tribe
|
|
depends on BUSYBOX_CONFIG_SORT
|
|
help
|
|
Attempt to use less memory (by storing only one copy
|
|
of duplicated lines, and such). Useful if you work on huge files.
|
|
config BUSYBOX_CONFIG_SPLIT
|
|
bool "split (5 kb)"
|
|
default BUSYBOX_DEFAULT_SPLIT
|
|
help
|
|
Split a file into pieces.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY
|
|
bool "Fancy extensions"
|
|
default BUSYBOX_DEFAULT_FEATURE_SPLIT_FANCY
|
|
depends on BUSYBOX_CONFIG_SPLIT
|
|
help
|
|
Add support for features not required by SUSv3.
|
|
Supports additional suffixes 'b' for 512 bytes,
|
|
'g' for 1GiB for the -b option.
|
|
config BUSYBOX_CONFIG_STAT
|
|
bool "stat (11 kb)"
|
|
default BUSYBOX_DEFAULT_STAT
|
|
help
|
|
display file or filesystem status.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
|
|
bool "Enable custom formats (-c)"
|
|
default BUSYBOX_DEFAULT_FEATURE_STAT_FORMAT
|
|
depends on BUSYBOX_CONFIG_STAT
|
|
help
|
|
Without this, stat will not support the '-c format' option where
|
|
users can pass a custom format string for output. This adds about
|
|
7k to a nonstatic build on amd64.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_STAT_FILESYSTEM
|
|
bool "Enable display of filesystem status (-f)"
|
|
default BUSYBOX_DEFAULT_FEATURE_STAT_FILESYSTEM
|
|
depends on BUSYBOX_CONFIG_STAT
|
|
help
|
|
Without this, stat will not support the '-f' option to display
|
|
information about filesystem status.
|
|
config BUSYBOX_CONFIG_STTY
|
|
bool "stty (8.9 kb)"
|
|
default BUSYBOX_DEFAULT_STTY
|
|
help
|
|
stty is used to change and print terminal line settings.
|
|
config BUSYBOX_CONFIG_SUM
|
|
bool "sum (4 kb)"
|
|
default BUSYBOX_DEFAULT_SUM
|
|
help
|
|
checksum and count the blocks in a file
|
|
config BUSYBOX_CONFIG_SYNC
|
|
bool "sync (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_SYNC
|
|
help
|
|
sync is used to flush filesystem buffers.
|
|
config BUSYBOX_CONFIG_FEATURE_SYNC_FANCY
|
|
bool "Enable -d and -f flags (requires syncfs(2) in libc)"
|
|
default BUSYBOX_DEFAULT_FEATURE_SYNC_FANCY
|
|
depends on BUSYBOX_CONFIG_SYNC
|
|
help
|
|
sync -d FILE... executes fdatasync() on each FILE.
|
|
sync -f FILE... executes syncfs() on each FILE.
|
|
config BUSYBOX_CONFIG_FSYNC
|
|
bool "fsync (3.6 kb)"
|
|
default BUSYBOX_DEFAULT_FSYNC
|
|
help
|
|
fsync is used to flush file-related cached blocks to disk.
|
|
config BUSYBOX_CONFIG_TAC
|
|
bool "tac (3.9 kb)"
|
|
default BUSYBOX_DEFAULT_TAC
|
|
help
|
|
tac is used to concatenate and print files in reverse.
|
|
config BUSYBOX_CONFIG_TAIL
|
|
bool "tail (6.8 kb)"
|
|
default BUSYBOX_DEFAULT_TAIL
|
|
help
|
|
tail is used to print the last specified number of lines
|
|
from files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
|
|
bool "Enable -q, -s, -v, and -F options"
|
|
default BUSYBOX_DEFAULT_FEATURE_FANCY_TAIL
|
|
depends on BUSYBOX_CONFIG_TAIL
|
|
help
|
|
These options are provided by GNU tail, but
|
|
are not specified in the SUSv3 standard:
|
|
-q Never output headers giving file names
|
|
-s SEC Wait SEC seconds between reads with -f
|
|
-v Always output headers giving file names
|
|
-F Same as -f, but keep retrying
|
|
config BUSYBOX_CONFIG_TEE
|
|
bool "tee (4.2 kb)"
|
|
default BUSYBOX_DEFAULT_TEE
|
|
help
|
|
tee is used to read from standard input and write
|
|
to standard output and files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
|
|
bool "Enable block I/O (larger/faster) instead of byte I/O"
|
|
default BUSYBOX_DEFAULT_FEATURE_TEE_USE_BLOCK_IO
|
|
depends on BUSYBOX_CONFIG_TEE
|
|
help
|
|
Enable this option for a faster tee, at expense of size.
|
|
config BUSYBOX_CONFIG_TEST
|
|
bool "test (4.1 kb)"
|
|
default BUSYBOX_DEFAULT_TEST
|
|
help
|
|
test is used to check file types and compare values,
|
|
returning an appropriate exit code. The bash shell
|
|
has test built in, ash can build it in optionally.
|
|
|
|
config BUSYBOX_CONFIG_TEST1
|
|
bool "test as ["
|
|
default BUSYBOX_DEFAULT_TEST1
|
|
help
|
|
Provide test command in the "[ EXPR ]" form
|
|
|
|
config BUSYBOX_CONFIG_TEST2
|
|
bool "test as [["
|
|
default BUSYBOX_DEFAULT_TEST2
|
|
help
|
|
Provide test command in the "[[ EXPR ]]" form
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TEST_64
|
|
bool "Extend test to 64 bit"
|
|
default BUSYBOX_DEFAULT_FEATURE_TEST_64
|
|
depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_TEST1 || BUSYBOX_CONFIG_TEST2 || BUSYBOX_CONFIG_ASH_TEST || BUSYBOX_CONFIG_HUSH_TEST
|
|
help
|
|
Enable 64-bit support in test.
|
|
config BUSYBOX_CONFIG_TIMEOUT
|
|
bool "timeout (6 kb)"
|
|
default BUSYBOX_DEFAULT_TIMEOUT
|
|
help
|
|
Runs a program and watches it. If it does not terminate in
|
|
specified number of seconds, it is sent a signal.
|
|
config BUSYBOX_CONFIG_TOUCH
|
|
bool "touch (5.9 kb)"
|
|
default BUSYBOX_DEFAULT_TOUCH
|
|
help
|
|
touch is used to create or change the access and/or
|
|
modification timestamp of specified files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TOUCH_SUSV3
|
|
bool "Add support for SUSV3 features (-a -d -m -t -r)"
|
|
default BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3
|
|
depends on BUSYBOX_CONFIG_TOUCH
|
|
help
|
|
Enable touch to use a reference file or a given date/time argument.
|
|
config BUSYBOX_CONFIG_TR
|
|
bool "tr (5.1 kb)"
|
|
default BUSYBOX_DEFAULT_TR
|
|
help
|
|
tr is used to squeeze, and/or delete characters from standard
|
|
input, writing to standard output.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
|
|
bool "Enable character classes (such as [:upper:])"
|
|
default BUSYBOX_DEFAULT_FEATURE_TR_CLASSES
|
|
depends on BUSYBOX_CONFIG_TR
|
|
help
|
|
Enable character classes, enabling commands such as:
|
|
tr [:upper:] [:lower:] to convert input into lowercase.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
|
|
bool "Enable equivalence classes"
|
|
default BUSYBOX_DEFAULT_FEATURE_TR_EQUIV
|
|
depends on BUSYBOX_CONFIG_TR
|
|
help
|
|
Enable equivalence classes, which essentially add the enclosed
|
|
character to the current set. For instance, tr [=a=] xyz would
|
|
replace all instances of 'a' with 'xyz'. This option is mainly
|
|
useful for cases when no other way of expressing a character
|
|
is possible.
|
|
config BUSYBOX_CONFIG_TRUE
|
|
bool "true (tiny)"
|
|
default BUSYBOX_DEFAULT_TRUE
|
|
help
|
|
true returns an exit code of TRUE (0).
|
|
config BUSYBOX_CONFIG_TRUNCATE
|
|
bool "truncate (4.2 kb)"
|
|
default BUSYBOX_DEFAULT_TRUNCATE
|
|
help
|
|
truncate truncates files to a given size. If a file does
|
|
not exist, it is created unless told otherwise.
|
|
config BUSYBOX_CONFIG_TSORT
|
|
bool "tsort (0.7 kb)"
|
|
default BUSYBOX_DEFAULT_TSORT
|
|
help
|
|
tsort performs a topological sort.
|
|
config BUSYBOX_CONFIG_TTY
|
|
bool "tty (3.6 kb)"
|
|
default BUSYBOX_DEFAULT_TTY
|
|
help
|
|
tty is used to print the name of the current terminal to
|
|
standard output.
|
|
config BUSYBOX_CONFIG_UNAME
|
|
bool "uname (3.9 kb)"
|
|
default BUSYBOX_DEFAULT_UNAME
|
|
help
|
|
uname is used to print system information.
|
|
|
|
config BUSYBOX_CONFIG_UNAME_OSNAME
|
|
string "Operating system name"
|
|
default BUSYBOX_DEFAULT_UNAME_OSNAME
|
|
depends on BUSYBOX_CONFIG_UNAME
|
|
help
|
|
Sets the operating system name reported by uname -o. The
|
|
default BUSYBOX_DEFAULT_UNAME_OSNAME "GNU/Linux".
|
|
|
|
config BUSYBOX_CONFIG_BB_ARCH
|
|
bool "arch (1.1 kb)"
|
|
default BUSYBOX_DEFAULT_BB_ARCH
|
|
help
|
|
Same as uname -m.
|
|
config BUSYBOX_CONFIG_UNIQ
|
|
bool "uniq (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_UNIQ
|
|
help
|
|
uniq is used to remove duplicate lines from a sorted file.
|
|
config BUSYBOX_CONFIG_UNLINK
|
|
bool "unlink (3.2 kb)"
|
|
default BUSYBOX_DEFAULT_UNLINK
|
|
help
|
|
unlink deletes a file by calling unlink()
|
|
config BUSYBOX_CONFIG_USLEEP
|
|
bool "usleep (1.3 kb)"
|
|
default BUSYBOX_DEFAULT_USLEEP
|
|
help
|
|
usleep is used to pause for a specified number of microseconds.
|
|
config BUSYBOX_CONFIG_UUDECODE
|
|
bool "uudecode (5.8 kb)"
|
|
default BUSYBOX_DEFAULT_UUDECODE
|
|
help
|
|
uudecode is used to decode a uuencoded file.
|
|
config BUSYBOX_CONFIG_BASE32
|
|
bool "base32 (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_BASE32
|
|
help
|
|
Base32 encode and decode
|
|
config BUSYBOX_CONFIG_BASE64
|
|
bool "base64 (4.9 kb)"
|
|
default BUSYBOX_DEFAULT_BASE64
|
|
help
|
|
Base64 encode and decode
|
|
config BUSYBOX_CONFIG_UUENCODE
|
|
bool "uuencode (4.4 kb)"
|
|
default BUSYBOX_DEFAULT_UUENCODE
|
|
help
|
|
uuencode is used to uuencode a file.
|
|
config BUSYBOX_CONFIG_WC
|
|
bool "wc (4.5 kb)"
|
|
default BUSYBOX_DEFAULT_WC
|
|
help
|
|
wc is used to print the number of bytes, words, and lines,
|
|
in specified files.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_WC_LARGE
|
|
bool "Support very large counts"
|
|
default BUSYBOX_DEFAULT_FEATURE_WC_LARGE
|
|
depends on BUSYBOX_CONFIG_WC
|
|
help
|
|
Use "unsigned long long" for counter variables.
|
|
config BUSYBOX_CONFIG_WHO
|
|
bool "who (3.9 kb)"
|
|
default BUSYBOX_DEFAULT_WHO
|
|
depends on BUSYBOX_CONFIG_FEATURE_UTMP
|
|
help
|
|
Print users currently logged on.
|
|
|
|
config BUSYBOX_CONFIG_W
|
|
bool "w (3.8 kb)"
|
|
default BUSYBOX_DEFAULT_W
|
|
depends on BUSYBOX_CONFIG_FEATURE_UTMP
|
|
help
|
|
Print users currently logged on.
|
|
|
|
config BUSYBOX_CONFIG_USERS
|
|
bool "users (3.4 kb)"
|
|
default BUSYBOX_DEFAULT_USERS
|
|
depends on BUSYBOX_CONFIG_FEATURE_UTMP
|
|
help
|
|
Print users currently logged on.
|
|
config BUSYBOX_CONFIG_WHOAMI
|
|
bool "whoami (3.2 kb)"
|
|
default BUSYBOX_DEFAULT_WHOAMI
|
|
help
|
|
whoami is used to print the username of the current
|
|
user id (same as id -un).
|
|
config BUSYBOX_CONFIG_YES
|
|
bool "yes (1.2 kb)"
|
|
default BUSYBOX_DEFAULT_YES
|
|
help
|
|
yes is used to repeatedly output a specific string, or
|
|
the default string 'y'.
|
|
|
|
endmenu
|