blob: 4912daf882e7cc35a4f477a182b186414285a8f9 [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
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020013 depends on 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
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020042 depends on 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 CROND
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137 bool "crond"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200138 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140 help
Eric Andersene5642112003-07-14 19:37:08 +0000141 Crond is a background daemon that parses individual crontab
142 files and executes commands on behalf of the users in question.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000143 This is a port of dcron from slackware. It uses files of the
Eric Andersen98e4eab2004-07-20 08:07:10 +0000144 format /var/spool/cron/crontabs/<username> files, for example:
145 $ cat /var/spool/cron/crontabs/root
146 # Run daily cron jobs at 4:40 every day:
147 40 4 * * * /etc/cron/daily > /dev/null 2>&1
Eric Andersenc9f20d92002-12-05 08:41:41 +0000148
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000149config FEATURE_CROND_D
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000150 bool "Support option -d to redirect output to stderr"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000151 depends on CROND
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200152 default y
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +0000153 help
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000154 -d sets loglevel to 0 (most verbose) and directs all output to stderr.
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +0000155
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000156config FEATURE_CROND_CALL_SENDMAIL
Denys Vlasenkoa8df4c02009-10-19 18:56:26 +0200157 bool "Report command output via email (using sendmail)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200158 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000159 depends on CROND
Eric Andersen35e643b2003-07-28 07:40:39 +0000160 help
Denys Vlasenkoa8df4c02009-10-19 18:56:26 +0200161 Command output will be sent to corresponding user via email.
Eric Andersen35e643b2003-07-28 07:40:39 +0000162
Denis Vlasenkoded5dfe2009-02-03 23:59:41 +0000163config FEATURE_CROND_DIR
164 string "crond spool directory"
165 default "/var/spool/cron"
166 depends on CROND || CRONTAB
167 help
168 Location of crond spool.
169
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000170config CRONTAB
Eric Andersenc9f20d92002-12-05 08:41:41 +0000171 bool "crontab"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200172 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000173 select FEATURE_SUID
Eric Andersenc9f20d92002-12-05 08:41:41 +0000174 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000175 Crontab manipulates the crontab for a particular user. Only
Eric Andersene5642112003-07-14 19:37:08 +0000176 the superuser may specify a different user and/or crontab directory.
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000177 Note that Busybox binary must be setuid root for this applet to
178 work properly.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000179
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000180config DC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000181 bool "dc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200182 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000183 help
Eric Andersene5642112003-07-14 19:37:08 +0000184 Dc is a reverse-polish desk calculator which supports unlimited
185 precision arithmetic.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000186
Denis Vlasenko07832302008-10-20 08:43:10 +0000187config FEATURE_DC_LIBM
188 bool "Enable power and exp functions (requires libm)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200189 default y
Denis Vlasenko07832302008-10-20 08:43:10 +0000190 depends on DC
191 help
192 Enable power and exp functions.
193 NOTE: This will require libm to be present for linking.
194
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000195config DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000196 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000197 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200198 depends on PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000199 select FEATURE_SYSLOG
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000200 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000201 This is deprecated and should NOT be used anymore.
202 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
203 See docs/mdev.txt for detailed instructions on how to use mdev
204 instead.
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000205
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000206 Provides compatibility with old device names on a devfs systems.
207 You should set it to true if you have devfs enabled.
Eric Andersenf18bd892003-12-19 11:07:59 +0000208 The following keywords in devsfd.conf are supported:
209 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
210 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
211 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
212
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000213 But only if they are written UPPERCASE!!!!!!!!
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000214
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000215config DEVFSD_MODLOAD
Eric Andersenf18bd892003-12-19 11:07:59 +0000216 bool "Adds support for MODLOAD keyword in devsfd.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200217 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000218 depends on DEVFSD
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000219 help
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000220 This actually doesn't work with busybox modutils but needs
221 the external modutils.
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000222
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000223config DEVFSD_FG_NP
Eric Andersenf18bd892003-12-19 11:07:59 +0000224 bool "Enables the -fg and -np options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200225 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000226 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000227 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000228 -fg Run the daemon in the foreground.
229 -np Exit after parsing the configuration file.
230 Do not poll for events.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000231
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000232config DEVFSD_VERBOSE
Eric Andersenf18bd892003-12-19 11:07:59 +0000233 bool "Increases logging (and size)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200234 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000235 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000236 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000237 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000238
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000239config FEATURE_DEVFS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000240 bool "Use devfs names for all devices (obsolete)"
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000241 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200242 depends on PLATFORM_LINUX
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000243 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000244 This is obsolete and should NOT be used anymore.
245 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
Rob Landley1f9145c2006-07-12 21:31:16 +0000246
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000247 For legacy systems -- if there is no way around devfsd -- this
248 tells busybox to look for names like /dev/loop/0 instead of
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000249 /dev/loop0. If your /dev directory has normal names instead of
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000250 devfs names, you don't want this.
251
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000252config DEVMEM
253 bool "devmem"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200254 default y
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000255 help
256 devmem is a small program that reads and writes from physical
257 memory using /dev/mem.
258
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000259config EJECT
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000260 bool "eject"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200261 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200262 depends on PLATFORM_LINUX
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000263 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000264 Used to eject cdroms. (defaults to /dev/cdrom)
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000265
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000266config FEATURE_EJECT_SCSI
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000267 bool "SCSI support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200268 default y
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000269 depends on EJECT
270 help
271 Add the -s option to eject, this allows to eject SCSI-Devices and
272 usb-storage devices.
273
274config FBSPLASH
275 bool "fbsplash"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200276 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200277 depends on PLATFORM_LINUX
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000278 help
279 Shows splash image and progress bar on framebuffer device.
280 Can be used during boot phase of an embedded device. ~2kb.
281 Usage:
282 - use kernel option 'vga=xxx' or otherwise enable fb device.
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000283 - put somewhere fbsplash.cfg file and an image in .ppm format.
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000284 - $ setsid fbsplash [params] &
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000285 -c: hide cursor
286 -d /dev/fbN: framebuffer device (if not /dev/fb0)
287 -s path_to_image_file (can be "-" for stdin)
Denis Vlasenko72b34422008-03-27 13:14:29 +0000288 -i path_to_cfg_file (can be "-" for stdin)
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000289 -f path_to_fifo (can be "-" for stdin)
290 - if you want to run it only in presence of kernel parameter:
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000291 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
292 - commands for fifo:
293 "NN" (ASCII decimal number) - percentage to show on progress bar
Denis Vlasenko72b34422008-03-27 13:14:29 +0000294 "exit" - well you guessed it
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000295
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100296config FLASHCP
297 bool "flashcp"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200298 default n # doesn't build on Ubuntu 8.04
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100299 help
300 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
301 This utility is used to copy images into a MTD device.
302
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200303config FLASH_LOCK
304 bool "flash_lock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200305 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200306 help
307 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
308 utility locks part or all of the flash device.
309
310config FLASH_UNLOCK
311 bool "flash_unlock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200312 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200313 help
314 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
315 utility unlocks part or all of the flash device.
316
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000317config FLASH_ERASEALL
318 bool "flash_eraseall"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200319 default n # doesn't build on Ubuntu 8.04
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000320 help
321 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
322 This utility is used to erase the whole MTD device.
323
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000324config IONICE
325 bool "ionice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200326 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200327 depends on PLATFORM_LINUX
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000328 help
329 Set/set program io scheduling class and priority
330 Requires kernel >= 2.6.13
331
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000332config INOTIFYD
333 bool "inotifyd"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200334 default n # doesn't build on Knoppix 5
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000335 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000336 Simple inotify daemon. Reports filesystem changes. Requires
337 kernel >= 2.6.13
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000338
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000339config LAST
Eric Andersen2e9c2572003-08-08 22:26:06 +0000340 bool "last"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200341 default y
Denys Vlasenko6dbbac52010-04-06 18:48:32 +0200342 depends on FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000343 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000344 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000345
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000346choice
347 prompt "Choose last implementation"
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000348 depends on LAST
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200349 default FEATURE_LAST_FANCY
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000350
351config FEATURE_LAST_SMALL
352 bool "small"
353 help
354 This is a small version of last with just the basic set of
355 features.
356
357config FEATURE_LAST_FANCY
358 bool "huge"
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000359 help
360 'last' displays detailed information about the last users that
361 logged into the system (mimics sysvinit last). +900 bytes.
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000362endchoice
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000363
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000364config LESS
Rob Landley9200e792005-09-15 19:26:59 +0000365 bool "less"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200366 default y
Rob Landley9200e792005-09-15 19:26:59 +0000367 help
368 'less' is a pager, meaning that it displays text files. It possesses
369 a wide array of features, and is an improvement over 'more'.
370
Denis Vlasenko9a7cef92006-12-20 02:46:48 +0000371config FEATURE_LESS_MAXLINES
372 int "Max number of input lines less will try to eat"
373 default 9999999
374 depends on LESS
375
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000376config FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000377 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000378 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000379 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000380 help
381 This option adds the capability to search for matching left and right
382 brackets, facilitating programming.
383
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000384config FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000385 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000386 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000387 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000388 help
389 The extra flags provided do the following:
390
391 The -M flag enables a more sophisticated status line.
392 The -m flag enables a simpler status line with a percentage.
393
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000394config FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000395 bool "Enable marks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200396 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000397 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000398 help
399 Marks enable positions in a file to be stored for easy reference.
400
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000401config FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000402 bool "Enable regular expressions"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200403 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000404 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000405 help
406 Enable regular expressions, allowing complex file searches.
407
Denis Vlasenko53c80f02008-10-24 22:43:27 +0000408config FEATURE_LESS_WINCH
409 bool "Enable automatic resizing on window size changes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200410 default y
Denis Vlasenko53c80f02008-10-24 22:43:27 +0000411 depends on LESS
412 help
413 Makes less track window size changes.
414
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000415config FEATURE_LESS_DASHCMD
416 bool "Enable flag changes ('-' command)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200417 default y
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000418 depends on LESS
419 help
420 This enables the ability to change command-line flags within
421 less itself ('-' keyboard command).
422
423config FEATURE_LESS_LINENUMS
424 bool "Enable dynamic switching of line numbers"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200425 default y
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000426 depends on FEATURE_LESS_DASHCMD
427 help
Denys Vlasenko416f0402010-07-29 02:22:43 +0200428 Enables "-N" command.
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000429
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000430config HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000431 bool "hdparm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200432 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200433 depends on PLATFORM_LINUX
Eric Andersen3443bd72003-07-22 07:30:36 +0000434 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000435 Get/Set hard drive parameters. Primarily intended for ATA
436 drives. Adds about 13k (or around 30k if you enable the
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000437 FEATURE_HDPARM_GET_IDENTITY option)....
Eric Andersen3443bd72003-07-22 07:30:36 +0000438
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000439config FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000440 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000441 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000442 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000443 help
Rob Landley06208412006-05-31 22:52:57 +0000444 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000445 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000446 feature set. If no device name is specified, hdparm will read
447 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000448
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000449config FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000450 bool "Register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200451 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000452 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000453 help
454 Enables the 'hdparm -R' option to register an IDE interface.
455 This is dangerous stuff, so you should probably say N.
456
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000457config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000458 bool "Un-register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200459 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000460 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000461 help
462 Enables the 'hdparm -U' option to un-register an IDE interface.
463 This is dangerous stuff, so you should probably say N.
464
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000465config FEATURE_HDPARM_HDIO_DRIVE_RESET
Denis Vlasenko97faf532008-07-15 22:01:49 +0000466 bool "Perform device reset (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200467 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000468 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000469 help
470 Enables the 'hdparm -w' option to perform a device reset.
471 This is dangerous stuff, so you should probably say N.
472
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000473config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Denis Vlasenko97faf532008-07-15 22:01:49 +0000474 bool "Tristate device for hotswap (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200475 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000476 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000477 help
478 Enables the 'hdparm -x' option to tristate device for hotswap,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000479 and the '-b' option to get/set bus state. This is dangerous
Eric Andersen3443bd72003-07-22 07:30:36 +0000480 stuff, so you should probably say N.
481
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000482config FEATURE_HDPARM_HDIO_GETSET_DMA
Denis Vlasenkoa83dbd42009-03-29 17:13:20 +0000483 bool "Get/set using_dma flag"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200484 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000485 depends on HDPARM
Eric Andersen0a57a792003-08-06 08:57:35 +0000486 help
487 Enables the 'hdparm -d' option to get/set using_dma flag.
Eric Andersen0a57a792003-08-06 08:57:35 +0000488
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000489config MAKEDEVS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000490 bool "makedevs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200491 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000492 help
Eric Andersen3d925622005-06-09 10:16:02 +0000493 'makedevs' is a utility used to create a batch of devices with
494 one command.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200495
Eric Andersen3d925622005-06-09 10:16:02 +0000496 There are two choices for command line behaviour, the interface
497 as used by LEAF/Linux Router Project, or a device table file.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200498
Eric Andersen3d925622005-06-09 10:16:02 +0000499 'leaf' is traditionally what busybox follows, it allows multiple
500 devices of a particluar type to be created per command.
501 e.g. /dev/hda[0-9]
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000502 Device properties are passed as command line arguments.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200503
Eric Andersen3d925622005-06-09 10:16:02 +0000504 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000505 a batch of unrelated devices to be made with one command.
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000506 User/group names are allowed as an alternative to uid/gid.
Eric Andersen3d925622005-06-09 10:16:02 +0000507
508choice
509 prompt "Choose makedevs behaviour"
Mike Frysinger08e70972007-01-24 09:14:09 +0000510 depends on MAKEDEVS
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000511 default FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000512
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000513config FEATURE_MAKEDEVS_LEAF
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000514 bool "leaf"
Eric Andersen3d925622005-06-09 10:16:02 +0000515
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000516config FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000517 bool "table"
518
519endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000520
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000521config MAN
522 bool "man"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200523 default y
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000524 help
525 Format and display manual pages.
526
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000527config MICROCOM
528 bool "microcom"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200529 default y
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000530 help
531 The poor man's minicom utility for chatting with serial port devices.
532
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000533config MOUNTPOINT
Rob Landleyd00b3a52005-08-20 05:07:08 +0000534 bool "mountpoint"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200535 default y
Rob Landleyd00b3a52005-08-20 05:07:08 +0000536 help
537 mountpoint checks if the directory is a mountpoint.
538
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000539config MT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000540 bool "mt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200541 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000542 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000543 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000544 to advance or rewind a tape past a specified number of archive
545 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000546
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000547config RAIDAUTORUN
548 bool "raidautorun"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200549 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200550 depends on PLATFORM_LINUX
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000551 help
552 raidautorun tells the kernel md driver to
553 search and start RAID arrays.
554
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000555config READAHEAD
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000556 bool "readahead"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200557 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200558 depends on LFS && PLATFORM_LINUX
Rob Landley0e4690d2006-08-20 22:12:18 +0000559 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000560 Preload the files listed on the command line into RAM cache so that
Rob Landley0e4690d2006-08-20 22:12:18 +0000561 subsequent reads on these files will not block on disk I/O.
562
563 This applet just calls the readahead(2) system call on each file.
564 It is mainly useful in system startup scripts to preload files
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000565 or executables before they are used. When used at the right time
Denis Vlasenkob15ebe42008-04-13 22:41:27 +0000566 (in particular when a CPU bound process is running) it can
Rob Landley0e4690d2006-08-20 22:12:18 +0000567 significantly speed up system startup.
568
569 As readahead(2) blocks until each file has been read, it is best to
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000570 run this applet as a background job.
Rob Landley0e4690d2006-08-20 22:12:18 +0000571
Souf Oued43afd752010-05-02 18:45:02 +0200572config RFKILL
573 bool "rfkill"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200574 default n # doesn't build on Ubuntu 9.04
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200575 depends on PLATFORM_LINUX
Souf Oued43afd752010-05-02 18:45:02 +0200576 help
577 Enable/disable wireless devices.
578
579 rfkill list : list all wireless devices
580 rfkill list bluetooth : list all bluetooth devices
581 rfkill list 1 : list device corresponding to the given index
582 rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
583
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000584config RUNLEVEL
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000585 bool "runlevel"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200586 default y
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000587 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000588 find the current and previous system runlevel.
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000589
590 This applet uses utmp but does not rely on busybox supporing
591 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
592
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000593config RX
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000594 bool "rx"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200595 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200596 depends on PLATFORM_LINUX
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000597 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000598 Receive files using the Xmodem protocol.
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000599
Denis Vlasenko376003b2008-04-21 05:05:17 +0000600config SETSID
601 bool "setsid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200602 default y
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000603 help
Denis Vlasenko376003b2008-04-21 05:05:17 +0000604 setsid runs a program in a new session
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000605
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000606config STRINGS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000607 bool "strings"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200608 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000609 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000610 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000611 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000612
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000613config TASKSET
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000614 bool "taskset"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200615 default n # doesn't build on some non-x86 targets (m68k)
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000616 help
Mike Frysinger259472e2006-07-03 05:22:36 +0000617 Retrieve or set a processes's CPU affinity.
Bernhard Reutner-Fischer32eddff2006-11-22 16:39:48 +0000618 This requires sched_{g,s}etaffinity support in your libc.
619
620config FEATURE_TASKSET_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000621 bool "Fancy output"
Bernhard Reutner-Fischer32eddff2006-11-22 16:39:48 +0000622 default y
623 depends on TASKSET
624 help
625 Add code for fancy output. This merely silences a compiler-warning
626 and adds about 135 Bytes. May be needed for machines with alot
627 of CPUs.
Rob Landley12d94192006-06-30 22:20:43 +0000628
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000629config TIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000630 bool "time"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200631 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000632 help
Eric Andersene5642112003-07-14 19:37:08 +0000633 The time command runs the specified program with the given arguments.
634 When the command finishes, time writes a message to standard output
635 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000636
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000637config TIMEOUT
638 bool "timeout"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200639 default y
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000640 help
641 Runs a program and watches it. If it does not terminate in
642 specified number of seconds, it is sent a signal.
643
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000644config TTYSIZE
645 bool "ttysize"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200646 default y
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000647 help
648 A replacement for "stty size". Unlike stty, can report only width,
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000649 only height, or both, in any order. It also does not complain on
650 error, but returns default 80x24.
651 Usage in shell scripts: width=`ttysize w`.
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000652
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200653config VOLNAME
654 bool "volname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200655 default y
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200656 help
657 Prints a CD-ROM volume name.
658
Bernhard Reutner-Fischere039e682009-10-26 23:29:03 +0100659config WALL
660 bool "wall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200661 default y
Bernhard Reutner-Fischere039e682009-10-26 23:29:03 +0100662 help
663 Write a message to all users that are logged in.
664
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000665config WATCHDOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000666 bool "watchdog"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200667 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200668 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000669 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000670 The watchdog utility is used with hardware or software watchdog
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000671 device drivers. It opens the specified watchdog device special file
672 and periodically writes a magic character to the device. If the
Eric Andersen795c4ba2003-07-22 10:11:48 +0000673 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000674 certain amount of time, the watchdog device assumes the system has
675 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000676
677endmenu