[821] | 1 | #
|
---|
| 2 | # For a description of the syntax of this configuration file,
|
---|
| 3 | # see scripts/kbuild/config-language.txt.
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | menu "Miscellaneous Utilities"
|
---|
| 7 |
|
---|
[1770] | 8 | config ADJTIMEX
|
---|
[821] | 9 | bool "adjtimex"
|
---|
| 10 | default n
|
---|
| 11 | help
|
---|
| 12 | Adjtimex reads and optionally sets adjustment parameters for
|
---|
| 13 | the Linux clock adjustment algorithm.
|
---|
| 14 |
|
---|
[1770] | 15 | config BBCONFIG
|
---|
[821] | 16 | bool "bbconfig"
|
---|
| 17 | default n
|
---|
| 18 | help
|
---|
| 19 | The bbconfig applet will print the config file with which
|
---|
| 20 | busybox was built.
|
---|
| 21 |
|
---|
[1770] | 22 | config CHRT
|
---|
| 23 | bool "chrt"
|
---|
| 24 | default n
|
---|
| 25 | help
|
---|
| 26 | manipulate real-time attributes of a process.
|
---|
| 27 | This requires sched_{g,s}etparam support in your libc.
|
---|
| 28 |
|
---|
| 29 | config CROND
|
---|
[821] | 30 | bool "crond"
|
---|
| 31 | default n
|
---|
[1770] | 32 | select FEATURE_SUID
|
---|
| 33 | select FEATURE_SYSLOG
|
---|
[821] | 34 | help
|
---|
| 35 | Crond is a background daemon that parses individual crontab
|
---|
| 36 | files and executes commands on behalf of the users in question.
|
---|
| 37 | This is a port of dcron from slackware. It uses files of the
|
---|
| 38 | format /var/spool/cron/crontabs/<username> files, for example:
|
---|
| 39 | $ cat /var/spool/cron/crontabs/root
|
---|
| 40 | # Run daily cron jobs at 4:40 every day:
|
---|
| 41 | 40 4 * * * /etc/cron/daily > /dev/null 2>&1
|
---|
| 42 | Note that Busybox binary must be setuid root for this applet to
|
---|
| 43 | work properly.
|
---|
| 44 |
|
---|
[1770] | 45 | config DEBUG_CROND_OPTION
|
---|
[821] | 46 | bool "Support debug option -d"
|
---|
[1770] | 47 | depends on CROND
|
---|
[821] | 48 | default n
|
---|
| 49 | help
|
---|
| 50 | Support option -d to enter debug mode.
|
---|
| 51 |
|
---|
[1770] | 52 | config FEATURE_CROND_CALL_SENDMAIL
|
---|
[821] | 53 | bool "Using /usr/sbin/sendmail?"
|
---|
| 54 | default n
|
---|
[1770] | 55 | depends on CROND
|
---|
[821] | 56 | help
|
---|
| 57 | Support calling /usr/sbin/sendmail for send cmd outputs.
|
---|
| 58 |
|
---|
[1770] | 59 | config CRONTAB
|
---|
[821] | 60 | bool "crontab"
|
---|
| 61 | default n
|
---|
[1770] | 62 | select FEATURE_SUID
|
---|
[821] | 63 | help
|
---|
| 64 | Crontab manipulates the crontab for a particular user. Only
|
---|
| 65 | the superuser may specify a different user and/or crontab directory.
|
---|
| 66 |
|
---|
[1770] | 67 | config DC
|
---|
[821] | 68 | bool "dc"
|
---|
| 69 | default n
|
---|
| 70 | help
|
---|
| 71 | Dc is a reverse-polish desk calculator which supports unlimited
|
---|
| 72 | precision arithmetic.
|
---|
| 73 |
|
---|
[1770] | 74 | config DEVFSD
|
---|
[821] | 75 | bool "devfsd (obsolete)"
|
---|
| 76 | default n
|
---|
[1770] | 77 | select FEATURE_SYSLOG
|
---|
[821] | 78 | help
|
---|
[1770] | 79 | This is deprecated, and will be removed at the end of 2008.
|
---|
[821] | 80 |
|
---|
| 81 | Provides compatibility with old device names on a devfs systems.
|
---|
| 82 | You should set it to true if you have devfs enabled.
|
---|
| 83 | The following keywords in devsfd.conf are supported:
|
---|
| 84 | "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
|
---|
| 85 | "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
|
---|
| 86 | "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
|
---|
| 87 |
|
---|
| 88 | But only if they are written UPPERCASE!!!!!!!!
|
---|
| 89 |
|
---|
[1770] | 90 | config DEVFSD_MODLOAD
|
---|
[821] | 91 | bool "Adds support for MODLOAD keyword in devsfd.conf"
|
---|
| 92 | default n
|
---|
[1770] | 93 | depends on DEVFSD
|
---|
[821] | 94 | help
|
---|
| 95 | This actually doesn't work with busybox modutils but needs
|
---|
| 96 | the external modutils.
|
---|
| 97 |
|
---|
[1770] | 98 | config DEVFSD_FG_NP
|
---|
[821] | 99 | bool "Enables the -fg and -np options"
|
---|
| 100 | default n
|
---|
[1770] | 101 | depends on DEVFSD
|
---|
[821] | 102 | help
|
---|
| 103 | -fg Run the daemon in the foreground.
|
---|
| 104 | -np Exit after parsing the configuration file. Do not poll for events.
|
---|
| 105 |
|
---|
[1770] | 106 | config DEVFSD_VERBOSE
|
---|
[821] | 107 | bool "Increases logging (and size)"
|
---|
| 108 | default n
|
---|
[1770] | 109 | depends on DEVFSD
|
---|
[821] | 110 | help
|
---|
| 111 | Increases logging to stderr or syslog.
|
---|
| 112 |
|
---|
[1770] | 113 | config FEATURE_DEVFS
|
---|
[821] | 114 | bool " Use devfs names for all devices (obsolete)"
|
---|
| 115 | default n
|
---|
| 116 | help
|
---|
[1770] | 117 | This is obsolete and will be going away at the end of 2008..
|
---|
| 118 |
|
---|
[821] | 119 | This tells busybox to look for names like /dev/loop/0 instead of
|
---|
| 120 | /dev/loop0. If your /dev directory has normal names instead of
|
---|
| 121 | devfs names, you don't want this.
|
---|
| 122 |
|
---|
[1770] | 123 | config EJECT
|
---|
[821] | 124 | bool "eject"
|
---|
| 125 | default n
|
---|
| 126 | help
|
---|
| 127 | Used to eject cdroms. (defaults to /dev/cdrom)
|
---|
| 128 |
|
---|
[1770] | 129 | config LAST
|
---|
[821] | 130 | bool "last"
|
---|
| 131 | default n
|
---|
[1770] | 132 | select FEATURE_WTMP
|
---|
[821] | 133 | help
|
---|
| 134 | 'last' displays a list of the last users that logged into the system.
|
---|
| 135 |
|
---|
[1770] | 136 | config LESS
|
---|
[821] | 137 | bool "less"
|
---|
| 138 | default n
|
---|
| 139 | help
|
---|
| 140 | 'less' is a pager, meaning that it displays text files. It possesses
|
---|
| 141 | a wide array of features, and is an improvement over 'more'.
|
---|
| 142 |
|
---|
[1770] | 143 | config FEATURE_LESS_MAXLINES
|
---|
| 144 | int "Max number of input lines less will try to eat"
|
---|
| 145 | default 9999999
|
---|
| 146 | depends on LESS
|
---|
| 147 |
|
---|
| 148 | config FEATURE_LESS_BRACKETS
|
---|
[821] | 149 | bool "Enable bracket searching"
|
---|
| 150 | default y
|
---|
[1770] | 151 | depends on LESS
|
---|
[821] | 152 | help
|
---|
| 153 | This option adds the capability to search for matching left and right
|
---|
| 154 | brackets, facilitating programming.
|
---|
| 155 |
|
---|
[1770] | 156 | config FEATURE_LESS_FLAGS
|
---|
[821] | 157 | bool "Enable extra flags"
|
---|
| 158 | default y
|
---|
[1770] | 159 | depends on LESS
|
---|
[821] | 160 | help
|
---|
| 161 | The extra flags provided do the following:
|
---|
| 162 |
|
---|
| 163 | The -M flag enables a more sophisticated status line.
|
---|
| 164 | The -m flag enables a simpler status line with a percentage.
|
---|
| 165 |
|
---|
[1770] | 166 | config FEATURE_LESS_FLAGCS
|
---|
[821] | 167 | bool "Enable flag changes"
|
---|
| 168 | default n
|
---|
[1770] | 169 | depends on LESS
|
---|
[821] | 170 | help
|
---|
| 171 | This enables the ability to change command-line flags within
|
---|
| 172 | less itself.
|
---|
| 173 |
|
---|
[1770] | 174 | config FEATURE_LESS_MARKS
|
---|
[821] | 175 | bool "Enable marks"
|
---|
| 176 | default n
|
---|
[1770] | 177 | depends on LESS
|
---|
[821] | 178 | help
|
---|
| 179 | Marks enable positions in a file to be stored for easy reference.
|
---|
| 180 |
|
---|
[1770] | 181 | config FEATURE_LESS_REGEXP
|
---|
[821] | 182 | bool "Enable regular expressions"
|
---|
| 183 | default n
|
---|
[1770] | 184 | depends on LESS
|
---|
[821] | 185 | help
|
---|
| 186 | Enable regular expressions, allowing complex file searches.
|
---|
| 187 |
|
---|
[1770] | 188 | config HDPARM
|
---|
[821] | 189 | bool "hdparm"
|
---|
| 190 | default n
|
---|
| 191 | help
|
---|
| 192 | Get/Set hard drive parameters. Primarily intended for ATA
|
---|
| 193 | drives. Adds about 13k (or around 30k if you enable the
|
---|
[1770] | 194 | FEATURE_HDPARM_GET_IDENTITY option)....
|
---|
[821] | 195 |
|
---|
[1770] | 196 | config FEATURE_HDPARM_GET_IDENTITY
|
---|
[821] | 197 | bool "Support obtaining detailed information directly from drives"
|
---|
| 198 | default y
|
---|
[1770] | 199 | depends on HDPARM
|
---|
[821] | 200 | help
|
---|
| 201 | Enables the -I and -i options to obtain detailed information
|
---|
| 202 | directly from drives about their capabilities and supported ATA
|
---|
| 203 | feature set. If no device name is specified, hdparm will read
|
---|
| 204 | identify data from stdin. Enabling this option will add about 16k...
|
---|
| 205 |
|
---|
[1770] | 206 | config FEATURE_HDPARM_HDIO_SCAN_HWIF
|
---|
[821] | 207 | bool "Register an IDE interface (DANGEROUS)"
|
---|
| 208 | default n
|
---|
[1770] | 209 | depends on HDPARM
|
---|
[821] | 210 | help
|
---|
| 211 | Enables the 'hdparm -R' option to register an IDE interface.
|
---|
| 212 | This is dangerous stuff, so you should probably say N.
|
---|
| 213 |
|
---|
[1770] | 214 | config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
|
---|
[821] | 215 | bool "Un-register an IDE interface (DANGEROUS)"
|
---|
| 216 | default n
|
---|
[1770] | 217 | depends on HDPARM
|
---|
[821] | 218 | help
|
---|
| 219 | Enables the 'hdparm -U' option to un-register an IDE interface.
|
---|
| 220 | This is dangerous stuff, so you should probably say N.
|
---|
| 221 |
|
---|
[1770] | 222 | config FEATURE_HDPARM_HDIO_DRIVE_RESET
|
---|
[821] | 223 | bool "perform device reset (DANGEROUS)"
|
---|
| 224 | default n
|
---|
[1770] | 225 | depends on HDPARM
|
---|
[821] | 226 | help
|
---|
| 227 | Enables the 'hdparm -w' option to perform a device reset.
|
---|
| 228 | This is dangerous stuff, so you should probably say N.
|
---|
| 229 |
|
---|
[1770] | 230 | config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
|
---|
[821] | 231 | bool "tristate device for hotswap (DANGEROUS)"
|
---|
| 232 | default n
|
---|
[1770] | 233 | depends on HDPARM
|
---|
[821] | 234 | help
|
---|
| 235 | Enables the 'hdparm -x' option to tristate device for hotswap,
|
---|
| 236 | and the '-b' option to get/set bus state. This is dangerous
|
---|
| 237 | stuff, so you should probably say N.
|
---|
| 238 |
|
---|
[1770] | 239 | config FEATURE_HDPARM_HDIO_GETSET_DMA
|
---|
[821] | 240 | bool "get/set using_dma flag (DANGEROUS)"
|
---|
| 241 | default n
|
---|
[1770] | 242 | depends on HDPARM
|
---|
[821] | 243 | help
|
---|
| 244 | Enables the 'hdparm -d' option to get/set using_dma flag.
|
---|
| 245 | This is dangerous stuff, so you should probably say N.
|
---|
| 246 |
|
---|
[1770] | 247 | config MAKEDEVS
|
---|
[821] | 248 | bool "makedevs"
|
---|
| 249 | default n
|
---|
| 250 | help
|
---|
| 251 | 'makedevs' is a utility used to create a batch of devices with
|
---|
| 252 | one command.
|
---|
| 253 | .
|
---|
| 254 | There are two choices for command line behaviour, the interface
|
---|
| 255 | as used by LEAF/Linux Router Project, or a device table file.
|
---|
| 256 | .
|
---|
| 257 | 'leaf' is traditionally what busybox follows, it allows multiple
|
---|
| 258 | devices of a particluar type to be created per command.
|
---|
| 259 | e.g. /dev/hda[0-9]
|
---|
[1770] | 260 | Device properties are passed as command line arguments.
|
---|
[821] | 261 | .
|
---|
| 262 | 'table' reads device properties from a file or stdin, allowing
|
---|
| 263 | a batch of unrelated devices to be made with one command.
|
---|
[1770] | 264 | User/group names are allowed as an alternative to uid/gid.
|
---|
[821] | 265 |
|
---|
| 266 | choice
|
---|
| 267 | prompt "Choose makedevs behaviour"
|
---|
[1770] | 268 | depends on MAKEDEVS
|
---|
| 269 | default FEATURE_MAKEDEVS_TABLE
|
---|
[821] | 270 |
|
---|
[1770] | 271 | config FEATURE_MAKEDEVS_LEAF
|
---|
| 272 | bool "leaf"
|
---|
[821] | 273 |
|
---|
[1770] | 274 | config FEATURE_MAKEDEVS_TABLE
|
---|
[821] | 275 | bool "table"
|
---|
| 276 |
|
---|
| 277 | endchoice
|
---|
| 278 |
|
---|
[1770] | 279 | config MOUNTPOINT
|
---|
[821] | 280 | bool "mountpoint"
|
---|
| 281 | default n
|
---|
| 282 | help
|
---|
| 283 | mountpoint checks if the directory is a mountpoint.
|
---|
| 284 |
|
---|
[1770] | 285 | config MT
|
---|
[821] | 286 | bool "mt"
|
---|
| 287 | default n
|
---|
| 288 | help
|
---|
| 289 | mt is used to control tape devices. You can use the mt utility
|
---|
| 290 | to advance or rewind a tape past a specified number of archive
|
---|
| 291 | files on the tape.
|
---|
| 292 |
|
---|
[1770] | 293 | config RAIDAUTORUN
|
---|
| 294 | bool "raidautorun"
|
---|
[821] | 295 | default n
|
---|
| 296 | help
|
---|
[1770] | 297 | raidautorun tells the kernel md driver to
|
---|
| 298 | search and start RAID arrays.
|
---|
[821] | 299 |
|
---|
[1770] | 300 | config READAHEAD
|
---|
| 301 | bool "readahead"
|
---|
| 302 | default n
|
---|
| 303 | depends on LFS
|
---|
| 304 | help
|
---|
| 305 | Preload the files listed on the command line into RAM cache so that
|
---|
| 306 | subsequent reads on these files will not block on disk I/O.
|
---|
| 307 |
|
---|
| 308 | This applet just calls the readahead(2) system call on each file.
|
---|
| 309 | It is mainly useful in system startup scripts to preload files
|
---|
| 310 | or executables before they are used. When used at the right time
|
---|
| 311 | (in particular when a CPU boundprocess is running) it can
|
---|
| 312 | significantly speed up system startup.
|
---|
| 313 |
|
---|
| 314 | As readahead(2) blocks until each file has been read, it is best to
|
---|
| 315 | run this applet as a background job.
|
---|
| 316 |
|
---|
| 317 | config RUNLEVEL
|
---|
| 318 | bool "runlevel"
|
---|
| 319 | default n
|
---|
| 320 | help
|
---|
| 321 | find the current and previous system runlevel.
|
---|
| 322 |
|
---|
[821] | 323 | This applet uses utmp but does not rely on busybox supporing
|
---|
| 324 | utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
|
---|
| 325 |
|
---|
[1770] | 326 | config RX
|
---|
| 327 | bool "rx"
|
---|
[821] | 328 | default n
|
---|
| 329 | help
|
---|
[1770] | 330 | Receive files using the Xmodem protocol.
|
---|
[821] | 331 |
|
---|
[1770] | 332 | config STRINGS
|
---|
[821] | 333 | bool "strings"
|
---|
| 334 | default n
|
---|
| 335 | help
|
---|
| 336 | strings prints the printable character sequences for each file
|
---|
| 337 | specified.
|
---|
| 338 |
|
---|
[1770] | 339 | config SETSID
|
---|
[821] | 340 | bool "setsid"
|
---|
| 341 | default n
|
---|
| 342 | help
|
---|
| 343 | setsid runs a program in a new session
|
---|
| 344 |
|
---|
[1770] | 345 | config TASKSET
|
---|
[821] | 346 | bool "taskset"
|
---|
| 347 | default n
|
---|
| 348 | help
|
---|
[1770] | 349 | Retrieve or set a processes's CPU affinity.
|
---|
| 350 | This requires sched_{g,s}etaffinity support in your libc.
|
---|
[821] | 351 |
|
---|
[1770] | 352 | config FEATURE_TASKSET_FANCY
|
---|
| 353 | bool "fancy output"
|
---|
| 354 | default y
|
---|
| 355 | depends on TASKSET
|
---|
[821] | 356 | help
|
---|
[1770] | 357 | Add code for fancy output. This merely silences a compiler-warning
|
---|
| 358 | and adds about 135 Bytes. May be needed for machines with alot
|
---|
| 359 | of CPUs.
|
---|
[821] | 360 |
|
---|
[1770] | 361 | config TIME
|
---|
[821] | 362 | bool "time"
|
---|
| 363 | default n
|
---|
| 364 | help
|
---|
| 365 | The time command runs the specified program with the given arguments.
|
---|
| 366 | When the command finishes, time writes a message to standard output
|
---|
| 367 | giving timing statistics about this program run.
|
---|
| 368 |
|
---|
[1770] | 369 | config TTYSIZE
|
---|
| 370 | bool "ttysize"
|
---|
| 371 | default n
|
---|
| 372 | help
|
---|
| 373 | A replacement for "stty size". Unlike stty, can report only width,
|
---|
| 374 | only height, or both, in any order. It also does not complain on error,
|
---|
| 375 | but returns default 80x24. Usage in shell scripts: width=`ttysize w`.
|
---|
| 376 |
|
---|
| 377 | config WATCHDOG
|
---|
[821] | 378 | bool "watchdog"
|
---|
| 379 | default n
|
---|
| 380 | help
|
---|
| 381 | The watchdog utility is used with hardware or software watchdog
|
---|
| 382 | device drivers. It opens the specified watchdog device special file
|
---|
| 383 | and periodically writes a magic character to the device. If the
|
---|
| 384 | watchdog applet ever fails to write the magic character within a
|
---|
| 385 | certain amount of time, the watchdog device assumes the system has
|
---|
| 386 | hung, and will cause the hardware to reboot.
|
---|
| 387 |
|
---|
| 388 | endmenu
|
---|
| 389 |
|
---|