2005-03-06 03:34:52 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Miscellaneous Utilities"
|
|
|
|
|
2010-08-15 20:28:05 +00:00
|
|
|
config BUSYBOX_CONFIG_CONSPY
|
|
|
|
bool "conspy"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2010-08-15 20:28:05 +00:00
|
|
|
help
|
|
|
|
A text-mode VNC like program for Linux virtual terminals.
|
|
|
|
example: conspy NUM shared access to console num
|
|
|
|
or conspy -nd NUM screenshot of console num
|
|
|
|
or conspy -cs NUM poor man's GNU screen like
|
2011-04-03 18:31:00 +00:00
|
|
|
config BUSYBOX_CONFIG_NANDWRITE
|
|
|
|
bool "nandwrite"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
|
|
|
help
|
|
|
|
Write to the specified MTD device, with bad blocks awareness
|
2010-08-15 20:28:05 +00:00
|
|
|
|
2011-04-03 18:31:00 +00:00
|
|
|
config BUSYBOX_CONFIG_NANDDUMP
|
|
|
|
bool "nanddump"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
|
|
|
help
|
|
|
|
Dump the content of raw NAND chip
|
2010-08-15 20:28:05 +00:00
|
|
|
config BUSYBOX_CONFIG_UBIATTACH
|
|
|
|
bool "ubiattach"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2010-08-15 20:28:05 +00:00
|
|
|
help
|
|
|
|
Attach MTD device to an UBI device.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_UBIDETACH
|
|
|
|
bool "ubidetach"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2010-08-15 20:28:05 +00:00
|
|
|
help
|
|
|
|
Detach MTD device from an UBI device.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_ADJTIMEX
|
|
|
|
bool "adjtimex"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
Adjtimex reads and optionally sets adjustment parameters for
|
|
|
|
the Linux clock adjustment algorithm.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_BBCONFIG
|
|
|
|
bool "bbconfig"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The bbconfig applet will print the config file with which
|
|
|
|
busybox was built.
|
|
|
|
|
2011-04-03 18:31:00 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_COMPRESS_BBCONFIG
|
|
|
|
bool "Compress bbconfig data"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_BBCONFIG
|
|
|
|
help
|
|
|
|
Store bbconfig data in compressed form, uncompress them on-the-fly
|
|
|
|
before output.
|
|
|
|
|
|
|
|
If you have a really tiny busybox with few applets enabled (and
|
|
|
|
bunzip2 isn't one of them), the overhead of the decompressor might
|
|
|
|
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.
|
|
|
|
|
2009-12-07 16:56:04 +00:00
|
|
|
config BUSYBOX_CONFIG_BEEP
|
|
|
|
bool "beep"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2009-12-07 16:56:04 +00:00
|
|
|
help
|
|
|
|
The beep applets beeps in a given freq/Hz.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_BEEP_FREQ
|
|
|
|
int "default frequency"
|
|
|
|
range 0 2147483647
|
|
|
|
default 4000
|
|
|
|
depends on BUSYBOX_CONFIG_BEEP
|
|
|
|
help
|
|
|
|
Frequency for default beep.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_BEEP_LENGTH_MS
|
|
|
|
int "default length"
|
|
|
|
range 0 2147483647
|
|
|
|
default 30
|
|
|
|
depends on BUSYBOX_CONFIG_BEEP
|
|
|
|
help
|
|
|
|
Length in ms for default beep.
|
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_CHAT
|
|
|
|
bool "chat"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Simple chat utility.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_NOFAIL
|
|
|
|
bool "Enable NOFAIL expect strings"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
When enabled expect strings which are started with a dash trigger
|
|
|
|
no-fail mode. That is when expectation is not met within timeout
|
|
|
|
the script is not terminated but sends next SEND string and waits
|
|
|
|
for next EXPECT string. This allows to compose far more flexible
|
|
|
|
scripts.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_TTY_HIFI
|
|
|
|
bool "Force STDIN to be a TTY"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Original chat always treats STDIN as a TTY device and sets for it
|
|
|
|
so-called raw mode. This option turns on such behaviour.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_IMPLICIT_CR
|
|
|
|
bool "Enable implicit Carriage Return"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
When enabled make chat to terminate all SEND strings with a "\r"
|
|
|
|
unless "\c" is met anywhere in the string.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_SWALLOW_OPTS
|
|
|
|
bool "Swallow options"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Busybox chat require no options. To make it not fail when used
|
|
|
|
in place of original chat (which has a bunch of options) turn
|
|
|
|
this on.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_SEND_ESCAPES
|
|
|
|
bool "Support weird SEND escapes"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Original chat uses some escape sequences in SEND arguments which
|
|
|
|
are not sent to device but rather performs special actions.
|
|
|
|
E.g. "\K" means to send a break sequence to device.
|
|
|
|
"\d" delays execution for a second, "\p" -- for a 1/100 of second.
|
|
|
|
Before turning this option on think twice: do you really need them?
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_VAR_ABORT_LEN
|
|
|
|
bool "Support variable-length ABORT conditions"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_CHAT_CLR_ABORT
|
|
|
|
bool "Support revoking of ABORT conditions"
|
|
|
|
depends on BUSYBOX_CONFIG_CHAT
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Support CLR_ABORT directive.
|
|
|
|
|
2007-10-05 00:27:49 +00:00
|
|
|
config BUSYBOX_CONFIG_CHRT
|
|
|
|
bool "chrt"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
manipulate real-time attributes of a process.
|
|
|
|
This requires sched_{g,s}etparam support in your libc.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_CROND
|
|
|
|
bool "crond"
|
|
|
|
default y
|
2007-01-01 18:28:03 +00:00
|
|
|
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
Crond is a background daemon that parses individual crontab
|
|
|
|
files and executes commands on behalf of the users in question.
|
2009-05-25 13:52:31 +00:00
|
|
|
This is a port of dcron from slackware. It uses files of the
|
2005-03-06 03:34:52 +00:00
|
|
|
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
|
|
|
|
|
2009-05-25 17:15:39 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_CROND_D
|
2008-08-20 14:00:34 +00:00
|
|
|
bool "Support option -d to redirect output to stderr"
|
2006-08-08 10:27:25 +00:00
|
|
|
depends on BUSYBOX_CONFIG_CROND
|
|
|
|
default n
|
|
|
|
help
|
2008-08-20 14:00:34 +00:00
|
|
|
-d sets loglevel to 0 (most verbose) and directs all output to stderr.
|
2006-08-08 10:27:25 +00:00
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
|
2010-04-03 00:58:46 +00:00
|
|
|
bool "Report command output via email (using sendmail)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_CROND
|
|
|
|
help
|
2010-04-03 00:58:46 +00:00
|
|
|
Command output will be sent to corresponding user via email.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_CROND_DIR
|
|
|
|
string "crond spool directory"
|
|
|
|
default "/var/spool/cron"
|
|
|
|
depends on BUSYBOX_CONFIG_CROND || BUSYBOX_CONFIG_CRONTAB
|
|
|
|
help
|
|
|
|
Location of crond spool.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_CRONTAB
|
|
|
|
bool "crontab"
|
|
|
|
default y
|
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
Crontab manipulates the crontab for a particular user. Only
|
2005-03-06 03:34:52 +00:00
|
|
|
the superuser may specify a different user and/or crontab directory.
|
2008-08-20 14:00:34 +00:00
|
|
|
Note that Busybox binary must be setuid root for this applet to
|
|
|
|
work properly.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_DC
|
|
|
|
bool "dc"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Dc is a reverse-polish desk calculator which supports unlimited
|
|
|
|
precision arithmetic.
|
|
|
|
|
2009-05-25 17:15:39 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_DC_LIBM
|
|
|
|
bool "Enable power and exp functions (requires libm)"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_DC
|
|
|
|
help
|
|
|
|
Enable power and exp functions.
|
|
|
|
NOTE: This will require libm to be present for linking.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_DEVFSD
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "devfsd (obsolete)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2007-01-01 18:28:03 +00:00
|
|
|
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
2009-09-28 12:38:46 +00:00
|
|
|
This is deprecated and should NOT be used anymore.
|
|
|
|
Use linux >= 2.6 (optionally with hotplug) and mdev instead!
|
|
|
|
See docs/mdev.txt for detailed instructions on how to use mdev
|
|
|
|
instead.
|
2006-08-08 10:27:25 +00:00
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
Provides compatibility with old device names on a devfs systems.
|
|
|
|
You should set it to true if you have devfs enabled.
|
|
|
|
The following keywords in devsfd.conf are supported:
|
|
|
|
"CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
|
|
|
|
"PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
|
|
|
|
"MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
|
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
But only if they are written UPPERCASE!!!!!!!!
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_DEVFSD_MODLOAD
|
|
|
|
bool "Adds support for MODLOAD keyword in devsfd.conf"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_DEVFSD
|
|
|
|
help
|
2006-08-08 10:27:25 +00:00
|
|
|
This actually doesn't work with busybox modutils but needs
|
|
|
|
the external modutils.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_DEVFSD_FG_NP
|
|
|
|
bool "Enables the -fg and -np options"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_DEVFSD
|
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
-fg Run the daemon in the foreground.
|
|
|
|
-np Exit after parsing the configuration file.
|
|
|
|
Do not poll for events.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_DEVFSD_VERBOSE
|
|
|
|
bool "Increases logging (and size)"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_DEVFSD
|
|
|
|
help
|
|
|
|
Increases logging to stderr or syslog.
|
|
|
|
|
2006-08-08 10:27:25 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_DEVFS
|
2008-08-20 14:00:34 +00:00
|
|
|
bool "Use devfs names for all devices (obsolete)"
|
2007-03-03 20:35:01 +00:00
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2006-08-08 10:27:25 +00:00
|
|
|
help
|
2009-09-28 12:38:46 +00:00
|
|
|
This is obsolete and should NOT be used anymore.
|
|
|
|
Use linux >= 2.6 (optionally with hotplug) and mdev instead!
|
2007-01-01 18:28:03 +00:00
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
For legacy systems -- if there is no way around devfsd -- this
|
|
|
|
tells busybox to look for names like /dev/loop/0 instead of
|
2009-05-25 13:52:31 +00:00
|
|
|
/dev/loop0. If your /dev directory has normal names instead of
|
2006-08-08 10:27:25 +00:00
|
|
|
devfs names, you don't want this.
|
|
|
|
|
2009-05-25 17:15:39 +00:00
|
|
|
config BUSYBOX_CONFIG_DEVMEM
|
|
|
|
bool "devmem"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
devmem is a small program that reads and writes from physical
|
|
|
|
memory using /dev/mem.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_EJECT
|
|
|
|
bool "eject"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2006-04-04 19:24:40 +00:00
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
Used to eject cdroms. (defaults to /dev/cdrom)
|
2006-04-04 19:24:40 +00:00
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_EJECT_SCSI
|
|
|
|
bool "SCSI support"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_EJECT
|
|
|
|
help
|
|
|
|
Add the -s option to eject, this allows to eject SCSI-Devices and
|
|
|
|
usb-storage devices.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FBSPLASH
|
|
|
|
bool "fbsplash"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2008-08-20 14:00:34 +00:00
|
|
|
help
|
|
|
|
Shows splash image and progress bar on framebuffer device.
|
|
|
|
Can be used during boot phase of an embedded device. ~2kb.
|
|
|
|
Usage:
|
|
|
|
- use kernel option 'vga=xxx' or otherwise enable fb device.
|
|
|
|
- put somewhere fbsplash.cfg file and an image in .ppm format.
|
|
|
|
- $ setsid fbsplash [params] &
|
|
|
|
-c: hide cursor
|
|
|
|
-d /dev/fbN: framebuffer device (if not /dev/fb0)
|
|
|
|
-s path_to_image_file (can be "-" for stdin)
|
|
|
|
-i path_to_cfg_file (can be "-" for stdin)
|
|
|
|
-f path_to_fifo (can be "-" for stdin)
|
|
|
|
- if you want to run it only in presence of kernel parameter:
|
|
|
|
grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
|
|
|
|
- commands for fifo:
|
|
|
|
"NN" (ASCII decimal number) - percentage to show on progress bar
|
|
|
|
"exit" - well you guessed it
|
|
|
|
|
2010-04-03 00:58:46 +00:00
|
|
|
config BUSYBOX_CONFIG_FLASHCP
|
|
|
|
bool "flashcp"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
|
|
|
|
This utility is used to copy images into a MTD device.
|
|
|
|
|
2009-12-07 16:56:04 +00:00
|
|
|
config BUSYBOX_CONFIG_FLASH_LOCK
|
|
|
|
bool "flash_lock"
|
|
|
|
default n
|
|
|
|
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"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
|
|
|
|
utility unlocks part or all of the flash device.
|
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
config BUSYBOX_CONFIG_FLASH_ERASEALL
|
|
|
|
bool "flash_eraseall"
|
|
|
|
default n
|
|
|
|
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_IONICE
|
|
|
|
bool "ionice"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2009-09-28 12:38:46 +00:00
|
|
|
help
|
|
|
|
Set/set program io scheduling class and priority
|
|
|
|
Requires kernel >= 2.6.13
|
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_INOTIFYD
|
|
|
|
bool "inotifyd"
|
|
|
|
default n
|
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
Simple inotify daemon. Reports filesystem changes. Requires
|
|
|
|
kernel >= 2.6.13
|
2008-08-20 14:00:34 +00:00
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_LAST
|
|
|
|
bool "last"
|
|
|
|
default n
|
2010-08-15 20:28:05 +00:00
|
|
|
depends on BUSYBOX_CONFIG_FEATURE_WTMP
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
'last' displays a list of the last users that logged into the system.
|
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
choice
|
|
|
|
prompt "Choose last implementation"
|
|
|
|
depends on BUSYBOX_CONFIG_LAST
|
2010-08-15 20:28:05 +00:00
|
|
|
default BUSYBOX_CONFIG_FEATURE_LAST_FANCY
|
2008-08-20 14:00:34 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LAST_SMALL
|
|
|
|
bool "small"
|
|
|
|
help
|
|
|
|
This is a small version of last with just the basic set of
|
|
|
|
features.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LAST_FANCY
|
|
|
|
bool "huge"
|
|
|
|
help
|
|
|
|
'last' displays detailed information about the last users that
|
|
|
|
logged into the system (mimics sysvinit last). +900 bytes.
|
|
|
|
endchoice
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_LESS
|
|
|
|
bool "less"
|
2006-09-07 17:40:28 +00:00
|
|
|
default y
|
2006-04-04 19:24:40 +00:00
|
|
|
help
|
|
|
|
'less' is a pager, meaning that it displays text files. It possesses
|
|
|
|
a wide array of features, and is an improvement over 'more'.
|
|
|
|
|
2007-01-25 19:08:01 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES
|
|
|
|
int "Max number of input lines less will try to eat"
|
|
|
|
default 9999999
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable bracket searching"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
This option adds the capability to search for matching left and right
|
|
|
|
brackets, facilitating programming.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable extra flags"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
The extra flags provided do the following:
|
|
|
|
|
|
|
|
The -M flag enables a more sophisticated status line.
|
|
|
|
The -m flag enables a simpler status line with a percentage.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable marks"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
Marks enable positions in a file to be stored for easy reference.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable regular expressions"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
Enable regular expressions, allowing complex file searches.
|
|
|
|
|
2009-05-25 17:15:39 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_WINCH
|
|
|
|
bool "Enable automatic resizing on window size changes"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
Makes less track window size changes.
|
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
|
|
|
|
bool "Enable flag changes ('-' command)"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
This enables the ability to change command-line flags within
|
|
|
|
less itself ('-' keyboard command).
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_LINENUMS
|
|
|
|
bool "Enable dynamic switching of line numbers"
|
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
|
|
|
|
help
|
2011-04-03 18:31:00 +00:00
|
|
|
Enables "-N" command.
|
2009-09-28 12:38:46 +00:00
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_HDPARM
|
|
|
|
bool "hdparm"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
Get/Set hard drive parameters. Primarily intended for ATA
|
|
|
|
drives. Adds about 13k (or around 30k if you enable the
|
2007-01-01 18:28:03 +00:00
|
|
|
FEATURE_HDPARM_GET_IDENTITY option)....
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Support obtaining detailed information directly from drives"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
2006-08-08 10:27:25 +00:00
|
|
|
Enables the -I and -i options to obtain detailed information
|
2005-03-06 03:34:52 +00:00
|
|
|
directly from drives about their capabilities and supported ATA
|
2006-08-08 10:27:25 +00:00
|
|
|
feature set. If no device name is specified, hdparm will read
|
|
|
|
identify data from stdin. Enabling this option will add about 16k...
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Register an IDE interface (DANGEROUS)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
|
|
|
Enables the 'hdparm -R' option to register an IDE interface.
|
|
|
|
This is dangerous stuff, so you should probably say N.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Un-register an IDE interface (DANGEROUS)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
|
|
|
Enables the 'hdparm -U' option to un-register an IDE interface.
|
|
|
|
This is dangerous stuff, so you should probably say N.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
|
2009-05-25 13:52:31 +00:00
|
|
|
bool "Perform device reset (DANGEROUS)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
|
|
|
Enables the 'hdparm -w' option to perform a device reset.
|
|
|
|
This is dangerous stuff, so you should probably say N.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
|
2009-05-25 13:52:31 +00:00
|
|
|
bool "Tristate device for hotswap (DANGEROUS)"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
|
|
|
Enables the 'hdparm -x' option to tristate device for hotswap,
|
2009-05-25 13:52:31 +00:00
|
|
|
and the '-b' option to get/set bus state. This is dangerous
|
2005-03-06 03:34:52 +00:00
|
|
|
stuff, so you should probably say N.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
|
2009-09-28 12:38:46 +00:00
|
|
|
bool "Get/set using_dma flag"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_HDPARM
|
|
|
|
help
|
|
|
|
Enables the 'hdparm -d' option to get/set using_dma flag.
|
|
|
|
|
2006-04-05 02:09:22 +00:00
|
|
|
config BUSYBOX_CONFIG_LOCK
|
|
|
|
bool "lock"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Small utility for using locks in scripts
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_MAKEDEVS
|
|
|
|
bool "makedevs"
|
|
|
|
default n
|
|
|
|
help
|
2006-04-04 19:24:40 +00:00
|
|
|
'makedevs' is a utility used to create a batch of devices with
|
|
|
|
one command.
|
2011-04-03 18:31:00 +00:00
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
There are two choices for command line behaviour, the interface
|
|
|
|
as used by LEAF/Linux Router Project, or a device table file.
|
2011-04-03 18:31:00 +00:00
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
'leaf' is traditionally what busybox follows, it allows multiple
|
|
|
|
devices of a particluar type to be created per command.
|
|
|
|
e.g. /dev/hda[0-9]
|
2007-10-05 00:27:49 +00:00
|
|
|
Device properties are passed as command line arguments.
|
2011-04-03 18:31:00 +00:00
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
'table' reads device properties from a file or stdin, allowing
|
2006-08-08 10:27:25 +00:00
|
|
|
a batch of unrelated devices to be made with one command.
|
2007-10-05 00:27:49 +00:00
|
|
|
User/group names are allowed as an alternative to uid/gid.
|
2006-04-04 19:24:40 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Choose makedevs behaviour"
|
2007-10-05 00:27:49 +00:00
|
|
|
depends on BUSYBOX_CONFIG_MAKEDEVS
|
2006-04-04 19:24:40 +00:00
|
|
|
default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
|
2007-10-05 00:27:49 +00:00
|
|
|
bool "leaf"
|
2006-04-04 19:24:40 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
|
|
|
bool "table"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_MAN
|
|
|
|
bool "man"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Format and display manual pages.
|
|
|
|
|
2007-11-10 16:51:11 +00:00
|
|
|
config BUSYBOX_CONFIG_MICROCOM
|
|
|
|
bool "microcom"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
The poor man's minicom utility for chatting with serial port devices.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_MOUNTPOINT
|
|
|
|
bool "mountpoint"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
mountpoint checks if the directory is a mountpoint.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_MT
|
|
|
|
bool "mt"
|
|
|
|
default n
|
|
|
|
help
|
2009-05-25 13:52:31 +00:00
|
|
|
mt is used to control tape devices. You can use the mt utility
|
2005-03-06 03:34:52 +00:00
|
|
|
to advance or rewind a tape past a specified number of archive
|
|
|
|
files on the tape.
|
|
|
|
|
2007-01-01 18:28:03 +00:00
|
|
|
config BUSYBOX_CONFIG_RAIDAUTORUN
|
|
|
|
bool "raidautorun"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2007-01-01 18:28:03 +00:00
|
|
|
help
|
|
|
|
raidautorun tells the kernel md driver to
|
|
|
|
search and start RAID arrays.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_READAHEAD
|
2007-10-05 00:27:49 +00:00
|
|
|
bool "readahead"
|
2007-01-01 18:28:03 +00:00
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_LFS && BUSYBOX_CONFIG_PLATFORM_LINUX
|
2007-01-01 18:28:03 +00:00
|
|
|
help
|
2007-10-05 00:27:49 +00:00
|
|
|
Preload the files listed on the command line into RAM cache so that
|
2007-01-01 18:28:03 +00:00
|
|
|
subsequent reads on these files will not block on disk I/O.
|
|
|
|
|
|
|
|
This applet just calls the readahead(2) system call on each file.
|
|
|
|
It is mainly useful in system startup scripts to preload files
|
2009-05-25 13:52:31 +00:00
|
|
|
or executables before they are used. When used at the right time
|
2008-08-20 14:00:34 +00:00
|
|
|
(in particular when a CPU bound process is running) it can
|
2007-01-01 18:28:03 +00:00
|
|
|
significantly speed up system startup.
|
|
|
|
|
|
|
|
As readahead(2) blocks until each file has been read, it is best to
|
|
|
|
run this applet as a background job.
|
|
|
|
|
2010-08-15 20:28:05 +00:00
|
|
|
config BUSYBOX_CONFIG_RFKILL
|
|
|
|
bool "rfkill"
|
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2010-08-15 20:28:05 +00:00
|
|
|
help
|
|
|
|
Enable/disable wireless devices.
|
|
|
|
|
|
|
|
rfkill list : list all wireless devices
|
|
|
|
rfkill list bluetooth : list all bluetooth devices
|
|
|
|
rfkill list 1 : list device corresponding to the given index
|
|
|
|
rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_RUNLEVEL
|
2007-10-05 00:27:49 +00:00
|
|
|
bool "runlevel"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
help
|
2007-10-05 00:27:49 +00:00
|
|
|
find the current and previous system runlevel.
|
2006-04-04 19:24:40 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_RX
|
2007-10-05 00:27:49 +00:00
|
|
|
bool "rx"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
2007-10-05 00:27:49 +00:00
|
|
|
Receive files using the Xmodem protocol.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
2008-08-20 14:00:34 +00:00
|
|
|
config BUSYBOX_CONFIG_SETSID
|
|
|
|
bool "setsid"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
setsid runs a program in a new session
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_STRINGS
|
|
|
|
bool "strings"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
strings prints the printable character sequences for each file
|
|
|
|
specified.
|
|
|
|
|
2006-08-08 10:27:25 +00:00
|
|
|
config BUSYBOX_CONFIG_TASKSET
|
|
|
|
bool "taskset"
|
|
|
|
default n
|
|
|
|
help
|
2007-01-01 18:28:03 +00:00
|
|
|
Retrieve or set a processes's CPU affinity.
|
|
|
|
This requires sched_{g,s}etaffinity support in your libc.
|
2006-08-08 10:27:25 +00:00
|
|
|
|
2007-01-01 18:28:03 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
|
2008-08-20 14:00:34 +00:00
|
|
|
bool "Fancy output"
|
2006-08-08 10:27:25 +00:00
|
|
|
default n
|
2007-01-01 18:28:03 +00:00
|
|
|
depends on BUSYBOX_CONFIG_TASKSET
|
2006-08-08 10:27:25 +00:00
|
|
|
help
|
2007-01-01 18:28:03 +00:00
|
|
|
Add code for fancy output. This merely silences a compiler-warning
|
|
|
|
and adds about 135 Bytes. May be needed for machines with alot
|
|
|
|
of CPUs.
|
2006-08-08 10:27:25 +00:00
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_TIME
|
|
|
|
bool "time"
|
|
|
|
default y
|
|
|
|
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.
|
|
|
|
|
2009-09-28 12:38:46 +00:00
|
|
|
config BUSYBOX_CONFIG_TIMEOUT
|
|
|
|
bool "timeout"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Runs a program and watches it. If it does not terminate in
|
|
|
|
specified number of seconds, it is sent a signal.
|
|
|
|
|
2007-10-05 00:27:49 +00:00
|
|
|
config BUSYBOX_CONFIG_TTYSIZE
|
|
|
|
bool "ttysize"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
A replacement for "stty size". Unlike stty, can report only width,
|
2009-05-25 13:52:31 +00:00
|
|
|
only height, or both, in any order. It also does not complain on
|
|
|
|
error, but returns default 80x24.
|
|
|
|
Usage in shell scripts: width=`ttysize w`.
|
2007-10-05 00:27:49 +00:00
|
|
|
|
2009-12-07 16:56:04 +00:00
|
|
|
config BUSYBOX_CONFIG_VOLNAME
|
|
|
|
bool "volname"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Prints a CD-ROM volume name.
|
|
|
|
|
2010-04-03 00:58:46 +00:00
|
|
|
config BUSYBOX_CONFIG_WALL
|
|
|
|
bool "wall"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Write a message to all users that are logged in.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_WATCHDOG
|
|
|
|
bool "watchdog"
|
2006-01-02 02:26:38 +00:00
|
|
|
default y
|
2011-04-03 18:31:00 +00:00
|
|
|
depends on BUSYBOX_CONFIG_PLATFORM_LINUX
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
The watchdog utility is used with hardware or software watchdog
|
2009-05-25 13:52:31 +00:00
|
|
|
device drivers. It opens the specified watchdog device special file
|
|
|
|
and periodically writes a magic character to the device. If the
|
2005-03-06 03:34:52 +00:00
|
|
|
watchdog applet ever fails to write the magic character within a
|
|
|
|
certain amount of time, the watchdog device assumes the system has
|
|
|
|
hung, and will cause the hardware to reboot.
|
|
|
|
|
|
|
|
endmenu
|