Config.src 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  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. INSERT
  7. config ADJTIMEX
  8. bool "adjtimex"
  9. default y
  10. select PLATFORM_LINUX
  11. help
  12. Adjtimex reads and optionally sets adjustment parameters for
  13. the Linux clock adjustment algorithm.
  14. config BBCONFIG
  15. bool "bbconfig"
  16. default n
  17. help
  18. The bbconfig applet will print the config file with which
  19. busybox was built.
  20. config FEATURE_COMPRESS_BBCONFIG
  21. bool "Compress bbconfig data"
  22. default y
  23. depends on BBCONFIG
  24. help
  25. Store bbconfig data in compressed form, uncompress them on-the-fly
  26. before output.
  27. If you have a really tiny busybox with few applets enabled (and
  28. bunzip2 isn't one of them), the overhead of the decompressor might
  29. be noticeable. Also, if you run executables directly from ROM
  30. and have very little memory, this might not be a win. Otherwise,
  31. you probably want this.
  32. config BEEP
  33. bool "beep"
  34. default y
  35. select PLATFORM_LINUX
  36. help
  37. The beep applets beeps in a given freq/Hz.
  38. config FEATURE_BEEP_FREQ
  39. int "default frequency"
  40. range 0 2147483647
  41. default 4000
  42. depends on BEEP
  43. help
  44. Frequency for default beep.
  45. config FEATURE_BEEP_LENGTH_MS
  46. int "default length"
  47. range 0 2147483647
  48. default 30
  49. depends on BEEP
  50. help
  51. Length in ms for default beep.
  52. config CHAT
  53. bool "chat"
  54. default y
  55. help
  56. Simple chat utility.
  57. config FEATURE_CHAT_NOFAIL
  58. bool "Enable NOFAIL expect strings"
  59. depends on CHAT
  60. default y
  61. help
  62. When enabled expect strings which are started with a dash trigger
  63. no-fail mode. That is when expectation is not met within timeout
  64. the script is not terminated but sends next SEND string and waits
  65. for next EXPECT string. This allows to compose far more flexible
  66. scripts.
  67. config FEATURE_CHAT_TTY_HIFI
  68. bool "Force STDIN to be a TTY"
  69. depends on CHAT
  70. default n
  71. help
  72. Original chat always treats STDIN as a TTY device and sets for it
  73. so-called raw mode. This option turns on such behaviour.
  74. config FEATURE_CHAT_IMPLICIT_CR
  75. bool "Enable implicit Carriage Return"
  76. depends on CHAT
  77. default y
  78. help
  79. When enabled make chat to terminate all SEND strings with a "\r"
  80. unless "\c" is met anywhere in the string.
  81. config FEATURE_CHAT_SWALLOW_OPTS
  82. bool "Swallow options"
  83. depends on CHAT
  84. default y
  85. help
  86. Busybox chat require no options. To make it not fail when used
  87. in place of original chat (which has a bunch of options) turn
  88. this on.
  89. config FEATURE_CHAT_SEND_ESCAPES
  90. bool "Support weird SEND escapes"
  91. depends on CHAT
  92. default y
  93. help
  94. Original chat uses some escape sequences in SEND arguments which
  95. are not sent to device but rather performs special actions.
  96. E.g. "\K" means to send a break sequence to device.
  97. "\d" delays execution for a second, "\p" -- for a 1/100 of second.
  98. Before turning this option on think twice: do you really need them?
  99. config FEATURE_CHAT_VAR_ABORT_LEN
  100. bool "Support variable-length ABORT conditions"
  101. depends on CHAT
  102. default y
  103. help
  104. Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
  105. config FEATURE_CHAT_CLR_ABORT
  106. bool "Support revoking of ABORT conditions"
  107. depends on CHAT
  108. default y
  109. help
  110. Support CLR_ABORT directive.
  111. config CHRT
  112. bool "chrt"
  113. default y
  114. help
  115. manipulate real-time attributes of a process.
  116. This requires sched_{g,s}etparam support in your libc.
  117. config CRONTAB
  118. bool "crontab"
  119. default y
  120. help
  121. Crontab manipulates the crontab for a particular user. Only
  122. the superuser may specify a different user and/or crontab directory.
  123. Note that Busybox binary must be setuid root for this applet to
  124. work properly.
  125. config DC
  126. bool "dc"
  127. default y
  128. help
  129. Dc is a reverse-polish desk calculator which supports unlimited
  130. precision arithmetic.
  131. config FEATURE_DC_LIBM
  132. bool "Enable power and exp functions (requires libm)"
  133. default y
  134. depends on DC
  135. help
  136. Enable power and exp functions.
  137. NOTE: This will require libm to be present for linking.
  138. config DEVFSD
  139. bool "devfsd (obsolete)"
  140. default n
  141. select PLATFORM_LINUX
  142. select FEATURE_SYSLOG
  143. help
  144. This is deprecated and should NOT be used anymore.
  145. Use linux >= 2.6 (optionally with hotplug) and mdev instead!
  146. See docs/mdev.txt for detailed instructions on how to use mdev
  147. instead.
  148. Provides compatibility with old device names on a devfs systems.
  149. You should set it to true if you have devfs enabled.
  150. The following keywords in devsfd.conf are supported:
  151. "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
  152. "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
  153. "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
  154. But only if they are written UPPERCASE!!!!!!!!
  155. config DEVFSD_MODLOAD
  156. bool "Adds support for MODLOAD keyword in devsfd.conf"
  157. default y
  158. depends on DEVFSD
  159. help
  160. This actually doesn't work with busybox modutils but needs
  161. the external modutils.
  162. config DEVFSD_FG_NP
  163. bool "Enables the -fg and -np options"
  164. default y
  165. depends on DEVFSD
  166. help
  167. -fg Run the daemon in the foreground.
  168. -np Exit after parsing the configuration file.
  169. Do not poll for events.
  170. config DEVFSD_VERBOSE
  171. bool "Increases logging (and size)"
  172. default y
  173. depends on DEVFSD
  174. help
  175. Increases logging to stderr or syslog.
  176. config FEATURE_DEVFS
  177. bool "Use devfs names for all devices (obsolete)"
  178. default n
  179. select PLATFORM_LINUX
  180. help
  181. This is obsolete and should NOT be used anymore.
  182. Use linux >= 2.6 (optionally with hotplug) and mdev instead!
  183. For legacy systems -- if there is no way around devfsd -- this
  184. tells busybox to look for names like /dev/loop/0 instead of
  185. /dev/loop0. If your /dev directory has normal names instead of
  186. devfs names, you don't want this.
  187. config DEVMEM
  188. bool "devmem"
  189. default y
  190. help
  191. devmem is a small program that reads and writes from physical
  192. memory using /dev/mem.
  193. config EJECT
  194. bool "eject"
  195. default y
  196. select PLATFORM_LINUX
  197. help
  198. Used to eject cdroms. (defaults to /dev/cdrom)
  199. config FEATURE_EJECT_SCSI
  200. bool "SCSI support"
  201. default y
  202. depends on EJECT
  203. help
  204. Add the -s option to eject, this allows to eject SCSI-Devices and
  205. usb-storage devices.
  206. config FBSPLASH
  207. bool "fbsplash"
  208. default y
  209. select PLATFORM_LINUX
  210. help
  211. Shows splash image and progress bar on framebuffer device.
  212. Can be used during boot phase of an embedded device. ~2kb.
  213. Usage:
  214. - use kernel option 'vga=xxx' or otherwise enable fb device.
  215. - put somewhere fbsplash.cfg file and an image in .ppm format.
  216. - $ setsid fbsplash [params] &
  217. -c: hide cursor
  218. -d /dev/fbN: framebuffer device (if not /dev/fb0)
  219. -s path_to_image_file (can be "-" for stdin)
  220. -i path_to_cfg_file (can be "-" for stdin)
  221. -f path_to_fifo (can be "-" for stdin)
  222. - if you want to run it only in presence of kernel parameter:
  223. grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
  224. - commands for fifo:
  225. "NN" (ASCII decimal number) - percentage to show on progress bar
  226. "exit" - well you guessed it
  227. config FLASHCP
  228. bool "flashcp"
  229. default n # doesn't build on Ubuntu 8.04
  230. help
  231. The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
  232. This utility is used to copy images into a MTD device.
  233. config FLASH_LOCK
  234. bool "flash_lock"
  235. default n # doesn't build on Ubuntu 8.04
  236. help
  237. The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
  238. utility locks part or all of the flash device.
  239. config FLASH_UNLOCK
  240. bool "flash_unlock"
  241. default n # doesn't build on Ubuntu 8.04
  242. help
  243. The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
  244. utility unlocks part or all of the flash device.
  245. config FLASH_ERASEALL
  246. bool "flash_eraseall"
  247. default n # doesn't build on Ubuntu 8.04
  248. help
  249. The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
  250. This utility is used to erase the whole MTD device.
  251. config IONICE
  252. bool "ionice"
  253. default y
  254. select PLATFORM_LINUX
  255. help
  256. Set/set program io scheduling class and priority
  257. Requires kernel >= 2.6.13
  258. config INOTIFYD
  259. bool "inotifyd"
  260. default n # doesn't build on Knoppix 5
  261. help
  262. Simple inotify daemon. Reports filesystem changes. Requires
  263. kernel >= 2.6.13
  264. config LAST
  265. bool "last"
  266. default y
  267. depends on FEATURE_WTMP
  268. help
  269. 'last' displays a list of the last users that logged into the system.
  270. config FEATURE_LAST_FANCY
  271. bool "Turn on output of extra information"
  272. default y
  273. depends on LAST
  274. help
  275. 'last' displays detailed information about the last users that
  276. logged into the system (mimics sysvinit last). +900 bytes.
  277. config HDPARM
  278. bool "hdparm"
  279. default y
  280. select PLATFORM_LINUX
  281. help
  282. Get/Set hard drive parameters. Primarily intended for ATA
  283. drives. Adds about 13k (or around 30k if you enable the
  284. FEATURE_HDPARM_GET_IDENTITY option)....
  285. config FEATURE_HDPARM_GET_IDENTITY
  286. bool "Support obtaining detailed information directly from drives"
  287. default y
  288. depends on HDPARM
  289. help
  290. Enables the -I and -i options to obtain detailed information
  291. directly from drives about their capabilities and supported ATA
  292. feature set. If no device name is specified, hdparm will read
  293. identify data from stdin. Enabling this option will add about 16k...
  294. config FEATURE_HDPARM_HDIO_SCAN_HWIF
  295. bool "Register an IDE interface (DANGEROUS)"
  296. default y
  297. depends on HDPARM
  298. help
  299. Enables the 'hdparm -R' option to register an IDE interface.
  300. This is dangerous stuff, so you should probably say N.
  301. config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  302. bool "Un-register an IDE interface (DANGEROUS)"
  303. default y
  304. depends on HDPARM
  305. help
  306. Enables the 'hdparm -U' option to un-register an IDE interface.
  307. This is dangerous stuff, so you should probably say N.
  308. config FEATURE_HDPARM_HDIO_DRIVE_RESET
  309. bool "Perform device reset (DANGEROUS)"
  310. default y
  311. depends on HDPARM
  312. help
  313. Enables the 'hdparm -w' option to perform a device reset.
  314. This is dangerous stuff, so you should probably say N.
  315. config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  316. bool "Tristate device for hotswap (DANGEROUS)"
  317. default y
  318. depends on HDPARM
  319. help
  320. Enables the 'hdparm -x' option to tristate device for hotswap,
  321. and the '-b' option to get/set bus state. This is dangerous
  322. stuff, so you should probably say N.
  323. config FEATURE_HDPARM_HDIO_GETSET_DMA
  324. bool "Get/set using_dma flag"
  325. default y
  326. depends on HDPARM
  327. help
  328. Enables the 'hdparm -d' option to get/set using_dma flag.
  329. config MAKEDEVS
  330. bool "makedevs"
  331. default y
  332. help
  333. 'makedevs' is a utility used to create a batch of devices with
  334. one command.
  335. There are two choices for command line behaviour, the interface
  336. as used by LEAF/Linux Router Project, or a device table file.
  337. 'leaf' is traditionally what busybox follows, it allows multiple
  338. devices of a particluar type to be created per command.
  339. e.g. /dev/hda[0-9]
  340. Device properties are passed as command line arguments.
  341. 'table' reads device properties from a file or stdin, allowing
  342. a batch of unrelated devices to be made with one command.
  343. User/group names are allowed as an alternative to uid/gid.
  344. choice
  345. prompt "Choose makedevs behaviour"
  346. depends on MAKEDEVS
  347. default FEATURE_MAKEDEVS_TABLE
  348. config FEATURE_MAKEDEVS_LEAF
  349. bool "leaf"
  350. config FEATURE_MAKEDEVS_TABLE
  351. bool "table"
  352. endchoice
  353. config MAN
  354. bool "man"
  355. default y
  356. help
  357. Format and display manual pages.
  358. config MICROCOM
  359. bool "microcom"
  360. default y
  361. help
  362. The poor man's minicom utility for chatting with serial port devices.
  363. config MOUNTPOINT
  364. bool "mountpoint"
  365. default y
  366. help
  367. mountpoint checks if the directory is a mountpoint.
  368. config MT
  369. bool "mt"
  370. default y
  371. help
  372. mt is used to control tape devices. You can use the mt utility
  373. to advance or rewind a tape past a specified number of archive
  374. files on the tape.
  375. config RAIDAUTORUN
  376. bool "raidautorun"
  377. default y
  378. select PLATFORM_LINUX
  379. help
  380. raidautorun tells the kernel md driver to
  381. search and start RAID arrays.
  382. config READAHEAD
  383. bool "readahead"
  384. default y
  385. depends on LFS
  386. select PLATFORM_LINUX
  387. help
  388. Preload the files listed on the command line into RAM cache so that
  389. subsequent reads on these files will not block on disk I/O.
  390. This applet just calls the readahead(2) system call on each file.
  391. It is mainly useful in system startup scripts to preload files
  392. or executables before they are used. When used at the right time
  393. (in particular when a CPU bound process is running) it can
  394. significantly speed up system startup.
  395. As readahead(2) blocks until each file has been read, it is best to
  396. run this applet as a background job.
  397. config RUNLEVEL
  398. bool "runlevel"
  399. default y
  400. depends on FEATURE_UTMP
  401. help
  402. find the current and previous system runlevel.
  403. This applet uses utmp but does not rely on busybox supporing
  404. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  405. config RX
  406. bool "rx"
  407. default y
  408. select PLATFORM_LINUX
  409. help
  410. Receive files using the Xmodem protocol.
  411. config SETSID
  412. bool "setsid"
  413. default y
  414. help
  415. setsid runs a program in a new session
  416. config STRINGS
  417. bool "strings"
  418. default y
  419. help
  420. strings prints the printable character sequences for each file
  421. specified.
  422. config TIME
  423. bool "time"
  424. default y
  425. help
  426. The time command runs the specified program with the given arguments.
  427. When the command finishes, time writes a message to standard output
  428. giving timing statistics about this program run.
  429. config TIMEOUT
  430. bool "timeout"
  431. default y
  432. help
  433. Runs a program and watches it. If it does not terminate in
  434. specified number of seconds, it is sent a signal.
  435. config TTYSIZE
  436. bool "ttysize"
  437. default y
  438. help
  439. A replacement for "stty size". Unlike stty, can report only width,
  440. only height, or both, in any order. It also does not complain on
  441. error, but returns default 80x24.
  442. Usage in shell scripts: width=`ttysize w`.
  443. config VOLNAME
  444. bool "volname"
  445. default y
  446. help
  447. Prints a CD-ROM volume name.
  448. config WATCHDOG
  449. bool "watchdog"
  450. default y
  451. select PLATFORM_LINUX
  452. help
  453. The watchdog utility is used with hardware or software watchdog
  454. device drivers. It opens the specified watchdog device special file
  455. and periodically writes a magic character to the device. If the
  456. watchdog applet ever fails to write the magic character within a
  457. certain amount of time, the watchdog device assumes the system has
  458. hung, and will cause the hardware to reboot.
  459. endmenu