Config.src 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  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. choice
  271. prompt "Choose last implementation"
  272. depends on LAST
  273. default FEATURE_LAST_FANCY
  274. config FEATURE_LAST_SMALL
  275. bool "small"
  276. help
  277. This is a small version of last with just the basic set of
  278. features.
  279. config FEATURE_LAST_FANCY
  280. bool "huge"
  281. help
  282. 'last' displays detailed information about the last users that
  283. logged into the system (mimics sysvinit last). +900 bytes.
  284. endchoice
  285. config HDPARM
  286. bool "hdparm"
  287. default y
  288. select PLATFORM_LINUX
  289. help
  290. Get/Set hard drive parameters. Primarily intended for ATA
  291. drives. Adds about 13k (or around 30k if you enable the
  292. FEATURE_HDPARM_GET_IDENTITY option)....
  293. config FEATURE_HDPARM_GET_IDENTITY
  294. bool "Support obtaining detailed information directly from drives"
  295. default y
  296. depends on HDPARM
  297. help
  298. Enables the -I and -i options to obtain detailed information
  299. directly from drives about their capabilities and supported ATA
  300. feature set. If no device name is specified, hdparm will read
  301. identify data from stdin. Enabling this option will add about 16k...
  302. config FEATURE_HDPARM_HDIO_SCAN_HWIF
  303. bool "Register an IDE interface (DANGEROUS)"
  304. default y
  305. depends on HDPARM
  306. help
  307. Enables the 'hdparm -R' option to register an IDE interface.
  308. This is dangerous stuff, so you should probably say N.
  309. config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
  310. bool "Un-register an IDE interface (DANGEROUS)"
  311. default y
  312. depends on HDPARM
  313. help
  314. Enables the 'hdparm -U' option to un-register an IDE interface.
  315. This is dangerous stuff, so you should probably say N.
  316. config FEATURE_HDPARM_HDIO_DRIVE_RESET
  317. bool "Perform device reset (DANGEROUS)"
  318. default y
  319. depends on HDPARM
  320. help
  321. Enables the 'hdparm -w' option to perform a device reset.
  322. This is dangerous stuff, so you should probably say N.
  323. config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
  324. bool "Tristate device for hotswap (DANGEROUS)"
  325. default y
  326. depends on HDPARM
  327. help
  328. Enables the 'hdparm -x' option to tristate device for hotswap,
  329. and the '-b' option to get/set bus state. This is dangerous
  330. stuff, so you should probably say N.
  331. config FEATURE_HDPARM_HDIO_GETSET_DMA
  332. bool "Get/set using_dma flag"
  333. default y
  334. depends on HDPARM
  335. help
  336. Enables the 'hdparm -d' option to get/set using_dma flag.
  337. config MAKEDEVS
  338. bool "makedevs"
  339. default y
  340. help
  341. 'makedevs' is a utility used to create a batch of devices with
  342. one command.
  343. There are two choices for command line behaviour, the interface
  344. as used by LEAF/Linux Router Project, or a device table file.
  345. 'leaf' is traditionally what busybox follows, it allows multiple
  346. devices of a particluar type to be created per command.
  347. e.g. /dev/hda[0-9]
  348. Device properties are passed as command line arguments.
  349. 'table' reads device properties from a file or stdin, allowing
  350. a batch of unrelated devices to be made with one command.
  351. User/group names are allowed as an alternative to uid/gid.
  352. choice
  353. prompt "Choose makedevs behaviour"
  354. depends on MAKEDEVS
  355. default FEATURE_MAKEDEVS_TABLE
  356. config FEATURE_MAKEDEVS_LEAF
  357. bool "leaf"
  358. config FEATURE_MAKEDEVS_TABLE
  359. bool "table"
  360. endchoice
  361. config MAN
  362. bool "man"
  363. default y
  364. help
  365. Format and display manual pages.
  366. config MICROCOM
  367. bool "microcom"
  368. default y
  369. help
  370. The poor man's minicom utility for chatting with serial port devices.
  371. config MOUNTPOINT
  372. bool "mountpoint"
  373. default y
  374. help
  375. mountpoint checks if the directory is a mountpoint.
  376. config MT
  377. bool "mt"
  378. default y
  379. help
  380. mt is used to control tape devices. You can use the mt utility
  381. to advance or rewind a tape past a specified number of archive
  382. files on the tape.
  383. config RAIDAUTORUN
  384. bool "raidautorun"
  385. default y
  386. select PLATFORM_LINUX
  387. help
  388. raidautorun tells the kernel md driver to
  389. search and start RAID arrays.
  390. config READAHEAD
  391. bool "readahead"
  392. default y
  393. depends on LFS
  394. select PLATFORM_LINUX
  395. help
  396. Preload the files listed on the command line into RAM cache so that
  397. subsequent reads on these files will not block on disk I/O.
  398. This applet just calls the readahead(2) system call on each file.
  399. It is mainly useful in system startup scripts to preload files
  400. or executables before they are used. When used at the right time
  401. (in particular when a CPU bound process is running) it can
  402. significantly speed up system startup.
  403. As readahead(2) blocks until each file has been read, it is best to
  404. run this applet as a background job.
  405. config RUNLEVEL
  406. bool "runlevel"
  407. default y
  408. depends on FEATURE_UTMP
  409. help
  410. find the current and previous system runlevel.
  411. This applet uses utmp but does not rely on busybox supporing
  412. utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
  413. config RX
  414. bool "rx"
  415. default y
  416. select PLATFORM_LINUX
  417. help
  418. Receive files using the Xmodem protocol.
  419. config SETSID
  420. bool "setsid"
  421. default y
  422. help
  423. setsid runs a program in a new session
  424. config STRINGS
  425. bool "strings"
  426. default y
  427. help
  428. strings prints the printable character sequences for each file
  429. specified.
  430. config TIME
  431. bool "time"
  432. default y
  433. help
  434. The time command runs the specified program with the given arguments.
  435. When the command finishes, time writes a message to standard output
  436. giving timing statistics about this program run.
  437. config TIMEOUT
  438. bool "timeout"
  439. default y
  440. help
  441. Runs a program and watches it. If it does not terminate in
  442. specified number of seconds, it is sent a signal.
  443. config TTYSIZE
  444. bool "ttysize"
  445. default y
  446. help
  447. A replacement for "stty size". Unlike stty, can report only width,
  448. only height, or both, in any order. It also does not complain on
  449. error, but returns default 80x24.
  450. Usage in shell scripts: width=`ttysize w`.
  451. config VOLNAME
  452. bool "volname"
  453. default y
  454. help
  455. Prints a CD-ROM volume name.
  456. config WATCHDOG
  457. bool "watchdog"
  458. default y
  459. select PLATFORM_LINUX
  460. help
  461. The watchdog utility is used with hardware or software watchdog
  462. device drivers. It opens the specified watchdog device special file
  463. and periodically writes a magic character to the device. If the
  464. watchdog applet ever fails to write the magic character within a
  465. certain amount of time, the watchdog device assumes the system has
  466. hung, and will cause the hardware to reboot.
  467. endmenu