blob: 06f1c52ba0534bda71caffa747b82166236f7ae5 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Miscellaneous Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config ADJTIMEX
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 bool "adjtimex"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010013 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +000014 help
Eric Andersene5642112003-07-14 19:37:08 +000015 Adjtimex reads and optionally sets adjustment parameters for
16 the Linux clock adjustment algorithm.
Eric Andersenc9f20d92002-12-05 08:41:41 +000017
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000018config BBCONFIG
Mike Frysinger9ed10942005-09-18 04:43:32 +000019 bool "bbconfig"
20 default n
21 help
22 The bbconfig applet will print the config file with which
23 busybox was built.
24
Denys Vlasenko9ce07e72010-08-29 14:36:11 +020025config FEATURE_COMPRESS_BBCONFIG
26 bool "Compress bbconfig data"
27 default y
28 depends on BBCONFIG
29 help
30 Store bbconfig data in compressed form, uncompress them on-the-fly
31 before output.
32
33 If you have a really tiny busybox with few applets enabled (and
34 bunzip2 isn't one of them), the overhead of the decompressor might
35 be noticeable. Also, if you run executables directly from ROM
36 and have very little memory, this might not be a win. Otherwise,
37 you probably want this.
38
Bernhard Reutner-Fischer45de0742009-08-21 13:18:31 +020039config BEEP
40 bool "beep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020041 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010042 select PLATFORM_LINUX
Bernhard Reutner-Fischer45de0742009-08-21 13:18:31 +020043 help
44 The beep applets beeps in a given freq/Hz.
45
Bernhard Reutner-Fischer00ea82e2009-08-21 14:40:29 +020046config FEATURE_BEEP_FREQ
47 int "default frequency"
48 range 0 2147483647
49 default 4000
50 depends on BEEP
51 help
52 Frequency for default beep.
53
Denys Vlasenko0da1c0a2009-08-22 18:00:39 +020054config FEATURE_BEEP_LENGTH_MS
Bernhard Reutner-Fischer00ea82e2009-08-21 14:40:29 +020055 int "default length"
56 range 0 2147483647
57 default 30
58 depends on BEEP
59 help
60 Length in ms for default beep.
61
Denis Vlasenko5233cd32008-02-18 23:24:46 +000062config CHAT
63 bool "chat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020064 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +000065 help
66 Simple chat utility.
67
68config FEATURE_CHAT_NOFAIL
69 bool "Enable NOFAIL expect strings"
Denis Vlasenko86174542008-02-19 11:36:22 +000070 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000071 default y
72 help
73 When enabled expect strings which are started with a dash trigger
74 no-fail mode. That is when expectation is not met within timeout
75 the script is not terminated but sends next SEND string and waits
76 for next EXPECT string. This allows to compose far more flexible
77 scripts.
78
79config FEATURE_CHAT_TTY_HIFI
80 bool "Force STDIN to be a TTY"
Denis Vlasenko86174542008-02-19 11:36:22 +000081 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000082 default n
83 help
84 Original chat always treats STDIN as a TTY device and sets for it
85 so-called raw mode. This option turns on such behaviour.
86
87config FEATURE_CHAT_IMPLICIT_CR
88 bool "Enable implicit Carriage Return"
Denis Vlasenko86174542008-02-19 11:36:22 +000089 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000090 default y
91 help
92 When enabled make chat to terminate all SEND strings with a "\r"
93 unless "\c" is met anywhere in the string.
94
95config FEATURE_CHAT_SWALLOW_OPTS
96 bool "Swallow options"
Denis Vlasenko86174542008-02-19 11:36:22 +000097 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020098 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +000099 help
100 Busybox chat require no options. To make it not fail when used
101 in place of original chat (which has a bunch of options) turn
102 this on.
103
104config FEATURE_CHAT_SEND_ESCAPES
105 bool "Support weird SEND escapes"
Denis Vlasenko86174542008-02-19 11:36:22 +0000106 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200107 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +0000108 help
109 Original chat uses some escape sequences in SEND arguments which
110 are not sent to device but rather performs special actions.
111 E.g. "\K" means to send a break sequence to device.
112 "\d" delays execution for a second, "\p" -- for a 1/100 of second.
113 Before turning this option on think twice: do you really need them?
114
115config FEATURE_CHAT_VAR_ABORT_LEN
116 bool "Support variable-length ABORT conditions"
Denis Vlasenko86174542008-02-19 11:36:22 +0000117 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200118 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +0000119 help
120 Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
121
122config FEATURE_CHAT_CLR_ABORT
123 bool "Support revoking of ABORT conditions"
Denis Vlasenko86174542008-02-19 11:36:22 +0000124 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200125 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +0000126 help
127 Support CLR_ABORT directive.
128
Bernhard Reutner-Fischer71bc71a2007-03-09 16:56:38 +0000129config CHRT
130 bool "chrt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200131 default y
Bernhard Reutner-Fischer71bc71a2007-03-09 16:56:38 +0000132 help
133 manipulate real-time attributes of a process.
134 This requires sched_{g,s}etparam support in your libc.
135
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000136config CRONTAB
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137 bool "crontab"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200138 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000139 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000140 Crontab manipulates the crontab for a particular user. Only
Eric Andersene5642112003-07-14 19:37:08 +0000141 the superuser may specify a different user and/or crontab directory.
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000142 Note that Busybox binary must be setuid root for this applet to
143 work properly.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145config DC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146 bool "dc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200147 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000148 help
Eric Andersene5642112003-07-14 19:37:08 +0000149 Dc is a reverse-polish desk calculator which supports unlimited
150 precision arithmetic.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000151
Denis Vlasenko07832302008-10-20 08:43:10 +0000152config FEATURE_DC_LIBM
153 bool "Enable power and exp functions (requires libm)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200154 default y
Denis Vlasenko07832302008-10-20 08:43:10 +0000155 depends on DC
156 help
157 Enable power and exp functions.
158 NOTE: This will require libm to be present for linking.
159
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000160config DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000161 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000162 default n
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100163 select PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000164 select FEATURE_SYSLOG
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000165 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000166 This is deprecated and should NOT be used anymore.
167 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
168 See docs/mdev.txt for detailed instructions on how to use mdev
169 instead.
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000170
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000171 Provides compatibility with old device names on a devfs systems.
172 You should set it to true if you have devfs enabled.
Eric Andersenf18bd892003-12-19 11:07:59 +0000173 The following keywords in devsfd.conf are supported:
174 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
175 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
176 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
177
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000178 But only if they are written UPPERCASE!!!!!!!!
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000179
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000180config DEVFSD_MODLOAD
Eric Andersenf18bd892003-12-19 11:07:59 +0000181 bool "Adds support for MODLOAD keyword in devsfd.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200182 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000183 depends on DEVFSD
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000184 help
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000185 This actually doesn't work with busybox modutils but needs
186 the external modutils.
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000187
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000188config DEVFSD_FG_NP
Eric Andersenf18bd892003-12-19 11:07:59 +0000189 bool "Enables the -fg and -np options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200190 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000191 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000192 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000193 -fg Run the daemon in the foreground.
194 -np Exit after parsing the configuration file.
195 Do not poll for events.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000196
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197config DEVFSD_VERBOSE
Eric Andersenf18bd892003-12-19 11:07:59 +0000198 bool "Increases logging (and size)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200199 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000201 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000202 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000203
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000204config FEATURE_DEVFS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000205 bool "Use devfs names for all devices (obsolete)"
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000206 default n
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100207 select PLATFORM_LINUX
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000208 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000209 This is obsolete and should NOT be used anymore.
210 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
Rob Landley1f9145c2006-07-12 21:31:16 +0000211
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000212 For legacy systems -- if there is no way around devfsd -- this
213 tells busybox to look for names like /dev/loop/0 instead of
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000214 /dev/loop0. If your /dev directory has normal names instead of
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000215 devfs names, you don't want this.
216
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000217config DEVMEM
218 bool "devmem"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200219 default y
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000220 help
221 devmem is a small program that reads and writes from physical
222 memory using /dev/mem.
223
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000224config EJECT
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000225 bool "eject"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200226 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100227 select PLATFORM_LINUX
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000228 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000229 Used to eject cdroms. (defaults to /dev/cdrom)
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000230
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000231config FEATURE_EJECT_SCSI
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000232 bool "SCSI support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200233 default y
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000234 depends on EJECT
235 help
236 Add the -s option to eject, this allows to eject SCSI-Devices and
237 usb-storage devices.
238
239config FBSPLASH
240 bool "fbsplash"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200241 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100242 select PLATFORM_LINUX
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000243 help
244 Shows splash image and progress bar on framebuffer device.
245 Can be used during boot phase of an embedded device. ~2kb.
246 Usage:
247 - use kernel option 'vga=xxx' or otherwise enable fb device.
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000248 - put somewhere fbsplash.cfg file and an image in .ppm format.
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000249 - $ setsid fbsplash [params] &
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000250 -c: hide cursor
251 -d /dev/fbN: framebuffer device (if not /dev/fb0)
252 -s path_to_image_file (can be "-" for stdin)
Denis Vlasenko72b34422008-03-27 13:14:29 +0000253 -i path_to_cfg_file (can be "-" for stdin)
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000254 -f path_to_fifo (can be "-" for stdin)
255 - if you want to run it only in presence of kernel parameter:
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000256 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
257 - commands for fifo:
258 "NN" (ASCII decimal number) - percentage to show on progress bar
Denis Vlasenko72b34422008-03-27 13:14:29 +0000259 "exit" - well you guessed it
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000260
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100261config FLASHCP
262 bool "flashcp"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200263 default n # doesn't build on Ubuntu 8.04
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100264 help
265 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
266 This utility is used to copy images into a MTD device.
267
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200268config FLASH_LOCK
269 bool "flash_lock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200270 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200271 help
272 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
273 utility locks part or all of the flash device.
274
275config FLASH_UNLOCK
276 bool "flash_unlock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200277 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200278 help
279 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
280 utility unlocks part or all of the flash device.
281
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000282config FLASH_ERASEALL
283 bool "flash_eraseall"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200284 default n # doesn't build on Ubuntu 8.04
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000285 help
286 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
287 This utility is used to erase the whole MTD device.
288
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000289config IONICE
290 bool "ionice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200291 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100292 select PLATFORM_LINUX
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000293 help
294 Set/set program io scheduling class and priority
295 Requires kernel >= 2.6.13
296
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000297config INOTIFYD
298 bool "inotifyd"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200299 default n # doesn't build on Knoppix 5
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000300 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000301 Simple inotify daemon. Reports filesystem changes. Requires
302 kernel >= 2.6.13
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000303
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000304config LAST
Eric Andersen2e9c2572003-08-08 22:26:06 +0000305 bool "last"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200306 default y
Denys Vlasenko6dbbac52010-04-06 18:48:32 +0200307 depends on FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000308 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000309 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000310
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000311config FEATURE_LAST_FANCY
Denys Vlasenkodb700332015-10-25 20:36:03 +0100312 bool "Turn on output of extra information"
313 default y
314 depends on LAST
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000315 help
316 'last' displays detailed information about the last users that
317 logged into the system (mimics sysvinit last). +900 bytes.
318
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000319config HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000320 bool "hdparm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200321 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100322 select PLATFORM_LINUX
Eric Andersen3443bd72003-07-22 07:30:36 +0000323 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000324 Get/Set hard drive parameters. Primarily intended for ATA
325 drives. Adds about 13k (or around 30k if you enable the
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000326 FEATURE_HDPARM_GET_IDENTITY option)....
Eric Andersen3443bd72003-07-22 07:30:36 +0000327
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000328config FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000329 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000330 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000331 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000332 help
Rob Landley06208412006-05-31 22:52:57 +0000333 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000334 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000335 feature set. If no device name is specified, hdparm will read
336 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000337
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000338config FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000339 bool "Register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200340 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000341 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000342 help
343 Enables the 'hdparm -R' option to register an IDE interface.
344 This is dangerous stuff, so you should probably say N.
345
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000346config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000347 bool "Un-register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200348 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000349 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000350 help
351 Enables the 'hdparm -U' option to un-register an IDE interface.
352 This is dangerous stuff, so you should probably say N.
353
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000354config FEATURE_HDPARM_HDIO_DRIVE_RESET
Denis Vlasenko97faf532008-07-15 22:01:49 +0000355 bool "Perform device reset (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200356 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000357 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000358 help
359 Enables the 'hdparm -w' option to perform a device reset.
360 This is dangerous stuff, so you should probably say N.
361
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000362config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Denis Vlasenko97faf532008-07-15 22:01:49 +0000363 bool "Tristate device for hotswap (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200364 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000365 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000366 help
367 Enables the 'hdparm -x' option to tristate device for hotswap,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000368 and the '-b' option to get/set bus state. This is dangerous
Eric Andersen3443bd72003-07-22 07:30:36 +0000369 stuff, so you should probably say N.
370
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000371config FEATURE_HDPARM_HDIO_GETSET_DMA
Denis Vlasenkoa83dbd42009-03-29 17:13:20 +0000372 bool "Get/set using_dma flag"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200373 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000374 depends on HDPARM
Eric Andersen0a57a792003-08-06 08:57:35 +0000375 help
376 Enables the 'hdparm -d' option to get/set using_dma flag.
Eric Andersen0a57a792003-08-06 08:57:35 +0000377
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000378config MAKEDEVS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000379 bool "makedevs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200380 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000381 help
Eric Andersen3d925622005-06-09 10:16:02 +0000382 'makedevs' is a utility used to create a batch of devices with
383 one command.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200384
Eric Andersen3d925622005-06-09 10:16:02 +0000385 There are two choices for command line behaviour, the interface
386 as used by LEAF/Linux Router Project, or a device table file.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200387
Eric Andersen3d925622005-06-09 10:16:02 +0000388 'leaf' is traditionally what busybox follows, it allows multiple
389 devices of a particluar type to be created per command.
390 e.g. /dev/hda[0-9]
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000391 Device properties are passed as command line arguments.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200392
Eric Andersen3d925622005-06-09 10:16:02 +0000393 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000394 a batch of unrelated devices to be made with one command.
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000395 User/group names are allowed as an alternative to uid/gid.
Eric Andersen3d925622005-06-09 10:16:02 +0000396
397choice
398 prompt "Choose makedevs behaviour"
Mike Frysinger08e70972007-01-24 09:14:09 +0000399 depends on MAKEDEVS
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000400 default FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000401
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000402config FEATURE_MAKEDEVS_LEAF
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000403 bool "leaf"
Eric Andersen3d925622005-06-09 10:16:02 +0000404
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000405config FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000406 bool "table"
407
408endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000409
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000410config MAN
411 bool "man"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200412 default y
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000413 help
414 Format and display manual pages.
415
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000416config MICROCOM
417 bool "microcom"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200418 default y
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000419 help
420 The poor man's minicom utility for chatting with serial port devices.
421
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000422config MOUNTPOINT
Rob Landleyd00b3a52005-08-20 05:07:08 +0000423 bool "mountpoint"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200424 default y
Rob Landleyd00b3a52005-08-20 05:07:08 +0000425 help
426 mountpoint checks if the directory is a mountpoint.
427
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000428config MT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000429 bool "mt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200430 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000431 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000432 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000433 to advance or rewind a tape past a specified number of archive
434 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000435
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000436config RAIDAUTORUN
437 bool "raidautorun"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200438 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100439 select PLATFORM_LINUX
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000440 help
441 raidautorun tells the kernel md driver to
442 search and start RAID arrays.
443
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000444config READAHEAD
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000445 bool "readahead"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200446 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100447 depends on LFS
448 select PLATFORM_LINUX
Rob Landley0e4690d2006-08-20 22:12:18 +0000449 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000450 Preload the files listed on the command line into RAM cache so that
Rob Landley0e4690d2006-08-20 22:12:18 +0000451 subsequent reads on these files will not block on disk I/O.
452
453 This applet just calls the readahead(2) system call on each file.
454 It is mainly useful in system startup scripts to preload files
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000455 or executables before they are used. When used at the right time
Denis Vlasenkob15ebe42008-04-13 22:41:27 +0000456 (in particular when a CPU bound process is running) it can
Rob Landley0e4690d2006-08-20 22:12:18 +0000457 significantly speed up system startup.
458
459 As readahead(2) blocks until each file has been read, it is best to
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000460 run this applet as a background job.
Rob Landley0e4690d2006-08-20 22:12:18 +0000461
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000462config RUNLEVEL
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000463 bool "runlevel"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200464 default y
Mike Frysingerca18e252011-02-06 12:29:25 -0500465 depends on FEATURE_UTMP
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000466 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000467 find the current and previous system runlevel.
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000468
469 This applet uses utmp but does not rely on busybox supporing
470 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
471
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000472config RX
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000473 bool "rx"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200474 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100475 select PLATFORM_LINUX
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000476 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000477 Receive files using the Xmodem protocol.
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000478
Denis Vlasenko376003b2008-04-21 05:05:17 +0000479config SETSID
480 bool "setsid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200481 default y
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000482 help
Denis Vlasenko376003b2008-04-21 05:05:17 +0000483 setsid runs a program in a new session
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000484
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485config STRINGS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000486 bool "strings"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200487 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000488 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000489 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000490 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000491
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000492config TIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000493 bool "time"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200494 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000495 help
Eric Andersene5642112003-07-14 19:37:08 +0000496 The time command runs the specified program with the given arguments.
497 When the command finishes, time writes a message to standard output
498 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000499
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000500config TIMEOUT
501 bool "timeout"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200502 default y
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000503 help
504 Runs a program and watches it. If it does not terminate in
505 specified number of seconds, it is sent a signal.
506
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000507config TTYSIZE
508 bool "ttysize"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200509 default y
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000510 help
511 A replacement for "stty size". Unlike stty, can report only width,
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000512 only height, or both, in any order. It also does not complain on
513 error, but returns default 80x24.
514 Usage in shell scripts: width=`ttysize w`.
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000515
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200516config VOLNAME
517 bool "volname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200518 default y
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200519 help
520 Prints a CD-ROM volume name.
521
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000522config WATCHDOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000523 bool "watchdog"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200524 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100525 select PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000526 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000527 The watchdog utility is used with hardware or software watchdog
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000528 device drivers. It opens the specified watchdog device special file
529 and periodically writes a magic character to the device. If the
Eric Andersen795c4ba2003-07-22 10:11:48 +0000530 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000531 certain amount of time, the watchdog device assumes the system has
532 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000533
534endmenu