Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Miscellaneous Utilities"
  6. config ADJTIMEX
  7. bool "adjtimex"
  8. default n
  9. help
  10. Adjtimex reads and optionally sets adjustment parameters for
  11. the Linux clock adjustment algorithm.
  12. config BBCONFIG
  13. bool "bbconfig"
  14. default n
  15. help
  16. The bbconfig applet will print the config file with which
  17. busybox was built.
  18. config BEEP
  19. bool "beep"
  20. default n
  21. help
  22. The beep applets beeps in a given freq/Hz.
  23. config FEATURE_BEEP_FREQ
  24. int "default frequency"
  25. range 0 2147483647
  26. default 4000
  27. depends on BEEP
  28. help
  29. Frequency for default beep.
  30. config FEATURE_BEEP_LENGTH_MS
  31. int "default length"
  32. range 0 2147483647
  33. default 30
  34. depends on BEEP
  35. help
  36. Length in ms for default beep.
  37. config CHAT
  38. bool "chat"
  39. default n
  40. help
  41. Simple chat utility.
  42. config FEATURE_CHAT_NOFAIL
  43. bool "Enable NOFAIL expect strings"
  44. depends on CHAT
  45. default y
  46. help
  47. When enabled expect strings which are started with a dash trigger
  48. no-fail mode. That is when expectation is not met within timeout
  49. the script is not terminated but sends next SEND string and waits
  50. for next EXPECT string. This allows to compose far more flexible
  51. scripts.
  52. config FEATURE_CHAT_TTY_HIFI
  53. bool "Force STDIN to be a TTY"
  54. depends on CHAT
  55. default n
  56. help
  57. Original chat always treats STDIN as a TTY device and sets for it
  58. so-called raw mode. This option turns on such behaviour.
  59. config FEATURE_CHAT_IMPLICIT_CR
  60. bool "Enable implicit Carriage Return"
  61. depends on CHAT
  62. default y
  63. help
  64. When enabled make chat to terminate all SEND strings with a "\r"
  65. unless "\c" is met anywhere in the string.
  66. config FEATURE_CHAT_SWALLOW_OPTS
  67. bool "Swallow options"
  68. depends on CHAT
  69. default n
  70. help
  71. Busybox chat require no options. To make it not fail when used
  72. in place of original chat (which has a bunch of options) turn
  73. this on.
  74. config FEATURE_CHAT_SEND_ESCAPES
  75. bool "Support weird SEND escapes"
  76. depends on CHAT
  77. default n
  78. help
  79. Original chat uses some escape sequences in SEND arguments which
  80. are not sent to device but rather performs special actions.
  81. E.g. "\K" means to send a break sequence to device.
  82. "\d" delays execution for a second, "\p" -- for a 1/100 of second.
  83. Before turning this option on think twice: do you really need them?
  84. config FEATURE_CHAT_VAR_ABORT_LEN
  85. bool "Support variable-length ABORT conditions"
  86. depends on CHAT
  87. default n
  88. help
  89. Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
  90. config FEATURE_CHAT_CLR_ABORT
  91. bool "Support revoking of ABORT conditions"
  92. depends on CHAT
  93. default n
  94. help
  95. Support CLR_ABORT directive.
  96. config CHRT
  97. bool "chrt"
  98. default n
  99. help
  100. manipulate real-time attributes of a process.
  101. This requires sched_{g,s}etparam support in your libc.
  102. config CROND
  103. bool "crond"
  104. default n
  105. select FEATURE_SUID
  106. select FEATURE_SYSLOG
  107. help
  108. Crond is a background daemon that parses individual crontab
  109. files and executes commands on behalf of the users in question.
  110. This is a port of dcron from slackware. It uses files of the
  111. format /var/spool/cron/crontabs/<username> files, for example:
  112. $ cat /var/spool/cron/crontabs/root
  113. # Run daily cron jobs at 4:40 every day:
  114. 40 4 * * * /etc/cron/daily > /dev/null 2>&1
  115. config FEATURE_CROND_D
  116. bool "Support option -d to redirect output to stderr"
  117. depends on CROND
  118. default n
  119. help
  120. -d sets loglevel to 0 (most verbose) and directs all output to stderr.
  121. config FEATURE_CROND_CALL_SENDMAIL
  122. bool "Report command output via email (using sendmail)"
  123. default n
  124. depends on CROND
  125. help
  126. Command output will be sent to corresponding user via email.
  127. config FEATURE_CROND_DIR
  128. string "crond spool directory"
  129. default "/var/spool/cron"
  130. depends on CROND || CRONTAB
  131. help
  132. Location of crond spool.
  133. config CRONTAB
  134. bool "crontab"
  135. default n
  136. select FEATURE_SUID
  137. help
  138. Crontab manipulates the crontab for a particular user. Only
  139. the superuser may specify a different user and/or crontab directory.
  140. Note that Busybox binary must be setuid root for this applet to
  141. work properly.
  142. config DC
  143. bool "dc"
  144. default n
  145. help
  146. Dc is a reverse-polish desk calculator which supports unlimited
  147. precision arithmetic.
  148. config FEATURE_DC_LIBM
  149. bool "Enable power and exp functions (requires libm)"
  150. default n
  151. depends on DC
  152. help
  153. Enable power and exp functions.
  154. NOTE: This will require libm to be present for linking.
  155. config DEVFSD
  156. bool "devfsd (obsolete)"
  157. default n
  158. select FEATURE_SYSLOG
  159. help
  160. This is deprecated and should NOT be used anymore.
  161. Use linux >= 2.6 (optionally with hotplug) and mdev instead!
  162. See docs/mdev.txt for detailed instructions on how to use mdev
  163. instead.
  164. Provides compatibility with old device names on a devfs systems.
  165. You should set it to true if you have devfs enabled.
  166. The following keywords in devsfd.conf are supported:
  167. "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
  168. "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
  169. "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
  170. But only if they are written UPPERCASE!!!!!!!!
  171. config DEVFSD_MODLOAD
  172. bool "Adds support for MODLOAD keyword in devsfd.conf"
  173. default n
  174. depends on DEVFSD
  175. help
  176. This actually doesn't work with busybox modutils but needs
  177. the external modutils.
  178. config DEVFSD_FG_NP
  179. bool "Enables the -fg and -np options"
  180. default n
  181. depends on DEVFSD
  182. help
  183. -fg Run the daemon in the foreground.
  184. -np Exit after parsing the configuration file.
  185. Do not poll for events.
  186. config DEVFSD_VERBOSE
  187. bool "Increases logging (and size)"
  188. default n
  189. depends on DEVFSD
  190. help
  191. Increases logging to stderr or syslog.
  192. config FEATURE_DEVFS
  193. bool "Use devfs names for all devices (obsolete)"
  194. default n
  195. help
  196. This is obsolete and should NOT be used anymore.
  197. Use linux >= 2.6 (optionally with hotplug) and mdev instead!
  198. For legacy systems -- if there is no way around devfsd -- this
  199. tells busybox to look for names like /dev/loop/0 instead of
  200. /dev/loop0. If your /dev directory has normal names instead of
  201. devfs names, you don't want this.
  202. config DEVMEM
  203. bool "devmem"
  204. default n
  205. help
  206. devmem is a small program that reads and writes from physical
  207. memory using /dev/mem.
  208. config EJECT
  209. bool "eject"
  210. default n
  211. help
  212. Used to eject cdroms. (defaults to /dev/cdrom)
  213. config FEATURE_EJECT_SCSI
  214. bool "SCSI support"
  215. default n
  216. depends on EJECT
  217. help
  218. Add the -s option to eject, this allows to eject SCSI-Devices and
  219. usb-storage devices.
  220. config FBSPLASH
  221. bool "fbsplash"
  222. default n
  223. help
  224. Shows splash image and progress bar on framebuffer device.
  225. Can be used during boot phase of an embedded device. ~2kb.
  226. Usage:
  227. - use kernel option 'vga=xxx' or otherwise enable fb device.
  228. - put somewhere fbsplash.cfg file and an image in .ppm format.
  229. - $ setsid fbsplash [params] &
  230. -c: hide cursor
  231. -d /dev/fbN: framebuffer device (if not /dev/fb0)
  232. -s path_to_image_file (can be "-" for stdin)
  233. -i path_to_cfg_file (can be "-" for stdin)
  234. -f path_to_fifo (can be "-" for stdin)
  235. - if you want to run it only in presence of kernel parameter:
  236. grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
  237. - commands for fifo:
  238. "NN" (ASCII decimal number) - percentage to show on progress bar
  239. "exit" - well you guessed it
  240. config FLASHCP
  241. bool "flashcp"
  242. default n
  243. help
  244. The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
  245. This utility is used to copy images into a MTD device.
  246. config FLASH_LOCK
  247. bool "flash_lock"
  248. default n
  249. help
  250. The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
  251. utility locks part or all of the flash device.
  252. config FLASH_UNLOCK
  253. bool "flash_unlock"
  254. default n
  255. help
  256. The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
  257. utility unlocks part or all of the flash device.
  258. config FLASH_ERASEALL
  259. bool "flash_eraseall"
  260. default n
  261. help
  262. The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
  263. This utility is used to erase the whole MTD device.
  264. config IONICE
  265. bool "ionice"
  266. default n
  267. help
  268. Set/set program io scheduling class and priority
  269. Requires kernel >= 2.6.13
  270. config INOTIFYD
  271. bool "inotifyd"
  272. default n
  273. help
  274. Simple inotify daemon. Reports filesystem changes. Requires
  275. kernel >= 2.6.13
  276. config LAST
  277. bool "last"
  278. default n
  279. depends on FEATURE_WTMP
  280. help
  281. 'last' displays a list of the last users that logged into the system.
  282. choice
  283. prompt "Choose last implementation"
  284. depends on LAST
  285. default FEATURE_LAST_SMALL
  286. config FEATURE_LAST_SMALL
  287. bool "small"
  288. help
  289. This is a small version of last with just the basic set of
  290. features.
  291. config FEATURE_LAST_FANCY
  292. bool "huge"
  293. help
  294. 'last' displays detailed information about the last users that
  295. logged into the system (mimics sysvinit last). +900 bytes.
  296. endchoice
  297. config LESS
  298. bool "less"
  299. default n
  300. help
  301. 'less' is a pager, meaning that it displays text files. It possesses
  302. a wide array of features, and is an improvement over 'more'.
  303. config FEATURE_LESS_MAXLINES
  304. int "Max number of input lines less will try to eat"
  305. default 9999999
  306. depends on LESS
  307. config FEATURE_LESS_BRACKETS
  308. bool "Enable bracket searching"
  309. default y
  310. depends on LESS
  311. help
  312. This option adds the capability to search for matching left and right
  313. brackets, facilitating programming.
  314. config FEATURE_LESS_FLAGS
  315. bool "Enable extra flags"
  316. default y
  317. depends on LESS
  318. help
  319. The extra flags provided do the following:
  320. The -M flag enables a more sophisticated status line.
  321. The -m flag enables a simpler status line with a percentage.
  322. config FEATURE_LESS_MARKS
  323. bool "Enable marks"
  324. default n
  325. depends on LESS
  326. help
  327. Marks enable positions in a file to be stored for easy reference.
  328. config FEATURE_LESS_REGEXP
  329. bool "Enable regular expressions"
  330. default n
  331. depends on LESS
  332. help
  333. Enable regular expressions, allowing complex file searches.
  334. config FEATURE_LESS_WINCH
  335. bool "Enable automatic resizing on window size changes"
  336. default n
  337. depends on LESS
  338. help
  339. Makes less track window size changes.
  340. config FEATURE_LESS_DASHCMD
  341. bool "Enable flag changes ('-' command)"
  342. default n
  343. depends on LESS
  344. help
  345. This enables the ability to change command-line flags within
  346. less itself ('-' keyboard command).
  347. config FEATURE_LESS_LINENUMS
  348. bool "Enable dynamic switching of line numbers"
  349. default n
  350. depends on FEATURE_LESS_DASHCMD
  351. help
  352. Enable "-N" command.
  353. config HDPARM
  354. bool "hdparm"
  355. default n
  356. help
  357. Get/Set hard drive parameters. Primarily intended for ATA
  358. drives. Adds about 13k (or around 30k if you enable the
  359. FEATURE_HDPARM_GET_IDENTITY option)....
  360. config FEATURE_HDPARM_GET_IDENTITY
  361. bool "Support obtaining detailed information directly from drives"
  362. default y
  363. depends on HDPARM
  364. help
  365. Enables the -I and -i options to obtain detailed information
  366. directly from drives about their capabilities and supported ATA
  367. feature set. If no device name is specified, hdparm will read
  368. identify data from stdin. Enabling this option will add about 16k...
  369. config FEATURE_HDPARM_HDIO_SCAN_HWIF
  370. bool "Register an IDE interface (DANGEROUS)"
  371. default n
  372. depends on HDPARM
  373. help
  374. Enables the 'hdparm -R' option to register an IDE interface.
  375. This is dangerous stuff, so you should probably say N.
  376. config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  377. bool "Un-register an IDE interface (DANGEROUS)"
  378. default n
  379. depends on HDPARM
  380. help
  381. Enables the 'hdparm -U' option to un-register an IDE interface.
  382. This is dangerous stuff, so you should probably say N.
  383. config FEATURE_HDPARM_HDIO_DRIVE_RESET
  384. bool "Perform device reset (DANGEROUS)"
  385. default n
  386. depends on HDPARM
  387. help
  388. Enables the 'hdparm -w' option to perform a device reset.
  389. This is dangerous stuff, so you should probably say N.
  390. config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  391. bool "Tristate device for hotswap (DANGEROUS)"
  392. default n
  393. depends on HDPARM
  394. help
  395. Enables the 'hdparm -x' option to tristate device for hotswap,
  396. and the '-b' option to get/set bus state. This is dangerous
  397. stuff, so you should probably say N.
  398. config FEATURE_HDPARM_HDIO_GETSET_DMA
  399. bool "Get/set using_dma flag"
  400. default n
  401. depends on HDPARM
  402. help
  403. Enables the 'hdparm -d' option to get/set using_dma flag.
  404. config MAKEDEVS
  405. bool "makedevs"
  406. default n
  407. help
  408. 'makedevs' is a utility used to create a batch of devices with
  409. one command.
  410. .
  411. There are two choices for command line behaviour, the interface
  412. as used by LEAF/Linux Router Project, or a device table file.
  413. .
  414. 'leaf' is traditionally what busybox follows, it allows multiple
  415. devices of a particluar type to be created per command.
  416. e.g. /dev/hda[0-9]
  417. Device properties are passed as command line arguments.
  418. .
  419. 'table' reads device properties from a file or stdin, allowing
  420. a batch of unrelated devices to be made with one command.
  421. User/group names are allowed as an alternative to uid/gid.
  422. choice
  423. prompt "Choose makedevs behaviour"
  424. depends on MAKEDEVS
  425. default FEATURE_MAKEDEVS_TABLE
  426. config FEATURE_MAKEDEVS_LEAF
  427. bool "leaf"
  428. config FEATURE_MAKEDEVS_TABLE
  429. bool "table"
  430. endchoice
  431. config MAN
  432. bool "man"
  433. default n
  434. help
  435. Format and display manual pages.
  436. config MICROCOM
  437. bool "microcom"
  438. default n
  439. help
  440. The poor man's minicom utility for chatting with serial port devices.
  441. config MOUNTPOINT
  442. bool "mountpoint"
  443. default n
  444. help
  445. mountpoint checks if the directory is a mountpoint.
  446. config MT
  447. bool "mt"
  448. default n
  449. help
  450. mt is used to control tape devices. You can use the mt utility
  451. to advance or rewind a tape past a specified number of archive
  452. files on the tape.
  453. config RAIDAUTORUN
  454. bool "raidautorun"
  455. default n
  456. help
  457. raidautorun tells the kernel md driver to
  458. search and start RAID arrays.
  459. config READAHEAD
  460. bool "readahead"
  461. default n
  462. depends on LFS
  463. help
  464. Preload the files listed on the command line into RAM cache so that
  465. subsequent reads on these files will not block on disk I/O.
  466. This applet just calls the readahead(2) system call on each file.
  467. It is mainly useful in system startup scripts to preload files
  468. or executables before they are used. When used at the right time
  469. (in particular when a CPU bound process is running) it can
  470. significantly speed up system startup.
  471. As readahead(2) blocks until each file has been read, it is best to
  472. run this applet as a background job.
  473. config RFKILL
  474. bool "rfkill"
  475. default n
  476. help
  477. Enable/disable wireless devices.
  478. rfkill list : list all wireless devices
  479. rfkill list bluetooth : list all bluetooth devices
  480. rfkill list 1 : list device corresponding to the given index
  481. rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
  482. config RUNLEVEL
  483. bool "runlevel"
  484. default n
  485. help
  486. find the current and previous system runlevel.
  487. This applet uses utmp but does not rely on busybox supporing
  488. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  489. config RX
  490. bool "rx"
  491. default n
  492. help
  493. Receive files using the Xmodem protocol.
  494. config SETSID
  495. bool "setsid"
  496. default n
  497. help
  498. setsid runs a program in a new session
  499. config STRINGS
  500. bool "strings"
  501. default n
  502. help
  503. strings prints the printable character sequences for each file
  504. specified.
  505. config TASKSET
  506. bool "taskset"
  507. default n
  508. help
  509. Retrieve or set a processes's CPU affinity.
  510. This requires sched_{g,s}etaffinity support in your libc.
  511. config FEATURE_TASKSET_FANCY
  512. bool "Fancy output"
  513. default y
  514. depends on TASKSET
  515. help
  516. Add code for fancy output. This merely silences a compiler-warning
  517. and adds about 135 Bytes. May be needed for machines with alot
  518. of CPUs.
  519. config TIME
  520. bool "time"
  521. default n
  522. help
  523. The time command runs the specified program with the given arguments.
  524. When the command finishes, time writes a message to standard output
  525. giving timing statistics about this program run.
  526. config TIMEOUT
  527. bool "timeout"
  528. default n
  529. help
  530. Runs a program and watches it. If it does not terminate in
  531. specified number of seconds, it is sent a signal.
  532. config TTYSIZE
  533. bool "ttysize"
  534. default n
  535. help
  536. A replacement for "stty size". Unlike stty, can report only width,
  537. only height, or both, in any order. It also does not complain on
  538. error, but returns default 80x24.
  539. Usage in shell scripts: width=`ttysize w`.
  540. config VOLNAME
  541. bool "volname"
  542. default n
  543. help
  544. Prints a CD-ROM volume name.
  545. config WALL
  546. bool "wall"
  547. default n
  548. help
  549. Write a message to all users that are logged in.
  550. config WATCHDOG
  551. bool "watchdog"
  552. default n
  553. help
  554. The watchdog utility is used with hardware or software watchdog
  555. device drivers. It opens the specified watchdog device special file
  556. and periodically writes a magic character to the device. If the
  557. watchdog applet ever fails to write the magic character within a
  558. certain amount of time, the watchdog device assumes the system has
  559. hung, and will cause the hardware to reboot.
  560. endmenu