Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  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 BUSYBOX_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 BUSYBOX_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 BUSYBOX_BEEP
  19. bool "beep"
  20. default n
  21. help
  22. The beep applets beeps in a given freq/Hz.
  23. config BUSYBOX_FEATURE_BEEP_FREQ
  24. int "default frequency"
  25. range 0 2147483647
  26. default 4000
  27. depends on BUSYBOX_BEEP
  28. help
  29. Frequency for default beep.
  30. config BUSYBOX_FEATURE_BEEP_LENGTH_MS
  31. int "default length"
  32. range 0 2147483647
  33. default 30
  34. depends on BUSYBOX_BEEP
  35. help
  36. Length in ms for default beep.
  37. config BUSYBOX_CHAT
  38. bool "chat"
  39. default n
  40. help
  41. Simple chat utility.
  42. config BUSYBOX_FEATURE_CHAT_NOFAIL
  43. bool "Enable NOFAIL expect strings"
  44. depends on BUSYBOX_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 BUSYBOX_FEATURE_CHAT_TTY_HIFI
  53. bool "Force STDIN to be a TTY"
  54. depends on BUSYBOX_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 BUSYBOX_FEATURE_CHAT_IMPLICIT_CR
  60. bool "Enable implicit Carriage Return"
  61. depends on BUSYBOX_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 BUSYBOX_FEATURE_CHAT_SWALLOW_OPTS
  67. bool "Swallow options"
  68. depends on BUSYBOX_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 BUSYBOX_FEATURE_CHAT_SEND_ESCAPES
  75. bool "Support weird SEND escapes"
  76. depends on BUSYBOX_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 BUSYBOX_FEATURE_CHAT_VAR_ABORT_LEN
  85. bool "Support variable-length ABORT conditions"
  86. depends on BUSYBOX_CHAT
  87. default n
  88. help
  89. Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
  90. config BUSYBOX_FEATURE_CHAT_CLR_ABORT
  91. bool "Support revoking of ABORT conditions"
  92. depends on BUSYBOX_CHAT
  93. default n
  94. help
  95. Support CLR_ABORT directive.
  96. config BUSYBOX_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 BUSYBOX_CROND
  103. bool "crond"
  104. default n
  105. select BUSYBOX_FEATURE_SUID
  106. select BUSYBOX_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 BUSYBOX_FEATURE_CROND_D
  116. bool "Support option -d to redirect output to stderr"
  117. depends on BUSYBOX_CROND
  118. default n
  119. help
  120. -d sets loglevel to 0 (most verbose) and directs all output to stderr.
  121. config BUSYBOX_FEATURE_CROND_CALL_SENDMAIL
  122. bool "Report command output via email (using sendmail)"
  123. default n
  124. depends on BUSYBOX_CROND
  125. help
  126. Command output will be sent to corresponding user via email.
  127. config BUSYBOX_FEATURE_CROND_DIR
  128. string "crond spool directory"
  129. default "/var/spool/cron"
  130. depends on BUSYBOX_CROND || BUSYBOX_CRONTAB
  131. help
  132. Location of crond spool.
  133. config BUSYBOX_CRONTAB
  134. bool "crontab"
  135. default n
  136. select BUSYBOX_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 BUSYBOX_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 BUSYBOX_FEATURE_DC_LIBM
  149. bool "Enable power and exp functions (requires libm)"
  150. default n
  151. depends on BUSYBOX_DC
  152. help
  153. Enable power and exp functions.
  154. NOTE: This will require libm to be present for linking.
  155. config BUSYBOX_DEVFSD
  156. bool "devfsd (obsolete)"
  157. default n
  158. select BUSYBOX_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 BUSYBOX_DEVFSD_MODLOAD
  172. bool "Adds support for MODLOAD keyword in devsfd.conf"
  173. default n
  174. depends on BUSYBOX_DEVFSD
  175. help
  176. This actually doesn't work with busybox modutils but needs
  177. the external modutils.
  178. config BUSYBOX_DEVFSD_FG_NP
  179. bool "Enables the -fg and -np options"
  180. default n
  181. depends on BUSYBOX_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 BUSYBOX_DEVFSD_VERBOSE
  187. bool "Increases logging (and size)"
  188. default n
  189. depends on BUSYBOX_DEVFSD
  190. help
  191. Increases logging to stderr or syslog.
  192. config BUSYBOX_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 BUSYBOX_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 BUSYBOX_EJECT
  209. bool "eject"
  210. default n
  211. help
  212. Used to eject cdroms. (defaults to /dev/cdrom)
  213. config BUSYBOX_FEATURE_EJECT_SCSI
  214. bool "SCSI support"
  215. default n
  216. depends on BUSYBOX_EJECT
  217. help
  218. Add the -s option to eject, this allows to eject SCSI-Devices and
  219. usb-storage devices.
  220. config BUSYBOX_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 && BUSYBOX_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 BUSYBOX_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 BUSYBOX_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 BUSYBOX_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 BUSYBOX_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 BUSYBOX_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 BUSYBOX_INOTIFYD
  271. bool "inotifyd"
  272. default n
  273. help
  274. Simple inotify daemon. Reports filesystem changes. Requires
  275. kernel >= 2.6.13
  276. config BUSYBOX_LAST
  277. bool "last"
  278. default n
  279. select BUSYBOX_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 BUSYBOX_LAST
  285. default FEATURE_LAST_SMALL
  286. config BUSYBOX_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 BUSYBOX_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 BUSYBOX_LESS
  298. bool "less"
  299. depends on !ADK_PACKAGE_LESS
  300. default y
  301. help
  302. 'less' is a pager, meaning that it displays text files. It possesses
  303. a wide array of features, and is an improvement over 'more'.
  304. config BUSYBOX_FEATURE_LESS_MAXLINES
  305. int "Max number of input lines less will try to eat"
  306. default 9999999
  307. depends on BUSYBOX_LESS
  308. config BUSYBOX_FEATURE_LESS_BRACKETS
  309. bool "Enable bracket searching"
  310. default y
  311. depends on BUSYBOX_LESS
  312. help
  313. This option adds the capability to search for matching left and right
  314. brackets, facilitating programming.
  315. config BUSYBOX_FEATURE_LESS_FLAGS
  316. bool "Enable extra flags"
  317. default y
  318. depends on BUSYBOX_LESS
  319. help
  320. The extra flags provided do the following:
  321. The -M flag enables a more sophisticated status line.
  322. The -m flag enables a simpler status line with a percentage.
  323. config BUSYBOX_FEATURE_LESS_MARKS
  324. bool "Enable marks"
  325. default n
  326. depends on BUSYBOX_LESS
  327. help
  328. Marks enable positions in a file to be stored for easy reference.
  329. config BUSYBOX_FEATURE_LESS_REGEXP
  330. bool "Enable regular expressions"
  331. default n
  332. depends on BUSYBOX_LESS
  333. help
  334. Enable regular expressions, allowing complex file searches.
  335. config BUSYBOX_FEATURE_LESS_WINCH
  336. bool "Enable automatic resizing on window size changes"
  337. default n
  338. depends on BUSYBOX_LESS
  339. help
  340. Makes less track window size changes.
  341. config BUSYBOX_FEATURE_LESS_DASHCMD
  342. bool "Enable flag changes ('-' command)"
  343. default n
  344. depends on BUSYBOX_LESS
  345. help
  346. This enables the ability to change command-line flags within
  347. less itself ('-' keyboard command).
  348. config BUSYBOX_FEATURE_LESS_LINENUMS
  349. bool "Enable dynamic switching of line numbers"
  350. default n
  351. depends on BUSYBOX_FEATURE_LESS_DASHCMD
  352. help
  353. Enable "-N" command.
  354. config BUSYBOX_HDPARM
  355. bool "hdparm"
  356. depends on !ADK_PACKAGE_HDPARM
  357. default n
  358. help
  359. Get/Set hard drive parameters. Primarily intended for ATA
  360. drives. Adds about 13k (or around 30k if you enable the
  361. FEATURE_HDPARM_GET_IDENTITY option)....
  362. config BUSYBOX_FEATURE_HDPARM_GET_IDENTITY
  363. bool "Support obtaining detailed information directly from drives"
  364. default y
  365. depends on BUSYBOX_HDPARM
  366. help
  367. Enables the -I and -i options to obtain detailed information
  368. directly from drives about their capabilities and supported ATA
  369. feature set. If no device name is specified, hdparm will read
  370. identify data from stdin. Enabling this option will add about 16k...
  371. config BUSYBOX_FEATURE_HDPARM_HDIO_SCAN_HWIF
  372. bool "Register an IDE interface (DANGEROUS)"
  373. default n
  374. depends on BUSYBOX_HDPARM
  375. help
  376. Enables the 'hdparm -R' option to register an IDE interface.
  377. This is dangerous stuff, so you should probably say N.
  378. config BUSYBOX_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  379. bool "Un-register an IDE interface (DANGEROUS)"
  380. default n
  381. depends on BUSYBOX_HDPARM
  382. help
  383. Enables the 'hdparm -U' option to un-register an IDE interface.
  384. This is dangerous stuff, so you should probably say N.
  385. config BUSYBOX_FEATURE_HDPARM_HDIO_DRIVE_RESET
  386. bool "Perform device reset (DANGEROUS)"
  387. default n
  388. depends on BUSYBOX_HDPARM
  389. help
  390. Enables the 'hdparm -w' option to perform a device reset.
  391. This is dangerous stuff, so you should probably say N.
  392. config BUSYBOX_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  393. bool "Tristate device for hotswap (DANGEROUS)"
  394. default n
  395. depends on BUSYBOX_HDPARM
  396. help
  397. Enables the 'hdparm -x' option to tristate device for hotswap,
  398. and the '-b' option to get/set bus state. This is dangerous
  399. stuff, so you should probably say N.
  400. config BUSYBOX_FEATURE_HDPARM_HDIO_GETSET_DMA
  401. bool "Get/set using_dma flag"
  402. default n
  403. depends on BUSYBOX_HDPARM
  404. help
  405. Enables the 'hdparm -d' option to get/set using_dma flag.
  406. config BUSYBOX_MAKEDEVS
  407. bool "makedevs"
  408. default n
  409. help
  410. 'makedevs' is a utility used to create a batch of devices with
  411. one command.
  412. .
  413. There are two choices for command line behaviour, the interface
  414. as used by LEAF/Linux Router Project, or a device table file.
  415. .
  416. 'leaf' is traditionally what busybox follows, it allows multiple
  417. devices of a particluar type to be created per command.
  418. e.g. /dev/hda[0-9]
  419. Device properties are passed as command line arguments.
  420. .
  421. 'table' reads device properties from a file or stdin, allowing
  422. a batch of unrelated devices to be made with one command.
  423. User/group names are allowed as an alternative to uid/gid.
  424. choice
  425. prompt "Choose makedevs behaviour"
  426. depends on BUSYBOX_MAKEDEVS
  427. default FEATURE_MAKEDEVS_TABLE
  428. config BUSYBOX_FEATURE_MAKEDEVS_LEAF
  429. bool "leaf"
  430. config BUSYBOX_FEATURE_MAKEDEVS_TABLE
  431. bool "table"
  432. endchoice
  433. config BUSYBOX_MAN
  434. bool "man"
  435. default n
  436. help
  437. Format and display manual pages.
  438. config BUSYBOX_MICROCOM
  439. bool "microcom"
  440. default n
  441. help
  442. The poor man's minicom utility for chatting with serial port devices.
  443. config BUSYBOX_MOUNTPOINT
  444. bool "mountpoint"
  445. default n
  446. help
  447. mountpoint checks if the directory is a mountpoint.
  448. config BUSYBOX_MT
  449. bool "mt"
  450. default n
  451. help
  452. mt is used to control tape devices. You can use the mt utility
  453. to advance or rewind a tape past a specified number of archive
  454. files on the tape.
  455. config BUSYBOX_RAIDAUTORUN
  456. bool "raidautorun"
  457. default n
  458. help
  459. raidautorun tells the kernel md driver to
  460. search and start RAID arrays.
  461. config BUSYBOX_READAHEAD
  462. bool "readahead"
  463. default n
  464. depends on BUSYBOX_LFS
  465. help
  466. Preload the files listed on the command line into RAM cache so that
  467. subsequent reads on these files will not block on disk I/O.
  468. This applet just calls the readahead(2) system call on each file.
  469. It is mainly useful in system startup scripts to preload files
  470. or executables before they are used. When used at the right time
  471. (in particular when a CPU bound process is running) it can
  472. significantly speed up system startup.
  473. As readahead(2) blocks until each file has been read, it is best to
  474. run this applet as a background job.
  475. config BUSYBOX_RUNLEVEL
  476. bool "runlevel"
  477. default n
  478. help
  479. find the current and previous system runlevel.
  480. This applet uses utmp but does not rely on busybox supporing
  481. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  482. config BUSYBOX_RX
  483. bool "rx"
  484. default n
  485. help
  486. Receive files using the Xmodem protocol.
  487. config BUSYBOX_SETSID
  488. bool "setsid"
  489. default n
  490. help
  491. setsid runs a program in a new session
  492. config BUSYBOX_STRINGS
  493. bool "strings"
  494. default n
  495. help
  496. strings prints the printable character sequences for each file
  497. specified.
  498. config BUSYBOX_TASKSET
  499. bool "taskset"
  500. default n
  501. help
  502. Retrieve or set a processes's CPU affinity.
  503. This requires sched_{g,s}etaffinity support in your libc.
  504. config BUSYBOX_FEATURE_TASKSET_FANCY
  505. bool "Fancy output"
  506. default y
  507. depends on BUSYBOX_TASKSET
  508. help
  509. Add code for fancy output. This merely silences a compiler-warning
  510. and adds about 135 Bytes. May be needed for machines with alot
  511. of CPUs.
  512. config BUSYBOX_TIME
  513. bool "time"
  514. default y
  515. help
  516. The time command runs the specified program with the given arguments.
  517. When the command finishes, time writes a message to standard output
  518. giving timing statistics about this program run.
  519. config BUSYBOX_TIMEOUT
  520. bool "timeout"
  521. default n
  522. help
  523. Runs a program and watches it. If it does not terminate in
  524. specified number of seconds, it is sent a signal.
  525. config BUSYBOX_TTYSIZE
  526. bool "ttysize"
  527. default n
  528. help
  529. A replacement for "stty size". Unlike stty, can report only width,
  530. only height, or both, in any order. It also does not complain on
  531. error, but returns default 80x24.
  532. Usage in shell scripts: width=`ttysize w`.
  533. config BUSYBOX_VOLNAME
  534. bool "volname"
  535. default n
  536. help
  537. Prints a CD-ROM volume name.
  538. config BUSYBOX_WALL
  539. bool "wall"
  540. default n
  541. help
  542. Write a message to all users that are logged in.
  543. config BUSYBOX_WATCHDOG
  544. bool "watchdog"
  545. depends on !ADK_PACKAGE_WATCHDOG
  546. default y
  547. help
  548. The watchdog utility is used with hardware or software watchdog
  549. device drivers. It opens the specified watchdog device special file
  550. and periodically writes a magic character to the device. If the
  551. watchdog applet ever fails to write the magic character within a
  552. certain amount of time, the watchdog device assumes the system has
  553. hung, and will cause the hardware to reboot.
  554. endmenu