Config.in 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  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 CHAT
  19. bool "chat"
  20. default n
  21. help
  22. Simple chat utility.
  23. config FEATURE_CHAT_NOFAIL
  24. bool "Enable NOFAIL expect strings"
  25. depends on CHAT
  26. default y
  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 FEATURE_CHAT_TTY_HIFI
  34. bool "Force STDIN to be a TTY"
  35. depends on 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 FEATURE_CHAT_IMPLICIT_CR
  41. bool "Enable implicit Carriage Return"
  42. depends on CHAT
  43. default y
  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 FEATURE_CHAT_SWALLOW_OPTS
  48. bool "Swallow options"
  49. depends on 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 FEATURE_CHAT_SEND_ESCAPES
  56. bool "Support weird SEND escapes"
  57. depends on 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 FEATURE_CHAT_VAR_ABORT_LEN
  66. bool "Support variable-length ABORT conditions"
  67. depends on CHAT
  68. default n
  69. help
  70. Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
  71. config FEATURE_CHAT_CLR_ABORT
  72. bool "Support revoking of ABORT conditions"
  73. depends on CHAT
  74. default n
  75. help
  76. Support CLR_ABORT directive.
  77. 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 CROND
  84. bool "crond"
  85. default n
  86. select FEATURE_SUID
  87. select 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 FEATURE_CROND_D
  97. bool "Support option -d to redirect output to stderr"
  98. depends on CROND
  99. default n
  100. help
  101. -d sets loglevel to 0 (most verbose) and directs all output to stderr.
  102. config FEATURE_CROND_CALL_SENDMAIL
  103. bool "Using /usr/sbin/sendmail?"
  104. default n
  105. depends on CROND
  106. help
  107. Support calling /usr/sbin/sendmail for send cmd outputs.
  108. config CRONTAB
  109. bool "crontab"
  110. default n
  111. select FEATURE_SUID
  112. help
  113. Crontab manipulates the crontab for a particular user. Only
  114. the superuser may specify a different user and/or crontab directory.
  115. Note that Busybox binary must be setuid root for this applet to
  116. work properly.
  117. config DC
  118. bool "dc"
  119. default n
  120. help
  121. Dc is a reverse-polish desk calculator which supports unlimited
  122. precision arithmetic.
  123. config FEATURE_DC_LIBM
  124. bool "Enable power and exp functions (requires libm)"
  125. default n
  126. depends on DC
  127. help
  128. Enable power and exp functions.
  129. NOTE: This will require libm to be present for linking.
  130. config DEVFSD
  131. bool "devfsd (obsolete)"
  132. default n
  133. select FEATURE_SYSLOG
  134. help
  135. This is deprecated, and will be removed at the end of 2008.
  136. Provides compatibility with old device names on a devfs systems.
  137. You should set it to true if you have devfs enabled.
  138. The following keywords in devsfd.conf are supported:
  139. "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
  140. "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
  141. "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
  142. But only if they are written UPPERCASE!!!!!!!!
  143. config DEVFSD_MODLOAD
  144. bool "Adds support for MODLOAD keyword in devsfd.conf"
  145. default n
  146. depends on DEVFSD
  147. help
  148. This actually doesn't work with busybox modutils but needs
  149. the external modutils.
  150. config DEVFSD_FG_NP
  151. bool "Enables the -fg and -np options"
  152. default n
  153. depends on DEVFSD
  154. help
  155. -fg Run the daemon in the foreground.
  156. -np Exit after parsing the configuration file.
  157. Do not poll for events.
  158. config DEVFSD_VERBOSE
  159. bool "Increases logging (and size)"
  160. default n
  161. depends on DEVFSD
  162. help
  163. Increases logging to stderr or syslog.
  164. config FEATURE_DEVFS
  165. bool "Use devfs names for all devices (obsolete)"
  166. default n
  167. help
  168. This is obsolete and will be going away at the end of 2008..
  169. This tells busybox to look for names like /dev/loop/0 instead of
  170. /dev/loop0. If your /dev directory has normal names instead of
  171. devfs names, you don't want this.
  172. config DEVMEM
  173. bool "devmem"
  174. default n
  175. help
  176. devmem is a small program that reads and writes from physical
  177. memory using /dev/mem.
  178. config EJECT
  179. bool "eject"
  180. default n
  181. help
  182. Used to eject cdroms. (defaults to /dev/cdrom)
  183. config FEATURE_EJECT_SCSI
  184. bool "SCSI support"
  185. default n
  186. depends on EJECT
  187. help
  188. Add the -s option to eject, this allows to eject SCSI-Devices and
  189. usb-storage devices.
  190. config FBSPLASH
  191. bool "fbsplash"
  192. default n
  193. help
  194. Shows splash image and progress bar on framebuffer device.
  195. Can be used during boot phase of an embedded device. ~2kb.
  196. Usage:
  197. - use kernel option 'vga=xxx' or otherwise enable fb device.
  198. - put somewhere fbsplash.cfg file and an image in .ppm format.
  199. - $ setsid fbsplash [params] &
  200. -c: hide cursor
  201. -d /dev/fbN: framebuffer device (if not /dev/fb0)
  202. -s path_to_image_file (can be "-" for stdin)
  203. -i path_to_cfg_file (can be "-" for stdin)
  204. -f path_to_fifo (can be "-" for stdin)
  205. - if you want to run it only in presence of kernel parameter:
  206. grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
  207. - commands for fifo:
  208. "NN" (ASCII decimal number) - percentage to show on progress bar
  209. "exit" - well you guessed it
  210. config INOTIFYD
  211. bool "inotifyd"
  212. default n
  213. help
  214. Simple inotify daemon. Reports filesystem changes. Requires
  215. kernel >= 2.6.13
  216. config LAST
  217. bool "last"
  218. default n
  219. select FEATURE_WTMP
  220. help
  221. 'last' displays a list of the last users that logged into the system.
  222. choice
  223. prompt "Choose last implementation"
  224. depends on LAST
  225. default FEATURE_LAST_SMALL
  226. config FEATURE_LAST_SMALL
  227. bool "small"
  228. help
  229. This is a small version of last with just the basic set of
  230. features.
  231. config FEATURE_LAST_FANCY
  232. bool "huge"
  233. help
  234. 'last' displays detailed information about the last users that
  235. logged into the system (mimics sysvinit last). +900 bytes.
  236. endchoice
  237. config LESS
  238. bool "less"
  239. default n
  240. help
  241. 'less' is a pager, meaning that it displays text files. It possesses
  242. a wide array of features, and is an improvement over 'more'.
  243. config FEATURE_LESS_MAXLINES
  244. int "Max number of input lines less will try to eat"
  245. default 9999999
  246. depends on LESS
  247. config FEATURE_LESS_BRACKETS
  248. bool "Enable bracket searching"
  249. default y
  250. depends on LESS
  251. help
  252. This option adds the capability to search for matching left and right
  253. brackets, facilitating programming.
  254. config FEATURE_LESS_FLAGS
  255. bool "Enable extra flags"
  256. default y
  257. depends on LESS
  258. help
  259. The extra flags provided do the following:
  260. The -M flag enables a more sophisticated status line.
  261. The -m flag enables a simpler status line with a percentage.
  262. config FEATURE_LESS_DASHCMD
  263. bool "Enable flag changes ('-' command)"
  264. default n
  265. depends on LESS
  266. help
  267. This enables the ability to change command-line flags within
  268. less itself ('-' keyboard command).
  269. config FEATURE_LESS_MARKS
  270. bool "Enable marks"
  271. default n
  272. depends on LESS
  273. help
  274. Marks enable positions in a file to be stored for easy reference.
  275. config FEATURE_LESS_REGEXP
  276. bool "Enable regular expressions"
  277. default n
  278. depends on LESS
  279. help
  280. Enable regular expressions, allowing complex file searches.
  281. config FEATURE_LESS_LINENUMS
  282. bool "Enable dynamic switching of line numbers"
  283. default n
  284. depends on FEATURE_LESS_DASHCMD
  285. help
  286. Enable "-N" command.
  287. config FEATURE_LESS_WINCH
  288. bool "Enable automatic resizing on window size changes"
  289. default n
  290. depends on LESS
  291. help
  292. Makes less track window size changes.
  293. config HDPARM
  294. bool "hdparm"
  295. default n
  296. help
  297. Get/Set hard drive parameters. Primarily intended for ATA
  298. drives. Adds about 13k (or around 30k if you enable the
  299. FEATURE_HDPARM_GET_IDENTITY option)....
  300. config FEATURE_HDPARM_GET_IDENTITY
  301. bool "Support obtaining detailed information directly from drives"
  302. default y
  303. depends on HDPARM
  304. help
  305. Enables the -I and -i options to obtain detailed information
  306. directly from drives about their capabilities and supported ATA
  307. feature set. If no device name is specified, hdparm will read
  308. identify data from stdin. Enabling this option will add about 16k...
  309. config FEATURE_HDPARM_HDIO_SCAN_HWIF
  310. bool "Register an IDE interface (DANGEROUS)"
  311. default n
  312. depends on HDPARM
  313. help
  314. Enables the 'hdparm -R' option to register an IDE interface.
  315. This is dangerous stuff, so you should probably say N.
  316. config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  317. bool "Un-register an IDE interface (DANGEROUS)"
  318. default n
  319. depends on HDPARM
  320. help
  321. Enables the 'hdparm -U' option to un-register an IDE interface.
  322. This is dangerous stuff, so you should probably say N.
  323. config FEATURE_HDPARM_HDIO_DRIVE_RESET
  324. bool "Perform device reset (DANGEROUS)"
  325. default n
  326. depends on HDPARM
  327. help
  328. Enables the 'hdparm -w' option to perform a device reset.
  329. This is dangerous stuff, so you should probably say N.
  330. config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  331. bool "Tristate device for hotswap (DANGEROUS)"
  332. default n
  333. depends on HDPARM
  334. help
  335. Enables the 'hdparm -x' option to tristate device for hotswap,
  336. and the '-b' option to get/set bus state. This is dangerous
  337. stuff, so you should probably say N.
  338. config FEATURE_HDPARM_HDIO_GETSET_DMA
  339. bool "Get/set using_dma flag (DANGEROUS)"
  340. default n
  341. depends on HDPARM
  342. help
  343. Enables the 'hdparm -d' option to get/set using_dma flag.
  344. This is dangerous stuff, so you should probably say N.
  345. config MAKEDEVS
  346. bool "makedevs"
  347. default n
  348. help
  349. 'makedevs' is a utility used to create a batch of devices with
  350. one command.
  351. .
  352. There are two choices for command line behaviour, the interface
  353. as used by LEAF/Linux Router Project, or a device table file.
  354. .
  355. 'leaf' is traditionally what busybox follows, it allows multiple
  356. devices of a particluar type to be created per command.
  357. e.g. /dev/hda[0-9]
  358. Device properties are passed as command line arguments.
  359. .
  360. 'table' reads device properties from a file or stdin, allowing
  361. a batch of unrelated devices to be made with one command.
  362. User/group names are allowed as an alternative to uid/gid.
  363. choice
  364. prompt "Choose makedevs behaviour"
  365. depends on MAKEDEVS
  366. default FEATURE_MAKEDEVS_TABLE
  367. config FEATURE_MAKEDEVS_LEAF
  368. bool "leaf"
  369. config FEATURE_MAKEDEVS_TABLE
  370. bool "table"
  371. endchoice
  372. config MAN
  373. bool "man"
  374. default n
  375. help
  376. Format and display manual pages.
  377. config MICROCOM
  378. bool "microcom"
  379. default n
  380. help
  381. The poor man's minicom utility for chatting with serial port devices.
  382. config MOUNTPOINT
  383. bool "mountpoint"
  384. default n
  385. help
  386. mountpoint checks if the directory is a mountpoint.
  387. config MT
  388. bool "mt"
  389. default n
  390. help
  391. mt is used to control tape devices. You can use the mt utility
  392. to advance or rewind a tape past a specified number of archive
  393. files on the tape.
  394. config RAIDAUTORUN
  395. bool "raidautorun"
  396. default n
  397. help
  398. raidautorun tells the kernel md driver to
  399. search and start RAID arrays.
  400. config READAHEAD
  401. bool "readahead"
  402. default n
  403. depends on LFS
  404. help
  405. Preload the files listed on the command line into RAM cache so that
  406. subsequent reads on these files will not block on disk I/O.
  407. This applet just calls the readahead(2) system call on each file.
  408. It is mainly useful in system startup scripts to preload files
  409. or executables before they are used. When used at the right time
  410. (in particular when a CPU bound process is running) it can
  411. significantly speed up system startup.
  412. As readahead(2) blocks until each file has been read, it is best to
  413. run this applet as a background job.
  414. config RUNLEVEL
  415. bool "runlevel"
  416. default n
  417. help
  418. find the current and previous system runlevel.
  419. This applet uses utmp but does not rely on busybox supporing
  420. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  421. config RX
  422. bool "rx"
  423. default n
  424. help
  425. Receive files using the Xmodem protocol.
  426. config SETSID
  427. bool "setsid"
  428. default n
  429. help
  430. setsid runs a program in a new session
  431. config STRINGS
  432. bool "strings"
  433. default n
  434. help
  435. strings prints the printable character sequences for each file
  436. specified.
  437. config TASKSET
  438. bool "taskset"
  439. default n
  440. help
  441. Retrieve or set a processes's CPU affinity.
  442. This requires sched_{g,s}etaffinity support in your libc.
  443. config FEATURE_TASKSET_FANCY
  444. bool "Fancy output"
  445. default y
  446. depends on TASKSET
  447. help
  448. Add code for fancy output. This merely silences a compiler-warning
  449. and adds about 135 Bytes. May be needed for machines with alot
  450. of CPUs.
  451. config TIME
  452. bool "time"
  453. default n
  454. help
  455. The time command runs the specified program with the given arguments.
  456. When the command finishes, time writes a message to standard output
  457. giving timing statistics about this program run.
  458. config TTYSIZE
  459. bool "ttysize"
  460. default n
  461. help
  462. A replacement for "stty size". Unlike stty, can report only width,
  463. only height, or both, in any order. It also does not complain on
  464. error, but returns default 80x24.
  465. Usage in shell scripts: width=`ttysize w`.
  466. config WATCHDOG
  467. bool "watchdog"
  468. default n
  469. help
  470. The watchdog utility is used with hardware or software watchdog
  471. device drivers. It opens the specified watchdog device special file
  472. and periodically writes a magic character to the device. If the
  473. watchdog applet ever fails to write the magic character within a
  474. certain amount of time, the watchdog device assumes the system has
  475. hung, and will cause the hardware to reboot.
  476. endmenu