Config.in 14 KB

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