diff options
Diffstat (limited to 'package/utils/busybox/config/miscutils')
-rw-r--r-- | package/utils/busybox/config/miscutils/Config.in | 258 |
1 files changed, 185 insertions, 73 deletions
diff --git a/package/utils/busybox/config/miscutils/Config.in b/package/utils/busybox/config/miscutils/Config.in index 1f378206b1..dfd04fbd56 100644 --- a/package/utils/busybox/config/miscutils/Config.in +++ b/package/utils/busybox/config/miscutils/Config.in @@ -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 scripts/kbuild/config-language.txt. +# see docs/Kconfig-language.txt. # menu "Miscellaneous Utilities" config BUSYBOX_CONFIG_ADJTIMEX - bool "adjtimex" + bool "adjtimex (4.7 kb)" default BUSYBOX_DEFAULT_ADJTIMEX select BUSYBOX_CONFIG_PLATFORM_LINUX help Adjtimex reads and optionally sets adjustment parameters for the Linux clock adjustment algorithm. config BUSYBOX_CONFIG_BBCONFIG - bool "bbconfig" + bool "bbconfig (9.7 kb)" default BUSYBOX_DEFAULT_BBCONFIG help The bbconfig applet will print the config file with which @@ -33,8 +33,94 @@ config BUSYBOX_CONFIG_FEATURE_COMPRESS_BBCONFIG be noticeable. Also, if you run executables directly from ROM and have very little memory, this might not be a win. Otherwise, you probably want this. +config BUSYBOX_CONFIG_BC + bool "bc (45 kb)" + default BUSYBOX_DEFAULT_BC + select BUSYBOX_CONFIG_FEATURE_DC_BIG + help + bc is a command-line, arbitrary-precision calculator with a + Turing-complete language. See the GNU bc manual + (https://www.gnu.org/software/bc/manual/bc.html) and bc spec + (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/bc.html). + + This bc has five differences to the GNU bc: + 1) The period (.) is a shortcut for "last", as in the BSD bc. + 2) Arrays are copied before being passed as arguments to + functions. This behavior is required by the bc spec. + 3) Arrays can be passed to the builtin "length" function to get + the number of elements in the array. This prints "1": + a[0] = 0; length(a[]) + 4) The precedence of the boolean "not" operator (!) is equal to + that of the unary minus (-) negation operator. This still + allows POSIX-compliant scripts to work while somewhat + preserving expected behavior (versus C) and making parsing + easier. + 5) "read()" accepts expressions, not only numeric literals. + +config BUSYBOX_CONFIG_DC + bool "dc (36 kb)" + default BUSYBOX_DEFAULT_DC + help + dc is a reverse-polish notation command-line calculator which + supports unlimited precision arithmetic. See the FreeBSD man page + (https://www.unix.com/man-page/FreeBSD/1/dc/) and GNU dc manual + (https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html). + + This dc has a few differences from the two above: + 1) When printing a byte stream (command "P"), this dc follows what + the FreeBSD dc does. + 2) Implements the GNU extensions for divmod ("~") and + modular exponentiation ("|"). + 3) Implements all FreeBSD extensions, except for "J" and "M". + 4) Like the FreeBSD dc, this dc supports extended registers. + However, they are implemented differently. When it encounters + whitespace where a register should be, it skips the whitespace. + If the character following is not a lowercase letter, an error + is issued. Otherwise, the register name is parsed by the + following regex: [a-z][a-z0-9_]* + This generally means that register names will be surrounded by + whitespace. Examples: + l idx s temp L index S temp2 < do_thing + Also note that, like the FreeBSD dc, extended registers are not + allowed unless the "-x" option is given. + +if BC || BUSYBOX_CONFIG_DC # for menuconfig indenting + +config BUSYBOX_CONFIG_FEATURE_DC_BIG + bool "Use bc code base for dc (larger, more features)" + default BUSYBOX_DEFAULT_FEATURE_DC_BIG + +config BUSYBOX_CONFIG_FEATURE_DC_LIBM + bool "Enable power and exp functions (requires libm)" + default BUSYBOX_DEFAULT_FEATURE_DC_LIBM + depends on BUSYBOX_CONFIG_DC && !BUSYBOX_CONFIG_BC && !BUSYBOX_CONFIG_FEATURE_DC_BIG + help + Enable power and exp functions. + NOTE: This will require libm to be present for linking. + +config BUSYBOX_CONFIG_FEATURE_BC_INTERACTIVE + bool "Interactive mode (+4kb)" + default BUSYBOX_DEFAULT_FEATURE_BC_INTERACTIVE + depends on BUSYBOX_CONFIG_BC || (BUSYBOX_CONFIG_DC && BUSYBOX_CONFIG_FEATURE_DC_BIG) + help + Enable interactive mode: when started on a tty, + ^C interrupts execution and returns to command line, + errors also return to command line instead of exiting, + line editing with history is available. + + With this option off, input can still be taken from tty, + but all errors are fatal, ^C is fatal, + tty is treated exactly the same as any other + standard input (IOW: no line editing). + +config BUSYBOX_CONFIG_FEATURE_BC_LONG_OPTIONS + bool "Enable bc/dc long options" + default BUSYBOX_DEFAULT_FEATURE_BC_LONG_OPTIONS + depends on BUSYBOX_CONFIG_BC || (BUSYBOX_CONFIG_DC && BUSYBOX_CONFIG_FEATURE_DC_BIG) + +endif config BUSYBOX_CONFIG_BEEP - bool "beep" + bool "beep (2.4 kb)" default BUSYBOX_DEFAULT_BEEP select BUSYBOX_CONFIG_PLATFORM_LINUX help @@ -56,7 +142,7 @@ config BUSYBOX_CONFIG_FEATURE_BEEP_LENGTH_MS help Length in ms for default beep. config BUSYBOX_CONFIG_CHAT - bool "chat" + bool "chat (6.3 kb)" default BUSYBOX_DEFAULT_CHAT help Simple chat utility. @@ -122,7 +208,7 @@ config BUSYBOX_CONFIG_FEATURE_CHAT_CLR_ABORT help Support CLR_ABORT directive. config BUSYBOX_CONFIG_CONSPY - bool "conspy" + bool "conspy (10 kb)" default BUSYBOX_DEFAULT_CONSPY select BUSYBOX_CONFIG_PLATFORM_LINUX help @@ -131,7 +217,7 @@ config BUSYBOX_CONFIG_CONSPY or conspy -nd NUM screenshot of console num or conspy -cs NUM poor man's GNU screen like config BUSYBOX_CONFIG_CROND - bool "crond" + bool "crond (14 kb)" default BUSYBOX_DEFAULT_CROND select BUSYBOX_CONFIG_FEATURE_SYSLOG help @@ -139,12 +225,12 @@ config BUSYBOX_CONFIG_CROND files and executes commands on behalf of the users in question. This is a port of dcron from slackware. It uses files of the format /var/spool/cron/crontabs/<username> files, for example: - $ cat /var/spool/cron/crontabs/root - # Run daily cron jobs at 4:40 every day: - 40 4 * * * /etc/cron/daily > /dev/null 2>&1 + $ cat /var/spool/cron/crontabs/root + # Run daily cron jobs at 4:40 every day: + 40 4 * * * /etc/cron/daily > /dev/null 2>&1 config BUSYBOX_CONFIG_FEATURE_CROND_D - bool "Support option -d to redirect output to stderr" + bool "Support -d (redirect output to stderr)" depends on BUSYBOX_CONFIG_CROND default BUSYBOX_DEFAULT_FEATURE_CROND_D help @@ -157,6 +243,22 @@ config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL help Command output will be sent to corresponding user via email. +config BUSYBOX_CONFIG_FEATURE_CROND_SPECIAL_TIMES + bool "Support special times (@reboot, @daily, etc) in crontabs" + default BUSYBOX_DEFAULT_FEATURE_CROND_SPECIAL_TIMES + depends on BUSYBOX_CONFIG_CROND + help + string meaning + ------ ------- + @reboot Run once, at startup + @yearly Run once a year: "0 0 1 1 *" + @annually Same as @yearly: "0 0 1 1 *" + @monthly Run once a month: "0 0 1 * *" + @weekly Run once a week: "0 0 * * 0" + @daily Run once a day: "0 0 * * *" + @midnight Same as @daily: "0 0 * * *" + @hourly Run once an hour: "0 * * * *" + config BUSYBOX_CONFIG_FEATURE_CROND_DIR string "crond spool directory" default BUSYBOX_DEFAULT_FEATURE_CROND_DIR @@ -164,27 +266,13 @@ config BUSYBOX_CONFIG_FEATURE_CROND_DIR help Location of crond spool. config BUSYBOX_CONFIG_CRONTAB - bool "crontab" + bool "crontab (10 kb)" default BUSYBOX_DEFAULT_CRONTAB help Crontab manipulates the crontab for a particular user. Only the superuser may specify a different user and/or crontab directory. - Note that Busybox binary must be setuid root for this applet to + Note that busybox binary must be setuid root for this applet to work properly. -config BUSYBOX_CONFIG_DC - bool "dc" - default BUSYBOX_DEFAULT_DC - help - Dc is a reverse-polish desk calculator which supports unlimited - precision arithmetic. - -config BUSYBOX_CONFIG_FEATURE_DC_LIBM - bool "Enable power and exp functions (requires libm)" - default BUSYBOX_DEFAULT_FEATURE_DC_LIBM - depends on BUSYBOX_CONFIG_DC - help - Enable power and exp functions. - NOTE: This will require libm to be present for linking. config BUSYBOX_CONFIG_DEVFSD bool "devfsd (obsolete)" default BUSYBOX_DEFAULT_DEVFSD @@ -219,8 +307,7 @@ config BUSYBOX_CONFIG_DEVFSD_FG_NP depends on BUSYBOX_CONFIG_DEVFSD help -fg Run the daemon in the foreground. - -np Exit after parsing the configuration file. - Do not poll for events. + -np Exit after parsing config. Do not poll for events. config BUSYBOX_CONFIG_DEVFSD_VERBOSE bool "Increases logging (and size)" @@ -242,18 +329,18 @@ config BUSYBOX_CONFIG_FEATURE_DEVFS /dev/loop0. If your /dev directory has normal names instead of devfs names, you don't want this. config BUSYBOX_CONFIG_DEVMEM - bool "devmem" + bool "devmem (2.5 kb)" default BUSYBOX_DEFAULT_DEVMEM help devmem is a small program that reads and writes from physical memory using /dev/mem. config BUSYBOX_CONFIG_FBSPLASH - bool "fbsplash" + bool "fbsplash (26 kb)" default BUSYBOX_DEFAULT_FBSPLASH select BUSYBOX_CONFIG_PLATFORM_LINUX help Shows splash image and progress bar on framebuffer device. - Can be used during boot phase of an embedded device. ~2kb. + Can be used during boot phase of an embedded device. Usage: - use kernel option 'vga=xxx' or otherwise enable fb device. - put somewhere fbsplash.cfg file and an image in .ppm format. @@ -269,38 +356,37 @@ config BUSYBOX_CONFIG_FBSPLASH "NN" (ASCII decimal number) - percentage to show on progress bar "exit" - well you guessed it config BUSYBOX_CONFIG_FLASH_ERASEALL - bool "flash_eraseall" + bool "flash_eraseall (5.9 kb)" default BUSYBOX_DEFAULT_FLASH_ERASEALL # doesn't build on Ubuntu 8.04 help The flash_eraseall binary from mtd-utils as of git head c4c6a59eb. This utility is used to erase the whole MTD device. config BUSYBOX_CONFIG_FLASH_LOCK - bool "flash_lock" + bool "flash_lock (2.1 kb)" default BUSYBOX_DEFAULT_FLASH_LOCK # doesn't build on Ubuntu 8.04 help The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This utility locks part or all of the flash device. config BUSYBOX_CONFIG_FLASH_UNLOCK - bool "flash_unlock" + bool "flash_unlock (1.3 kb)" default BUSYBOX_DEFAULT_FLASH_UNLOCK # doesn't build on Ubuntu 8.04 help The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This utility unlocks part or all of the flash device. config BUSYBOX_CONFIG_FLASHCP - bool "flashcp" + bool "flashcp (5.3 kb)" default BUSYBOX_DEFAULT_FLASHCP # doesn't build on Ubuntu 8.04 help The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7. This utility is used to copy images into a MTD device. config BUSYBOX_CONFIG_HDPARM - bool "hdparm" + bool "hdparm (25 kb)" default BUSYBOX_DEFAULT_HDPARM select BUSYBOX_CONFIG_PLATFORM_LINUX help Get/Set hard drive parameters. Primarily intended for ATA - drives. Adds about 13k (or around 30k if you enable the - FEATURE_HDPARM_GET_IDENTITY option).... + drives. config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY bool "Support obtaining detailed information directly from drives" @@ -351,42 +437,47 @@ config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA depends on BUSYBOX_CONFIG_HDPARM help Enable the 'hdparm -d' option to get/set using_dma flag. +config BUSYBOX_CONFIG_HEXEDIT + bool "hexedit (21 kb)" + default BUSYBOX_DEFAULT_HEXEDIT + help + Edit file in hexadecimal. config BUSYBOX_CONFIG_I2CGET - bool "i2cget" + bool "i2cget (5.5 kb)" default BUSYBOX_DEFAULT_I2CGET select BUSYBOX_CONFIG_PLATFORM_LINUX help Read from I2C/SMBus chip registers. config BUSYBOX_CONFIG_I2CSET - bool "i2cset" + bool "i2cset (6.7 kb)" default BUSYBOX_DEFAULT_I2CSET select BUSYBOX_CONFIG_PLATFORM_LINUX help Set I2C registers. config BUSYBOX_CONFIG_I2CDUMP - bool "i2cdump" + bool "i2cdump (7.1 kb)" default BUSYBOX_DEFAULT_I2CDUMP select BUSYBOX_CONFIG_PLATFORM_LINUX help Examine I2C registers. config BUSYBOX_CONFIG_I2CDETECT - bool "i2cdetect" + bool "i2cdetect (7.1 kb)" default BUSYBOX_DEFAULT_I2CDETECT select BUSYBOX_CONFIG_PLATFORM_LINUX help Detect I2C chips. config BUSYBOX_CONFIG_INOTIFYD - bool "inotifyd" + bool "inotifyd (3.6 kb)" default BUSYBOX_DEFAULT_INOTIFYD # doesn't build on Knoppix 5 help Simple inotify daemon. Reports filesystem changes. Requires kernel >= 2.6.13 config BUSYBOX_CONFIG_LESS - bool "less" + bool "less (16 kb)" default BUSYBOX_DEFAULT_LESS help 'less' is a pager, meaning that it displays text files. It possesses @@ -465,13 +556,29 @@ config BUSYBOX_CONFIG_FEATURE_LESS_LINENUMS bool "Enable -N (dynamic switching of line numbers)" default BUSYBOX_DEFAULT_FEATURE_LESS_LINENUMS depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD + +config BUSYBOX_CONFIG_FEATURE_LESS_RAW + bool "Enable -R ('raw control characters')" + default BUSYBOX_DEFAULT_FEATURE_LESS_RAW + depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD + help + This is essential for less applet to work with tools that use colors + and paging, such as git, systemd tools or nmcli. + +config BUSYBOX_CONFIG_FEATURE_LESS_ENV + bool "Take options from $LESS environment variable" + default BUSYBOX_DEFAULT_FEATURE_LESS_ENV + depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD + help + This is essential for less applet to work with tools that use colors + and paging, such as git, systemd tools or nmcli. config BUSYBOX_CONFIG_LOCK bool "lock" default BUSYBOX_DEFAULT_LOCK help - Small utility for using locks in scripts + Small utility for using locks in scripts config BUSYBOX_CONFIG_LSSCSI - bool "lsscsi" + bool "lsscsi (2.5 kb)" default BUSYBOX_DEFAULT_LSSCSI #select PLATFORM_LINUX help @@ -480,7 +587,7 @@ config BUSYBOX_CONFIG_LSSCSI This version uses sysfs (/sys/bus/scsi/devices) only. config BUSYBOX_CONFIG_MAKEDEVS - bool "makedevs" + bool "makedevs (9.2 kb)" default BUSYBOX_DEFAULT_MAKEDEVS help 'makedevs' is a utility used to create a batch of devices with @@ -511,50 +618,50 @@ config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE endchoice config BUSYBOX_CONFIG_MAN - bool "man" + bool "man (26 kb)" default BUSYBOX_DEFAULT_MAN help Format and display manual pages. config BUSYBOX_CONFIG_MICROCOM - bool "microcom" + bool "microcom (5.7 kb)" default BUSYBOX_DEFAULT_MICROCOM help The poor man's minicom utility for chatting with serial port devices. config BUSYBOX_CONFIG_MT - bool "mt" + bool "mt (2.5 kb)" default BUSYBOX_DEFAULT_MT help mt is used to control tape devices. You can use the mt utility to advance or rewind a tape past a specified number of archive files on the tape. config BUSYBOX_CONFIG_NANDWRITE - bool "nandwrite" + bool "nandwrite (4.8 kb)" default BUSYBOX_DEFAULT_NANDWRITE select BUSYBOX_CONFIG_PLATFORM_LINUX help Write to the specified MTD device, with bad blocks awareness config BUSYBOX_CONFIG_NANDDUMP - bool "nanddump" + bool "nanddump (5.2 kb)" default BUSYBOX_DEFAULT_NANDDUMP select BUSYBOX_CONFIG_PLATFORM_LINUX help Dump the content of raw NAND chip config BUSYBOX_CONFIG_PARTPROBE - bool "partprobe" + bool "partprobe (3.5 kb)" default BUSYBOX_DEFAULT_PARTPROBE select BUSYBOX_CONFIG_PLATFORM_LINUX help Ask kernel to rescan partition table. config BUSYBOX_CONFIG_RAIDAUTORUN - bool "raidautorun" + bool "raidautorun (1.3 kb)" default BUSYBOX_DEFAULT_RAIDAUTORUN select BUSYBOX_CONFIG_PLATFORM_LINUX help raidautorun tells the kernel md driver to search and start RAID arrays. config BUSYBOX_CONFIG_READAHEAD - bool "readahead" + bool "readahead (1.5 kb)" default BUSYBOX_DEFAULT_READAHEAD depends on BUSYBOX_CONFIG_LFS select BUSYBOX_CONFIG_PLATFORM_LINUX @@ -571,7 +678,7 @@ config BUSYBOX_CONFIG_READAHEAD As readahead(2) blocks until each file has been read, it is best to run this applet as a background job. config BUSYBOX_CONFIG_RFKILL - bool "rfkill" + bool "rfkill (4.4 kb)" default BUSYBOX_DEFAULT_RFKILL # doesn't build on Ubuntu 9.04 select BUSYBOX_CONFIG_PLATFORM_LINUX help @@ -583,41 +690,46 @@ config BUSYBOX_CONFIG_RFKILL rfkill block|unblock wlan : block/unblock all wlan(wifi) devices config BUSYBOX_CONFIG_RUNLEVEL - bool "runlevel" + bool "runlevel (559 bytes)" default BUSYBOX_DEFAULT_RUNLEVEL depends on BUSYBOX_CONFIG_FEATURE_UTMP help - find the current and previous system runlevel. + Find the current and previous system runlevel. This applet uses utmp but does not rely on busybox supporing utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. config BUSYBOX_CONFIG_RX - bool "rx" + bool "rx (2.9 kb)" default BUSYBOX_DEFAULT_RX select BUSYBOX_CONFIG_PLATFORM_LINUX help Receive files using the Xmodem protocol. +config BUSYBOX_CONFIG_SETFATTR + bool "setfattr (3.7 kb)" + default BUSYBOX_DEFAULT_SETFATTR + help + Set/delete extended attributes on files config BUSYBOX_CONFIG_SETSERIAL - bool "setserial" + bool "setserial (6.9 kb)" default BUSYBOX_DEFAULT_SETSERIAL select BUSYBOX_CONFIG_PLATFORM_LINUX help Retrieve or set Linux serial port. config BUSYBOX_CONFIG_STRINGS - bool "strings" + bool "strings (4.6 kb)" default BUSYBOX_DEFAULT_STRINGS help strings prints the printable character sequences for each file specified. config BUSYBOX_CONFIG_TIME - bool "time" + bool "time (6.8 kb)" default BUSYBOX_DEFAULT_TIME help The time command runs the specified program with the given arguments. When the command finishes, time writes a message to standard output giving timing statistics about this program run. config BUSYBOX_CONFIG_TTYSIZE - bool "ttysize" + bool "ttysize (432 bytes)" default BUSYBOX_DEFAULT_TTYSIZE help A replacement for "stty size". Unlike stty, can report only width, @@ -625,59 +737,59 @@ config BUSYBOX_CONFIG_TTYSIZE error, but returns default 80x24. Usage in shell scripts: width=`ttysize w`. config BUSYBOX_CONFIG_UBIATTACH - bool "ubiattach" + bool "ubiattach (4.2 kb)" default BUSYBOX_DEFAULT_UBIATTACH select BUSYBOX_CONFIG_PLATFORM_LINUX help Attach MTD device to an UBI device. config BUSYBOX_CONFIG_UBIDETACH - bool "ubidetach" + bool "ubidetach (4.1 kb)" default BUSYBOX_DEFAULT_UBIDETACH select BUSYBOX_CONFIG_PLATFORM_LINUX help Detach MTD device from an UBI device. config BUSYBOX_CONFIG_UBIMKVOL - bool "ubimkvol" + bool "ubimkvol (5.3 kb)" default BUSYBOX_DEFAULT_UBIMKVOL select BUSYBOX_CONFIG_PLATFORM_LINUX help Create a UBI volume. config BUSYBOX_CONFIG_UBIRMVOL - bool "ubirmvol" + bool "ubirmvol (4.9 kb)" default BUSYBOX_DEFAULT_UBIRMVOL select BUSYBOX_CONFIG_PLATFORM_LINUX help Delete a UBI volume. config BUSYBOX_CONFIG_UBIRSVOL - bool "ubirsvol" + bool "ubirsvol (4.2 kb)" default BUSYBOX_DEFAULT_UBIRSVOL select BUSYBOX_CONFIG_PLATFORM_LINUX help Resize a UBI volume. config BUSYBOX_CONFIG_UBIUPDATEVOL - bool "ubiupdatevol" + bool "ubiupdatevol (5.2 kb)" default BUSYBOX_DEFAULT_UBIUPDATEVOL select BUSYBOX_CONFIG_PLATFORM_LINUX help Update a UBI volume. config BUSYBOX_CONFIG_UBIRENAME - bool "ubirename" + bool "ubirename (2.4 kb)" default BUSYBOX_DEFAULT_UBIRENAME select BUSYBOX_CONFIG_PLATFORM_LINUX help Utility to rename UBI volumes config BUSYBOX_CONFIG_VOLNAME - bool "volname" + bool "volname (1.6 kb)" default BUSYBOX_DEFAULT_VOLNAME help Prints a CD-ROM volume name. config BUSYBOX_CONFIG_WATCHDOG - bool "watchdog" + bool "watchdog (5.3 kb)" default BUSYBOX_DEFAULT_WATCHDOG select BUSYBOX_CONFIG_PLATFORM_LINUX help |