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"
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_ADJTIMEX
|
|
|
|
bool "adjtimex"
|
|
|
|
default n
|
|
|
|
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.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_CROND
|
|
|
|
bool "crond"
|
|
|
|
default y
|
|
|
|
select BUSYBOX_CONFIG_FEATURE_SUID
|
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.
|
|
|
|
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
|
|
|
|
Note that Busybox binary must be setuid root for this applet to
|
|
|
|
work properly.
|
|
|
|
|
2006-08-08 10:27:25 +00:00
|
|
|
config BUSYBOX_CONFIG_DEBUG_CROND_OPTION
|
|
|
|
bool "Support debug option -d"
|
|
|
|
depends on BUSYBOX_CONFIG_CROND
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Support option -d to enter debug mode.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Using /usr/sbin/sendmail?"
|
2005-03-06 03:34:52 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_CROND
|
|
|
|
help
|
|
|
|
Support calling /usr/sbin/sendmail for send cmd outputs.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_CRONTAB
|
|
|
|
bool "crontab"
|
|
|
|
default y
|
2006-04-04 19:24:40 +00:00
|
|
|
select BUSYBOX_CONFIG_FEATURE_SUID
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
Crontab manipulates the crontab for a particular user. Only
|
|
|
|
the superuser may specify a different user and/or crontab directory.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_DC
|
|
|
|
bool "dc"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Dc is a reverse-polish desk calculator which supports unlimited
|
|
|
|
precision arithmetic.
|
|
|
|
|
|
|
|
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
|
2007-01-01 18:28:03 +00:00
|
|
|
select BUSYBOX_CONFIG_FEATURE_SYSLOG
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
2007-01-01 18:28:03 +00:00
|
|
|
This is deprecated, and will be removed at the end of 2008.
|
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".
|
|
|
|
|
|
|
|
But only if they are written UPPERCASE!!!!!!!!
|
|
|
|
|
|
|
|
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
|
|
|
|
-fg Run the daemon in the foreground.
|
|
|
|
-np Exit after parsing the configuration file. Do not poll for events.
|
|
|
|
|
|
|
|
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
|
|
|
|
bool " Use devfs names for all devices (obsolete)"
|
|
|
|
default y
|
|
|
|
help
|
2007-01-01 18:28:03 +00:00
|
|
|
This is obsolete and will be going away at the end of 2008..
|
|
|
|
|
2006-08-08 10:27:25 +00:00
|
|
|
This tells busybox to look for names like /dev/loop/0 instead of
|
|
|
|
/dev/loop0. If your /dev directory has normal names instead of
|
|
|
|
devfs names, you don't want this.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_EJECT
|
|
|
|
bool "eject"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Used to eject cdroms. (defaults to /dev/cdrom)
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_LAST
|
|
|
|
bool "last"
|
|
|
|
default n
|
2006-04-04 19:24:40 +00:00
|
|
|
select 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.
|
|
|
|
|
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'.
|
|
|
|
|
|
|
|
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_FLAGCS
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "Enable flag changes"
|
2006-04-04 19:24:40 +00:00
|
|
|
default n
|
|
|
|
depends on BUSYBOX_CONFIG_LESS
|
|
|
|
help
|
|
|
|
This enables the ability to change command-line flags within
|
|
|
|
less itself.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
|
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.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_HDPARM
|
|
|
|
bool "hdparm"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
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
|
2006-08-08 10:27:25 +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
|
2006-08-08 10:27:25 +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,
|
|
|
|
and the '-b' option to get/set bus state. This is dangerous
|
|
|
|
stuff, so you should probably say N.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
|
2006-08-08 10:27:25 +00:00
|
|
|
bool "get/set using_dma flag (DANGEROUS)"
|
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.
|
|
|
|
This is dangerous stuff, so you should probably say N.
|
|
|
|
|
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.
|
|
|
|
.
|
|
|
|
There are two choices for command line behaviour, the interface
|
|
|
|
as used by LEAF/Linux Router Project, or a device table file.
|
|
|
|
.
|
|
|
|
'leaf' is traditionally what busybox follows, it allows multiple
|
|
|
|
devices of a particluar type to be created per command.
|
|
|
|
e.g. /dev/hda[0-9]
|
|
|
|
Device properties are passed as command line arguments.
|
|
|
|
.
|
|
|
|
'table' reads device properties from a file or stdin, allowing
|
2006-08-08 10:27:25 +00:00
|
|
|
a batch of unrelated devices to be made with one command.
|
2006-04-04 19:24:40 +00:00
|
|
|
User/group names are allowed as an alternative to uid/gid.
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Choose makedevs behaviour"
|
|
|
|
depends BUSYBOX_CONFIG_MAKEDEVS
|
|
|
|
default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
|
|
|
|
bool "leaf"
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
|
|
|
|
bool "table"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_MOUNTPOINT
|
|
|
|
bool "mountpoint"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
mountpoint checks if the directory is a mountpoint.
|
2005-03-06 03:34:52 +00:00
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_MT
|
|
|
|
bool "mt"
|
|
|
|
default n
|
|
|
|
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.
|
|
|
|
|
2007-01-01 18:28:03 +00:00
|
|
|
config BUSYBOX_CONFIG_NMETER
|
|
|
|
bool "nmeter"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
nmeter prints various system parameters continuously.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_RAIDAUTORUN
|
|
|
|
bool "raidautorun"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
raidautorun tells the kernel md driver to
|
|
|
|
search and start RAID arrays.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_READAHEAD
|
|
|
|
bool "readahead"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Preload the files listed on the command line into RAM cache so that
|
|
|
|
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
|
|
|
|
or executables before they are used. When used at the right time
|
|
|
|
(in particular when a CPU boundprocess is running) it can
|
|
|
|
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.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_RUNLEVEL
|
|
|
|
bool "runlevel"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
find the current and previous system runlevel.
|
|
|
|
|
|
|
|
This applet uses utmp but does not rely on busybox supporing
|
|
|
|
utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
|
|
|
|
|
2005-03-06 03:34:52 +00:00
|
|
|
config BUSYBOX_CONFIG_RX
|
|
|
|
bool "rx"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Receive files using the Xmodem protocol.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_STRINGS
|
|
|
|
bool "strings"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
strings prints the printable character sequences for each file
|
|
|
|
specified.
|
|
|
|
|
2006-04-04 19:24:40 +00:00
|
|
|
config BUSYBOX_CONFIG_SETSID
|
|
|
|
bool "setsid"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
setsid runs a program in a new session
|
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
|
|
|
config BUSYBOX_CONFIG_WATCHDOG
|
|
|
|
bool "watchdog"
|
2006-01-02 02:26:38 +00:00
|
|
|
default y
|
2005-03-06 03:34:52 +00:00
|
|
|
help
|
|
|
|
The watchdog utility is used with hardware or software watchdog
|
|
|
|
device drivers. It opens the specified watchdog device special file
|
|
|
|
and periodically writes a magic character to the device. If the
|
|
|
|
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
|
|
|
|
|