Config.in 17 KB

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