Upgrade busybox to 1.7.2
[openwrt-10.03/.git] / package / busybox / config / miscutils / Config.in
index 1ffb8c6536cb7446c1fb87ba1d6e452ccfbdcd69..44f11a98d118ce77e9639916a2c41c5d86c55ea1 100644 (file)
@@ -19,10 +19,18 @@ config BUSYBOX_CONFIG_BBCONFIG
          The bbconfig applet will print the config file with which
          busybox was built.
 
+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.
+
 config BUSYBOX_CONFIG_CROND
        bool "crond"
        default y
        select BUSYBOX_CONFIG_FEATURE_SUID
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
          Crond is a background daemon that parses individual crontab
          files and executes commands on behalf of the users in question.
@@ -34,8 +42,15 @@ config BUSYBOX_CONFIG_CROND
          Note that Busybox binary must be setuid root for this applet to
          work properly.
 
+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.
+
 config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
-       bool "  Using /usr/sbin/sendmail?"
+       bool "Using /usr/sbin/sendmail?"
        default n
        depends on BUSYBOX_CONFIG_CROND
        help
@@ -57,9 +72,12 @@ config BUSYBOX_CONFIG_DC
          precision arithmetic.
 
 config BUSYBOX_CONFIG_DEVFSD
-       bool "devfsd"
+       bool "devfsd (obsolete)"
        default n
+       select BUSYBOX_CONFIG_FEATURE_SYSLOG
        help
+         This is deprecated, and will be removed at the end of 2008.
+
          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:
@@ -74,7 +92,8 @@ config BUSYBOX_CONFIG_DEVFSD_MODLOAD
        default n
        depends on BUSYBOX_CONFIG_DEVFSD
        help
-         This actually doesn't work with busybox  modutils but needs the real modutils.
+         This actually doesn't work with busybox modutils but needs
+         the external modutils.
 
 config BUSYBOX_CONFIG_DEVFSD_FG_NP
        bool "Enables the -fg and -np options"
@@ -91,6 +110,16 @@ config BUSYBOX_CONFIG_DEVFSD_VERBOSE
        help
          Increases logging to stderr or syslog.
 
+config BUSYBOX_CONFIG_FEATURE_DEVFS
+       bool "  Use devfs names for all devices (obsolete)"
+       default n
+       help
+         This is obsolete and will be going away at the end of 2008..
+
+         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.
+
 config BUSYBOX_CONFIG_EJECT
        bool "eject"
        default n
@@ -106,13 +135,18 @@ config BUSYBOX_CONFIG_LAST
 
 config BUSYBOX_CONFIG_LESS
        bool "less"
-       default n
+       default y
        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_MAXLINES
+       int "Max number of input lines less will try to eat"
+       default 9999999
+       depends on BUSYBOX_CONFIG_LESS
+
 config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
-       bool "  Enable bracket searching"
+       bool "Enable bracket searching"
        default n
        depends on BUSYBOX_CONFIG_LESS
        help
@@ -120,7 +154,7 @@ config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
          brackets, facilitating programming.
 
 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
-       bool "  Enable extra flags"
+       bool "Enable extra flags"
        default n
        depends on BUSYBOX_CONFIG_LESS
        help
@@ -130,7 +164,7 @@ config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
          The -m flag enables a simpler status line with a percentage.
 
 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
-       bool "  Enable flag changes"
+       bool "Enable flag changes"
        default n
        depends on BUSYBOX_CONFIG_LESS
        help
@@ -138,14 +172,14 @@ config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS
          less itself.
 
 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
-       bool "  Enable marks"
+       bool "Enable marks"
        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
-       bool "  Enable regular expressions"
+       bool "Enable regular expressions"
        default n
        depends on BUSYBOX_CONFIG_LESS
        help
@@ -157,19 +191,20 @@ config BUSYBOX_CONFIG_HDPARM
        help
          Get/Set hard drive parameters.  Primarily intended for ATA
          drives.  Adds about 13k (or around 30k if you enable the
-         BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY option)....
+         FEATURE_HDPARM_GET_IDENTITY option)....
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
-       bool "  Support obtaining detailed information directly from drives"
+       bool "Support obtaining detailed information directly from drives"
        default n
        depends on BUSYBOX_CONFIG_HDPARM
        help
-         Enables the -I and -Istdin options to obtain detailed information
+         Enables the -I and -i options to obtain detailed information
          directly from drives about their capabilities and supported ATA
-         feature set.  Enabling this option will add about 16k...
+         feature set. If no device name is specified, hdparm will read
+         identify data from stdin. Enabling this option will add about 16k...
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
-       bool "  Register an IDE interface (DANGEROUS)"
+       bool "Register an IDE interface (DANGEROUS)"
        default n
        depends on BUSYBOX_CONFIG_HDPARM
        help
@@ -177,7 +212,7 @@ config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
          This is dangerous stuff, so you should probably say N.
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
-       bool "  Un-register an IDE interface (DANGEROUS)"
+       bool "Un-register an IDE interface (DANGEROUS)"
        default n
        depends on BUSYBOX_CONFIG_HDPARM
        help
@@ -185,7 +220,7 @@ config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
          This is dangerous stuff, so you should probably say N.
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
-       bool "  perform device reset (DANGEROUS)"
+       bool "perform device reset (DANGEROUS)"
        default n
        depends on BUSYBOX_CONFIG_HDPARM
        help
@@ -193,7 +228,7 @@ config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
          This is dangerous stuff, so you should probably say N.
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
-       bool "  tristate device for hotswap (DANGEROUS)"
+       bool "tristate device for hotswap (DANGEROUS)"
        default n
        depends on BUSYBOX_CONFIG_HDPARM
        help
@@ -202,13 +237,19 @@ config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
          stuff, so you should probably say N.
 
 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
-       bool "  get/set using_dma flag (DANGEROUS)"
+       bool "get/set using_dma flag (DANGEROUS)"
        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.
 
+config BUSYBOX_CONFIG_LOCK
+       bool "lock"
+       default y
+       help
+         Small utility for using locks in scripts
+
 config BUSYBOX_CONFIG_MAKEDEVS
        bool "makedevs"
        default n
@@ -222,19 +263,19 @@ config BUSYBOX_CONFIG_MAKEDEVS
          '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.
+         Device properties are passed as command line arguments.
          .
          'table' reads device properties from a file or stdin, allowing
-         a batch of unrelated devices to be makde with one command.
-          User/group names are allowed as an alternative to uid/gid.
+         a batch of unrelated devices to be made with one command.
+         User/group names are allowed as an alternative to uid/gid.
 
 choice
        prompt "Choose makedevs behaviour"
-       depends BUSYBOX_CONFIG_MAKEDEVS
+       depends on BUSYBOX_CONFIG_MAKEDEVS
        default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
 
 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
-        bool "leaf"
+       bool "leaf"
 
 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
        bool "table"
@@ -255,20 +296,44 @@ config BUSYBOX_CONFIG_MT
          to advance or rewind a tape past a specified number of archive
          files on the tape.
 
+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
+       depends on BUSYBOX_CONFIG_LFS
+       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.
+
 config BUSYBOX_CONFIG_RUNLEVEL
-        bool "runlevel"
+       bool "runlevel"
        default n
        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"
        default n
        help
-         Receive files using the Xmodem protocol.
+         Receive files using the Xmodem protocol.
 
 config BUSYBOX_CONFIG_STRINGS
        bool "strings"
@@ -283,6 +348,22 @@ config BUSYBOX_CONFIG_SETSID
        help
          setsid runs a program in a new session
 
+config BUSYBOX_CONFIG_TASKSET
+       bool "taskset"
+       default n
+       help
+         Retrieve or set a processes's CPU affinity.
+         This requires sched_{g,s}etaffinity support in your libc.
+
+config BUSYBOX_CONFIG_FEATURE_TASKSET_FANCY
+       bool "fancy output"
+       default n
+       depends on BUSYBOX_CONFIG_TASKSET
+       help
+         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.
+
 config BUSYBOX_CONFIG_TIME
        bool "time"
        default y
@@ -291,6 +372,14 @@ config BUSYBOX_CONFIG_TIME
          When the command finishes, time writes a message to standard output
          giving timing statistics about this program run.
 
+config BUSYBOX_CONFIG_TTYSIZE
+       bool "ttysize"
+       default n
+       help
+         A replacement for "stty size". Unlike stty, can report only width,
+         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`.
+
 config BUSYBOX_CONFIG_WATCHDOG
        bool "watchdog"
        default y