pointless whitespace/comment fixes, no code changes
[oweals/busybox.git] / miscutils / Config.in
index ac1e2b57caa0657b0b490d1ee38b6a1cff8ba2b2..7feaf4a879b617d5beea98520a293480df3abc2b 100644 (file)
@@ -101,20 +101,18 @@ config CROND
        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
+         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.
 
-config DEBUG_CROND_OPTION
-       bool "Support debug option -d"
+config FEATURE_CROND_D
+       bool "Support option -d to redirect output to stderr"
        depends on CROND
        default n
        help
-         Support option -d to enter debug mode.
+         -d sets loglevel to 0 (most verbose) and directs all output to stderr.
 
 config FEATURE_CROND_CALL_SENDMAIL
        bool "Using /usr/sbin/sendmail?"
@@ -123,13 +121,22 @@ config FEATURE_CROND_CALL_SENDMAIL
        help
          Support calling /usr/sbin/sendmail for send cmd outputs.
 
+config FEATURE_CROND_DIR
+       string "crond spool directory"
+       default "/var/spool/cron"
+       depends on CROND || CRONTAB
+       help
+         Location of crond spool.
+
 config CRONTAB
        bool "crontab"
        default n
        select FEATURE_SUID
        help
-         Crontab manipulates the crontab for a particular user.  Only
+         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
+         work properly.
 
 config DC
        bool "dc"
@@ -138,12 +145,23 @@ config DC
          Dc is a reverse-polish desk calculator which supports unlimited
          precision arithmetic.
 
+config FEATURE_DC_LIBM
+       bool "Enable power and exp functions (requires libm)"
+       default n
+       depends on DC
+       help
+         Enable power and exp functions.
+         NOTE: This will require libm to be present for linking.
+
 config DEVFSD
        bool "devfsd (obsolete)"
        default n
        select FEATURE_SYSLOG
        help
-         This is deprecated, and will be removed at the end of 2008.
+         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.
 
          Provides compatibility with old device names on a devfs systems.
          You should set it to true if you have devfs enabled.
@@ -152,7 +170,7 @@ config DEVFSD
          "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
          "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
 
-          But only if they are written UPPERCASE!!!!!!!!
+         But only if they are written UPPERCASE!!!!!!!!
 
 config DEVFSD_MODLOAD
        bool "Adds support for MODLOAD keyword in devsfd.conf"
@@ -167,8 +185,9 @@ config DEVFSD_FG_NP
        default n
        depends on DEVFSD
        help
-               -fg     Run the daemon in the foreground.
-               -np     Exit  after  parsing  the configuration file. Do not poll for events.
+         -fg  Run the daemon in the foreground.
+         -np  Exit after parsing the configuration file.
+              Do not poll for events.
 
 config DEVFSD_VERBOSE
        bool "Increases logging (and size)"
@@ -178,28 +197,79 @@ config DEVFSD_VERBOSE
          Increases logging to stderr or syslog.
 
 config FEATURE_DEVFS
-       bool "  Use devfs names for all devices (obsolete)"
+       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 is obsolete and should NOT be used anymore.
+         Use linux >= 2.6 (optionally with hotplug) and mdev instead!
 
-         This tells busybox to look for names like /dev/loop/0 instead of
-         /dev/loop0.  If your /dev directory has normal names instead of
+         For legacy systems -- if there is no way around devfsd -- 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 DEVMEM
+       bool "devmem"
+       default n
+       help
+         devmem is a small program that reads and writes from physical
+         memory using /dev/mem.
+
 config EJECT
        bool "eject"
        default n
        help
-         Used to eject cdroms.  (defaults to /dev/cdrom)
+         Used to eject cdroms. (defaults to /dev/cdrom)
 
 config FEATURE_EJECT_SCSI
-  bool "eject scsi support"
-  default n
-  depends on EJECT
-  help
-    Add the -s option to eject, this allows to eject SCSI-Devices and
-    usb-storage devices.
+       bool "SCSI support"
+       default n
+       depends on EJECT
+       help
+         Add the -s option to eject, this allows to eject SCSI-Devices and
+         usb-storage devices.
+
+config FBSPLASH
+       bool "fbsplash"
+       default n
+       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
+
+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 IONICE
+       bool "ionice"
+       default n
+       help
+         Set/set program io scheduling class and priority
+         Requires kernel >= 2.6.13
+
+config INOTIFYD
+       bool "inotifyd"
+       default n
+       help
+         Simple inotify daemon. Reports filesystem changes. Requires
+         kernel >= 2.6.13
 
 config LAST
        bool "last"
@@ -208,6 +278,24 @@ config LAST
        help
          'last' displays a list of the last users that logged into the system.
 
+choice
+       prompt "Choose last implementation"
+       depends on LAST
+       default FEATURE_LAST_SMALL
+
+config FEATURE_LAST_SMALL
+       bool "small"
+       help
+         This is a small version of last with just the basic set of
+         features.
+
+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
+
 config LESS
        bool "less"
        default n
@@ -238,14 +326,6 @@ config FEATURE_LESS_FLAGS
          The -M flag enables a more sophisticated status line.
          The -m flag enables a simpler status line with a percentage.
 
-config FEATURE_LESS_FLAGCS
-       bool "Enable flag changes"
-       default n
-       depends on LESS
-       help
-         This enables the ability to change command-line flags within
-         less itself.
-
 config FEATURE_LESS_MARKS
        bool "Enable marks"
        default n
@@ -260,12 +340,34 @@ config FEATURE_LESS_REGEXP
        help
          Enable regular expressions, allowing complex file searches.
 
+config FEATURE_LESS_WINCH
+       bool "Enable automatic resizing on window size changes"
+       default n
+       depends on LESS
+       help
+         Makes less track window size changes.
+
+config FEATURE_LESS_DASHCMD
+       bool "Enable flag changes ('-' command)"
+       default n
+       depends on LESS
+       help
+         This enables the ability to change command-line flags within
+         less itself ('-' keyboard command).
+
+config FEATURE_LESS_LINENUMS
+       bool "Enable dynamic switching of line numbers"
+       default n
+       depends on FEATURE_LESS_DASHCMD
+       help
+         Enable "-N" command.
+
 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
+         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)....
 
 config FEATURE_HDPARM_GET_IDENTITY
@@ -295,7 +397,7 @@ config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
          This is dangerous stuff, so you should probably say N.
 
 config FEATURE_HDPARM_HDIO_DRIVE_RESET
-       bool "perform device reset (DANGEROUS)"
+       bool "Perform device reset (DANGEROUS)"
        default n
        depends on HDPARM
        help
@@ -303,21 +405,20 @@ config FEATURE_HDPARM_HDIO_DRIVE_RESET
          This is dangerous stuff, so you should probably say N.
 
 config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
-       bool "tristate device for hotswap (DANGEROUS)"
+       bool "Tristate device for hotswap (DANGEROUS)"
        default n
        depends on HDPARM
        help
          Enables the 'hdparm -x' option to tristate device for hotswap,
-         and the '-b' option to get/set bus state.  This is dangerous
+         and the '-b' option to get/set bus state. This is dangerous
          stuff, so you should probably say N.
 
 config FEATURE_HDPARM_HDIO_GETSET_DMA
-       bool "get/set using_dma flag (DANGEROUS)"
+       bool "Get/set using_dma flag"
        default n
        depends on HDPARM
        help
          Enables the 'hdparm -d' option to get/set using_dma flag.
-         This is dangerous stuff, so you should probably say N.
 
 config MAKEDEVS
        bool "makedevs"
@@ -351,6 +452,12 @@ config FEATURE_MAKEDEVS_TABLE
 
 endchoice
 
+config MAN
+       bool "man"
+       default n
+       help
+         Format and display manual pages.
+
 config MICROCOM
        bool "microcom"
        default n
@@ -367,7 +474,7 @@ config MT
        bool "mt"
        default n
        help
-         mt is used to control tape devices.  You can use the mt utility
+         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.
 
@@ -388,8 +495,8 @@ config READAHEAD
 
          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
+         or executables before they are used. When used at the right time
+         (in particular when a CPU bound process is running) it can
          significantly speed up system startup.
 
          As readahead(2) blocks until each file has been read, it is best to
@@ -410,11 +517,11 @@ config RX
        help
          Receive files using the Xmodem protocol.
 
-config SCRIPT
-       bool "script"
+config SETSID
+       bool "setsid"
        default n
        help
-         The script makes typescript of terminal session.
+         setsid runs a program in a new session
 
 config STRINGS
        bool "strings"
@@ -423,12 +530,6 @@ config STRINGS
          strings prints the printable character sequences for each file
          specified.
 
-config SETSID
-       bool "setsid"
-       default n
-       help
-         setsid runs a program in a new session
-
 config TASKSET
        bool "taskset"
        default n
@@ -437,7 +538,7 @@ config TASKSET
          This requires sched_{g,s}etaffinity support in your libc.
 
 config FEATURE_TASKSET_FANCY
-       bool "fancy output"
+       bool "Fancy output"
        default y
        depends on TASKSET
        help
@@ -453,21 +554,29 @@ config TIME
          When the command finishes, time writes a message to standard output
          giving timing statistics about this program run.
 
+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.
+
 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`.
+         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 WATCHDOG
        bool "watchdog"
        default n
        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
+         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.