Config.in 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  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 "Using /usr/sbin/sendmail?"
  123. default n
  124. depends on BUSYBOX_CROND
  125. help
  126. Support calling /usr/sbin/sendmail for send cmd outputs.
  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_FLASH_LOCK
  241. bool "flash_lock"
  242. default n
  243. help
  244. The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
  245. utility locks part or all of the flash device.
  246. config BUSYBOX_FLASH_UNLOCK
  247. bool "flash_unlock"
  248. default n
  249. help
  250. The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
  251. utility unlocks part or all of the flash device.
  252. config BUSYBOX_FLASH_ERASEALL
  253. bool "flash_eraseall"
  254. default n
  255. help
  256. The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
  257. This utility is used to erase the whole MTD device.
  258. config BUSYBOX_IONICE
  259. bool "ionice"
  260. default n
  261. help
  262. Set/set program io scheduling class and priority
  263. Requires kernel >= 2.6.13
  264. config BUSYBOX_INOTIFYD
  265. bool "inotifyd"
  266. default n
  267. help
  268. Simple inotify daemon. Reports filesystem changes. Requires
  269. kernel >= 2.6.13
  270. config BUSYBOX_LAST
  271. bool "last"
  272. default n
  273. select BUSYBOX_FEATURE_WTMP
  274. help
  275. 'last' displays a list of the last users that logged into the system.
  276. choice
  277. prompt "Choose last implementation"
  278. depends on BUSYBOX_LAST
  279. default FEATURE_LAST_SMALL
  280. config BUSYBOX_FEATURE_LAST_SMALL
  281. bool "small"
  282. help
  283. This is a small version of last with just the basic set of
  284. features.
  285. config BUSYBOX_FEATURE_LAST_FANCY
  286. bool "huge"
  287. help
  288. 'last' displays detailed information about the last users that
  289. logged into the system (mimics sysvinit last). +900 bytes.
  290. endchoice
  291. config BUSYBOX_LESS
  292. bool "less"
  293. default y
  294. depends on !ADK_PACKAGE_LESS
  295. help
  296. 'less' is a pager, meaning that it displays text files. It possesses
  297. a wide array of features, and is an improvement over 'more'.
  298. config BUSYBOX_FEATURE_LESS_MAXLINES
  299. int "Max number of input lines less will try to eat"
  300. default 9999999
  301. depends on BUSYBOX_LESS
  302. config BUSYBOX_FEATURE_LESS_BRACKETS
  303. bool "Enable bracket searching"
  304. default n
  305. depends on BUSYBOX_LESS
  306. help
  307. This option adds the capability to search for matching left and right
  308. brackets, facilitating programming.
  309. config BUSYBOX_FEATURE_LESS_FLAGS
  310. bool "Enable extra flags"
  311. default n
  312. depends on BUSYBOX_LESS
  313. help
  314. The extra flags provided do the following:
  315. The -M flag enables a more sophisticated status line.
  316. The -m flag enables a simpler status line with a percentage.
  317. config BUSYBOX_FEATURE_LESS_MARKS
  318. bool "Enable marks"
  319. default n
  320. depends on BUSYBOX_LESS
  321. help
  322. Marks enable positions in a file to be stored for easy reference.
  323. config BUSYBOX_FEATURE_LESS_REGEXP
  324. bool "Enable regular expressions"
  325. default n
  326. depends on BUSYBOX_LESS
  327. help
  328. Enable regular expressions, allowing complex file searches.
  329. config BUSYBOX_FEATURE_LESS_WINCH
  330. bool "Enable automatic resizing on window size changes"
  331. default n
  332. depends on BUSYBOX_LESS
  333. help
  334. Makes less track window size changes.
  335. config BUSYBOX_FEATURE_LESS_DASHCMD
  336. bool "Enable flag changes ('-' command)"
  337. default n
  338. depends on BUSYBOX_LESS
  339. help
  340. This enables the ability to change command-line flags within
  341. less itself ('-' keyboard command).
  342. config BUSYBOX_FEATURE_LESS_LINENUMS
  343. bool "Enable dynamic switching of line numbers"
  344. default n
  345. depends on BUSYBOX_FEATURE_LESS_DASHCMD
  346. help
  347. Enable "-N" command.
  348. config BUSYBOX_HDPARM
  349. bool "hdparm"
  350. depends on !ADK_PACKAGE_HDPARM
  351. default n
  352. help
  353. Get/Set hard drive parameters. Primarily intended for ATA
  354. drives. Adds about 13k (or around 30k if you enable the
  355. FEATURE_HDPARM_GET_IDENTITY option)....
  356. config BUSYBOX_FEATURE_HDPARM_GET_IDENTITY
  357. bool "Support obtaining detailed information directly from drives"
  358. default y
  359. depends on BUSYBOX_HDPARM
  360. help
  361. Enables the -I and -i options to obtain detailed information
  362. directly from drives about their capabilities and supported ATA
  363. feature set. If no device name is specified, hdparm will read
  364. identify data from stdin. Enabling this option will add about 16k...
  365. config BUSYBOX_FEATURE_HDPARM_HDIO_SCAN_HWIF
  366. bool "Register an IDE interface (DANGEROUS)"
  367. default n
  368. depends on BUSYBOX_HDPARM
  369. help
  370. Enables the 'hdparm -R' option to register an IDE interface.
  371. This is dangerous stuff, so you should probably say N.
  372. config BUSYBOX_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  373. bool "Un-register an IDE interface (DANGEROUS)"
  374. default n
  375. depends on BUSYBOX_HDPARM
  376. help
  377. Enables the 'hdparm -U' option to un-register an IDE interface.
  378. This is dangerous stuff, so you should probably say N.
  379. config BUSYBOX_FEATURE_HDPARM_HDIO_DRIVE_RESET
  380. bool "Perform device reset (DANGEROUS)"
  381. default n
  382. depends on BUSYBOX_HDPARM
  383. help
  384. Enables the 'hdparm -w' option to perform a device reset.
  385. This is dangerous stuff, so you should probably say N.
  386. config BUSYBOX_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  387. bool "Tristate device for hotswap (DANGEROUS)"
  388. default n
  389. depends on BUSYBOX_HDPARM
  390. help
  391. Enables the 'hdparm -x' option to tristate device for hotswap,
  392. and the '-b' option to get/set bus state. This is dangerous
  393. stuff, so you should probably say N.
  394. config BUSYBOX_FEATURE_HDPARM_HDIO_GETSET_DMA
  395. bool "Get/set using_dma flag"
  396. default n
  397. depends on BUSYBOX_HDPARM
  398. help
  399. Enables the 'hdparm -d' option to get/set using_dma flag.
  400. config BUSYBOX_MAKEDEVS
  401. bool "makedevs"
  402. default n
  403. help
  404. 'makedevs' is a utility used to create a batch of devices with
  405. one command.
  406. .
  407. There are two choices for command line behaviour, the interface
  408. as used by LEAF/Linux Router Project, or a device table file.
  409. .
  410. 'leaf' is traditionally what busybox follows, it allows multiple
  411. devices of a particluar type to be created per command.
  412. e.g. /dev/hda[0-9]
  413. Device properties are passed as command line arguments.
  414. .
  415. 'table' reads device properties from a file or stdin, allowing
  416. a batch of unrelated devices to be made with one command.
  417. User/group names are allowed as an alternative to uid/gid.
  418. choice
  419. prompt "Choose makedevs behaviour"
  420. depends on BUSYBOX_MAKEDEVS
  421. default FEATURE_MAKEDEVS_TABLE
  422. config BUSYBOX_FEATURE_MAKEDEVS_LEAF
  423. bool "leaf"
  424. config BUSYBOX_FEATURE_MAKEDEVS_TABLE
  425. bool "table"
  426. endchoice
  427. config BUSYBOX_MAN
  428. bool "man"
  429. default n
  430. help
  431. Format and display manual pages.
  432. config BUSYBOX_MICROCOM
  433. bool "microcom"
  434. default n
  435. help
  436. The poor man's minicom utility for chatting with serial port devices.
  437. config BUSYBOX_MOUNTPOINT
  438. bool "mountpoint"
  439. default n
  440. help
  441. mountpoint checks if the directory is a mountpoint.
  442. config BUSYBOX_MT
  443. bool "mt"
  444. default n
  445. help
  446. mt is used to control tape devices. You can use the mt utility
  447. to advance or rewind a tape past a specified number of archive
  448. files on the tape.
  449. config BUSYBOX_RAIDAUTORUN
  450. bool "raidautorun"
  451. default n
  452. help
  453. raidautorun tells the kernel md driver to
  454. search and start RAID arrays.
  455. config BUSYBOX_READAHEAD
  456. bool "readahead"
  457. default n
  458. depends on BUSYBOX_LFS
  459. help
  460. Preload the files listed on the command line into RAM cache so that
  461. subsequent reads on these files will not block on disk I/O.
  462. This applet just calls the readahead(2) system call on each file.
  463. It is mainly useful in system startup scripts to preload files
  464. or executables before they are used. When used at the right time
  465. (in particular when a CPU bound process is running) it can
  466. significantly speed up system startup.
  467. As readahead(2) blocks until each file has been read, it is best to
  468. run this applet as a background job.
  469. config BUSYBOX_RUNLEVEL
  470. bool "runlevel"
  471. default n
  472. help
  473. find the current and previous system runlevel.
  474. This applet uses utmp but does not rely on busybox supporing
  475. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  476. config BUSYBOX_RX
  477. bool "rx"
  478. default n
  479. help
  480. Receive files using the Xmodem protocol.
  481. config BUSYBOX_SETSID
  482. bool "setsid"
  483. default n
  484. help
  485. setsid runs a program in a new session
  486. config BUSYBOX_STRINGS
  487. bool "strings"
  488. default n
  489. help
  490. strings prints the printable character sequences for each file
  491. specified.
  492. config BUSYBOX_TASKSET
  493. bool "taskset"
  494. default n
  495. help
  496. Retrieve or set a processes's CPU affinity.
  497. This requires sched_{g,s}etaffinity support in your libc.
  498. config BUSYBOX_FEATURE_TASKSET_FANCY
  499. bool "Fancy output"
  500. default y
  501. depends on BUSYBOX_TASKSET
  502. help
  503. Add code for fancy output. This merely silences a compiler-warning
  504. and adds about 135 Bytes. May be needed for machines with alot
  505. of CPUs.
  506. config BUSYBOX_TIME
  507. bool "time"
  508. default y
  509. help
  510. The time command runs the specified program with the given arguments.
  511. When the command finishes, time writes a message to standard output
  512. giving timing statistics about this program run.
  513. config BUSYBOX_TIMEOUT
  514. bool "timeout"
  515. default n
  516. help
  517. Runs a program and watches it. If it does not terminate in
  518. specified number of seconds, it is sent a signal.
  519. config BUSYBOX_TTYSIZE
  520. bool "ttysize"
  521. default n
  522. help
  523. A replacement for "stty size". Unlike stty, can report only width,
  524. only height, or both, in any order. It also does not complain on
  525. error, but returns default 80x24.
  526. Usage in shell scripts: width=`ttysize w`.
  527. config BUSYBOX_VOLNAME
  528. bool "volname"
  529. default n
  530. help
  531. Prints a CD-ROM volume name.
  532. config BUSYBOX_WATCHDOG
  533. bool "watchdog"
  534. depends on !ADK_PACKAGE_WATCHDOG
  535. default y
  536. help
  537. The watchdog utility is used with hardware or software watchdog
  538. device drivers. It opens the specified watchdog device special file
  539. and periodically writes a magic character to the device. If the
  540. watchdog applet ever fails to write the magic character within a
  541. certain amount of time, the watchdog device assumes the system has
  542. hung, and will cause the hardware to reboot.
  543. endmenu