blob: dbfd7a1a00ad3564717b707828e7e191b3e700dc [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
Bernhard Reutner-Fischer45de0742009-08-21 13:18:31 +020025config BEEP
26 bool "beep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020027 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020028 depends on PLATFORM_LINUX
Bernhard Reutner-Fischer45de0742009-08-21 13:18:31 +020029 help
30 The beep applets beeps in a given freq/Hz.
31
Bernhard Reutner-Fischer00ea82e2009-08-21 14:40:29 +020032config FEATURE_BEEP_FREQ
33 int "default frequency"
34 range 0 2147483647
35 default 4000
36 depends on BEEP
37 help
38 Frequency for default beep.
39
Denys Vlasenko0da1c0a2009-08-22 18:00:39 +020040config FEATURE_BEEP_LENGTH_MS
Bernhard Reutner-Fischer00ea82e2009-08-21 14:40:29 +020041 int "default length"
42 range 0 2147483647
43 default 30
44 depends on BEEP
45 help
46 Length in ms for default beep.
47
Denis Vlasenko5233cd32008-02-18 23:24:46 +000048config CHAT
49 bool "chat"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020050 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +000051 help
52 Simple chat utility.
53
54config FEATURE_CHAT_NOFAIL
55 bool "Enable NOFAIL expect strings"
Denis Vlasenko86174542008-02-19 11:36:22 +000056 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000057 default y
58 help
59 When enabled expect strings which are started with a dash trigger
60 no-fail mode. That is when expectation is not met within timeout
61 the script is not terminated but sends next SEND string and waits
62 for next EXPECT string. This allows to compose far more flexible
63 scripts.
64
65config FEATURE_CHAT_TTY_HIFI
66 bool "Force STDIN to be a TTY"
Denis Vlasenko86174542008-02-19 11:36:22 +000067 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000068 default n
69 help
70 Original chat always treats STDIN as a TTY device and sets for it
71 so-called raw mode. This option turns on such behaviour.
72
73config FEATURE_CHAT_IMPLICIT_CR
74 bool "Enable implicit Carriage Return"
Denis Vlasenko86174542008-02-19 11:36:22 +000075 depends on CHAT
Denis Vlasenko5233cd32008-02-18 23:24:46 +000076 default y
77 help
78 When enabled make chat to terminate all SEND strings with a "\r"
79 unless "\c" is met anywhere in the string.
80
81config FEATURE_CHAT_SWALLOW_OPTS
82 bool "Swallow options"
Denis Vlasenko86174542008-02-19 11:36:22 +000083 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020084 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +000085 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
90config FEATURE_CHAT_SEND_ESCAPES
91 bool "Support weird SEND escapes"
Denis Vlasenko86174542008-02-19 11:36:22 +000092 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020093 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +000094 help
95 Original chat uses some escape sequences in SEND arguments which
96 are not sent to device but rather performs special actions.
97 E.g. "\K" means to send a break sequence to device.
98 "\d" delays execution for a second, "\p" -- for a 1/100 of second.
99 Before turning this option on think twice: do you really need them?
100
101config FEATURE_CHAT_VAR_ABORT_LEN
102 bool "Support variable-length ABORT conditions"
Denis Vlasenko86174542008-02-19 11:36:22 +0000103 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200104 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +0000105 help
106 Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
107
108config FEATURE_CHAT_CLR_ABORT
109 bool "Support revoking of ABORT conditions"
Denis Vlasenko86174542008-02-19 11:36:22 +0000110 depends on CHAT
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200111 default y
Denis Vlasenko5233cd32008-02-18 23:24:46 +0000112 help
113 Support CLR_ABORT directive.
114
Bernhard Reutner-Fischer71bc71a2007-03-09 16:56:38 +0000115config CHRT
116 bool "chrt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200117 default y
Bernhard Reutner-Fischer71bc71a2007-03-09 16:56:38 +0000118 help
119 manipulate real-time attributes of a process.
120 This requires sched_{g,s}etparam support in your libc.
121
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config CROND
Eric Andersenc9f20d92002-12-05 08:41:41 +0000123 bool "crond"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200124 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000125 select FEATURE_SUID
126 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127 help
Eric Andersene5642112003-07-14 19:37:08 +0000128 Crond is a background daemon that parses individual crontab
129 files and executes commands on behalf of the users in question.
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000130 This is a port of dcron from slackware. It uses files of the
Eric Andersen98e4eab2004-07-20 08:07:10 +0000131 format /var/spool/cron/crontabs/<username> files, for example:
132 $ cat /var/spool/cron/crontabs/root
133 # Run daily cron jobs at 4:40 every day:
134 40 4 * * * /etc/cron/daily > /dev/null 2>&1
Eric Andersenc9f20d92002-12-05 08:41:41 +0000135
Denis Vlasenko35a064b2008-11-06 00:49:59 +0000136config FEATURE_CROND_D
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000137 bool "Support option -d to redirect output to stderr"
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000138 depends on CROND
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200139 default y
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +0000140 help
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000141 -d sets loglevel to 0 (most verbose) and directs all output to stderr.
Bernhard Reutner-Fischeref216292006-05-20 14:14:05 +0000142
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000143config FEATURE_CROND_CALL_SENDMAIL
Denys Vlasenkoa8df4c02009-10-19 18:56:26 +0200144 bool "Report command output via email (using sendmail)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200145 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146 depends on CROND
Eric Andersen35e643b2003-07-28 07:40:39 +0000147 help
Denys Vlasenkoa8df4c02009-10-19 18:56:26 +0200148 Command output will be sent to corresponding user via email.
Eric Andersen35e643b2003-07-28 07:40:39 +0000149
Denis Vlasenkoded5dfe2009-02-03 23:59:41 +0000150config FEATURE_CROND_DIR
151 string "crond spool directory"
152 default "/var/spool/cron"
153 depends on CROND || CRONTAB
154 help
155 Location of crond spool.
156
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000157config CRONTAB
Eric Andersenc9f20d92002-12-05 08:41:41 +0000158 bool "crontab"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200159 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000160 select FEATURE_SUID
Eric Andersenc9f20d92002-12-05 08:41:41 +0000161 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000162 Crontab manipulates the crontab for a particular user. Only
Eric Andersene5642112003-07-14 19:37:08 +0000163 the superuser may specify a different user and/or crontab directory.
Denis Vlasenko4e6c8122008-03-12 22:10:25 +0000164 Note that Busybox binary must be setuid root for this applet to
165 work properly.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000166
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000167config DC
Eric Andersenc9f20d92002-12-05 08:41:41 +0000168 bool "dc"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200169 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000170 help
Eric Andersene5642112003-07-14 19:37:08 +0000171 Dc is a reverse-polish desk calculator which supports unlimited
172 precision arithmetic.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000173
Denis Vlasenko07832302008-10-20 08:43:10 +0000174config FEATURE_DC_LIBM
175 bool "Enable power and exp functions (requires libm)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200176 default y
Denis Vlasenko07832302008-10-20 08:43:10 +0000177 depends on DC
178 help
179 Enable power and exp functions.
180 NOTE: This will require libm to be present for linking.
181
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000182config DEVFSD
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000183 bool "devfsd (obsolete)"
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000184 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200185 depends on PLATFORM_LINUX
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000186 select FEATURE_SYSLOG
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000187 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000188 This is deprecated and should NOT be used anymore.
189 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
190 See docs/mdev.txt for detailed instructions on how to use mdev
191 instead.
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000192
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000193 Provides compatibility with old device names on a devfs systems.
194 You should set it to true if you have devfs enabled.
Eric Andersenf18bd892003-12-19 11:07:59 +0000195 The following keywords in devsfd.conf are supported:
196 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
197 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
198 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
199
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000200 But only if they are written UPPERCASE!!!!!!!!
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config DEVFSD_MODLOAD
Eric Andersenf18bd892003-12-19 11:07:59 +0000203 bool "Adds support for MODLOAD keyword in devsfd.conf"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200204 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000205 depends on DEVFSD
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000206 help
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000207 This actually doesn't work with busybox modutils but needs
208 the external modutils.
Glenn L McGrath3860b2e2003-11-30 23:46:06 +0000209
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000210config DEVFSD_FG_NP
Eric Andersenf18bd892003-12-19 11:07:59 +0000211 bool "Enables the -fg and -np options"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200212 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000213 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000214 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000215 -fg Run the daemon in the foreground.
216 -np Exit after parsing the configuration file.
217 Do not poll for events.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000218
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000219config DEVFSD_VERBOSE
Eric Andersenf18bd892003-12-19 11:07:59 +0000220 bool "Increases logging (and size)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200221 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000222 depends on DEVFSD
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000223 help
Eric Andersenf18bd892003-12-19 11:07:59 +0000224 Increases logging to stderr or syslog.
Glenn L McGrath17d21fa2003-10-09 11:46:23 +0000225
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000226config FEATURE_DEVFS
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000227 bool "Use devfs names for all devices (obsolete)"
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000228 default n
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200229 depends on PLATFORM_LINUX
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000230 help
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000231 This is obsolete and should NOT be used anymore.
232 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
Rob Landley1f9145c2006-07-12 21:31:16 +0000233
Bernhard Reutner-Fischer52b56b72009-02-14 12:19:37 +0000234 For legacy systems -- if there is no way around devfsd -- this
235 tells busybox to look for names like /dev/loop/0 instead of
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000236 /dev/loop0. If your /dev directory has normal names instead of
Rob Landley4c5ad2f2006-06-07 20:11:53 +0000237 devfs names, you don't want this.
238
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000239config DEVMEM
240 bool "devmem"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200241 default y
Denis Vlasenkoc94fa562008-10-26 11:08:14 +0000242 help
243 devmem is a small program that reads and writes from physical
244 memory using /dev/mem.
245
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000246config EJECT
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000247 bool "eject"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200248 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200249 depends on PLATFORM_LINUX
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000250 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000251 Used to eject cdroms. (defaults to /dev/cdrom)
Mike Frysinger55e2cf62005-05-11 00:25:47 +0000252
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000253config FEATURE_EJECT_SCSI
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000254 bool "SCSI support"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200255 default y
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000256 depends on EJECT
257 help
258 Add the -s option to eject, this allows to eject SCSI-Devices and
259 usb-storage devices.
260
261config FBSPLASH
262 bool "fbsplash"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200263 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200264 depends on PLATFORM_LINUX
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000265 help
266 Shows splash image and progress bar on framebuffer device.
267 Can be used during boot phase of an embedded device. ~2kb.
268 Usage:
269 - use kernel option 'vga=xxx' or otherwise enable fb device.
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000270 - put somewhere fbsplash.cfg file and an image in .ppm format.
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000271 - $ setsid fbsplash [params] &
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000272 -c: hide cursor
273 -d /dev/fbN: framebuffer device (if not /dev/fb0)
274 -s path_to_image_file (can be "-" for stdin)
Denis Vlasenko72b34422008-03-27 13:14:29 +0000275 -i path_to_cfg_file (can be "-" for stdin)
Denis Vlasenko25a9c172008-03-26 15:12:11 +0000276 -f path_to_fifo (can be "-" for stdin)
277 - if you want to run it only in presence of kernel parameter:
Denis Vlasenko08ec67b2008-03-26 13:32:30 +0000278 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
279 - commands for fifo:
280 "NN" (ASCII decimal number) - percentage to show on progress bar
Denis Vlasenko72b34422008-03-27 13:14:29 +0000281 "exit" - well you guessed it
Bernhard Reutner-Fischerafdad652008-02-08 15:04:00 +0000282
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100283config FLASHCP
284 bool "flashcp"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200285 default n # doesn't build on Ubuntu 8.04
Stefan Seyfriedd095fd42009-11-21 18:32:19 +0100286 help
287 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
288 This utility is used to copy images into a MTD device.
289
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200290config FLASH_LOCK
291 bool "flash_lock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200292 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200293 help
294 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
295 utility locks part or all of the flash device.
296
297config FLASH_UNLOCK
298 bool "flash_unlock"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200299 default n # doesn't build on Ubuntu 8.04
Denys Vlasenkobf2af9a2009-05-25 04:15:37 +0200300 help
301 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
302 utility unlocks part or all of the flash device.
303
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000304config FLASH_ERASEALL
305 bool "flash_eraseall"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200306 default n # doesn't build on Ubuntu 8.04
Bernhard Reutner-Fischer0d22d172009-02-18 13:23:46 +0000307 help
308 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
309 This utility is used to erase the whole MTD device.
310
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000311config IONICE
312 bool "ionice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200313 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200314 depends on PLATFORM_LINUX
Denis Vlasenko4acdb462009-01-31 21:45:57 +0000315 help
316 Set/set program io scheduling class and priority
317 Requires kernel >= 2.6.13
318
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000319config INOTIFYD
320 bool "inotifyd"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200321 default n # doesn't build on Knoppix 5
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000322 help
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000323 Simple inotify daemon. Reports filesystem changes. Requires
324 kernel >= 2.6.13
Denis Vlasenko8e2c9e12008-05-24 20:47:18 +0000325
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000326config LAST
Eric Andersen2e9c2572003-08-08 22:26:06 +0000327 bool "last"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200328 default y
Denys Vlasenko6dbbac52010-04-06 18:48:32 +0200329 depends on FEATURE_WTMP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000330 help
Eric Andersen2e9c2572003-08-08 22:26:06 +0000331 'last' displays a list of the last users that logged into the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000332
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000333choice
334 prompt "Choose last implementation"
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000335 depends on LAST
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200336 default FEATURE_LAST_FANCY
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000337
338config FEATURE_LAST_SMALL
339 bool "small"
340 help
341 This is a small version of last with just the basic set of
342 features.
343
344config FEATURE_LAST_FANCY
345 bool "huge"
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000346 help
347 'last' displays detailed information about the last users that
348 logged into the system (mimics sysvinit last). +900 bytes.
Bernhard Reutner-Fischer69d5ba22008-05-22 21:56:26 +0000349endchoice
Denis Vlasenko869d3d32008-05-22 02:07:58 +0000350
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000351config LESS
Rob Landley9200e792005-09-15 19:26:59 +0000352 bool "less"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200353 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200354 depends on PLATFORM_LINUX
Rob Landley9200e792005-09-15 19:26:59 +0000355 help
356 'less' is a pager, meaning that it displays text files. It possesses
357 a wide array of features, and is an improvement over 'more'.
358
Denis Vlasenko9a7cef92006-12-20 02:46:48 +0000359config FEATURE_LESS_MAXLINES
360 int "Max number of input lines less will try to eat"
361 default 9999999
362 depends on LESS
363
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000364config FEATURE_LESS_BRACKETS
Rob Landley2ec922e2006-04-13 23:22:16 +0000365 bool "Enable bracket searching"
Rob Landley9200e792005-09-15 19:26:59 +0000366 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000367 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000368 help
369 This option adds the capability to search for matching left and right
370 brackets, facilitating programming.
371
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000372config FEATURE_LESS_FLAGS
Rob Landley2ec922e2006-04-13 23:22:16 +0000373 bool "Enable extra flags"
Rob Landley9200e792005-09-15 19:26:59 +0000374 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000375 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000376 help
377 The extra flags provided do the following:
378
379 The -M flag enables a more sophisticated status line.
380 The -m flag enables a simpler status line with a percentage.
381
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000382config FEATURE_LESS_MARKS
Rob Landley2ec922e2006-04-13 23:22:16 +0000383 bool "Enable marks"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200384 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000385 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000386 help
387 Marks enable positions in a file to be stored for easy reference.
388
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000389config FEATURE_LESS_REGEXP
Rob Landley2ec922e2006-04-13 23:22:16 +0000390 bool "Enable regular expressions"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200391 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000392 depends on LESS
Rob Landley9200e792005-09-15 19:26:59 +0000393 help
394 Enable regular expressions, allowing complex file searches.
395
Denis Vlasenko53c80f02008-10-24 22:43:27 +0000396config FEATURE_LESS_WINCH
397 bool "Enable automatic resizing on window size changes"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200398 default y
Denis Vlasenko53c80f02008-10-24 22:43:27 +0000399 depends on LESS
400 help
401 Makes less track window size changes.
402
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000403config FEATURE_LESS_DASHCMD
404 bool "Enable flag changes ('-' command)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200405 default y
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000406 depends on LESS
407 help
408 This enables the ability to change command-line flags within
409 less itself ('-' keyboard command).
410
411config FEATURE_LESS_LINENUMS
412 bool "Enable dynamic switching of line numbers"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200413 default y
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000414 depends on FEATURE_LESS_DASHCMD
415 help
Denys Vlasenko416f0402010-07-29 02:22:43 +0200416 Enables "-N" command.
Denis Vlasenko4cfa5a22008-11-10 09:33:42 +0000417
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000418config HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000419 bool "hdparm"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200420 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200421 depends on PLATFORM_LINUX
Eric Andersen3443bd72003-07-22 07:30:36 +0000422 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000423 Get/Set hard drive parameters. Primarily intended for ATA
424 drives. Adds about 13k (or around 30k if you enable the
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000425 FEATURE_HDPARM_GET_IDENTITY option)....
Eric Andersen3443bd72003-07-22 07:30:36 +0000426
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000427config FEATURE_HDPARM_GET_IDENTITY
Rob Landley2ec922e2006-04-13 23:22:16 +0000428 bool "Support obtaining detailed information directly from drives"
Eric Andersen3443bd72003-07-22 07:30:36 +0000429 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000430 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000431 help
Rob Landley06208412006-05-31 22:52:57 +0000432 Enables the -I and -i options to obtain detailed information
Eric Andersen3443bd72003-07-22 07:30:36 +0000433 directly from drives about their capabilities and supported ATA
Rob Landley06208412006-05-31 22:52:57 +0000434 feature set. If no device name is specified, hdparm will read
435 identify data from stdin. Enabling this option will add about 16k...
Eric Andersen3443bd72003-07-22 07:30:36 +0000436
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000437config FEATURE_HDPARM_HDIO_SCAN_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000438 bool "Register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200439 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000440 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000441 help
442 Enables the 'hdparm -R' option to register an IDE interface.
443 This is dangerous stuff, so you should probably say N.
444
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000445config FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
Rob Landley2ec922e2006-04-13 23:22:16 +0000446 bool "Un-register an IDE interface (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200447 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000448 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000449 help
450 Enables the 'hdparm -U' option to un-register an IDE interface.
451 This is dangerous stuff, so you should probably say N.
452
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000453config FEATURE_HDPARM_HDIO_DRIVE_RESET
Denis Vlasenko97faf532008-07-15 22:01:49 +0000454 bool "Perform device reset (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200455 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000456 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000457 help
458 Enables the 'hdparm -w' option to perform a device reset.
459 This is dangerous stuff, so you should probably say N.
460
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000461config FEATURE_HDPARM_HDIO_TRISTATE_HWIF
Denis Vlasenko97faf532008-07-15 22:01:49 +0000462 bool "Tristate device for hotswap (DANGEROUS)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200463 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000464 depends on HDPARM
Eric Andersen3443bd72003-07-22 07:30:36 +0000465 help
466 Enables the 'hdparm -x' option to tristate device for hotswap,
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000467 and the '-b' option to get/set bus state. This is dangerous
Eric Andersen3443bd72003-07-22 07:30:36 +0000468 stuff, so you should probably say N.
469
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000470config FEATURE_HDPARM_HDIO_GETSET_DMA
Denis Vlasenkoa83dbd42009-03-29 17:13:20 +0000471 bool "Get/set using_dma flag"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200472 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000473 depends on HDPARM
Eric Andersen0a57a792003-08-06 08:57:35 +0000474 help
475 Enables the 'hdparm -d' option to get/set using_dma flag.
Eric Andersen0a57a792003-08-06 08:57:35 +0000476
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000477config MAKEDEVS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000478 bool "makedevs"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200479 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000480 help
Eric Andersen3d925622005-06-09 10:16:02 +0000481 'makedevs' is a utility used to create a batch of devices with
482 one command.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200483
Eric Andersen3d925622005-06-09 10:16:02 +0000484 There are two choices for command line behaviour, the interface
485 as used by LEAF/Linux Router Project, or a device table file.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200486
Eric Andersen3d925622005-06-09 10:16:02 +0000487 'leaf' is traditionally what busybox follows, it allows multiple
488 devices of a particluar type to be created per command.
489 e.g. /dev/hda[0-9]
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000490 Device properties are passed as command line arguments.
Denys Vlasenko416f0402010-07-29 02:22:43 +0200491
Eric Andersen3d925622005-06-09 10:16:02 +0000492 'table' reads device properties from a file or stdin, allowing
Bernhard Reutner-Fischer771b1862006-03-24 14:30:05 +0000493 a batch of unrelated devices to be made with one command.
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000494 User/group names are allowed as an alternative to uid/gid.
Eric Andersen3d925622005-06-09 10:16:02 +0000495
496choice
497 prompt "Choose makedevs behaviour"
Mike Frysinger08e70972007-01-24 09:14:09 +0000498 depends on MAKEDEVS
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000499 default FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000500
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000501config FEATURE_MAKEDEVS_LEAF
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000502 bool "leaf"
Eric Andersen3d925622005-06-09 10:16:02 +0000503
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000504config FEATURE_MAKEDEVS_TABLE
Eric Andersen3d925622005-06-09 10:16:02 +0000505 bool "table"
506
507endchoice
Eric Andersenc9f20d92002-12-05 08:41:41 +0000508
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000509config MAN
510 bool "man"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200511 default y
Denis Vlasenkoffa44992008-04-13 08:20:00 +0000512 help
513 Format and display manual pages.
514
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000515config MICROCOM
516 bool "microcom"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200517 default y
Denis Vlasenko23856ab2007-09-22 20:51:41 +0000518 help
519 The poor man's minicom utility for chatting with serial port devices.
520
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000521config MOUNTPOINT
Rob Landleyd00b3a52005-08-20 05:07:08 +0000522 bool "mountpoint"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200523 default y
Rob Landleyd00b3a52005-08-20 05:07:08 +0000524 help
525 mountpoint checks if the directory is a mountpoint.
526
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000527config MT
Eric Andersenc9f20d92002-12-05 08:41:41 +0000528 bool "mt"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200529 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000530 help
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000531 mt is used to control tape devices. You can use the mt utility
Eric Andersene5642112003-07-14 19:37:08 +0000532 to advance or rewind a tape past a specified number of archive
533 files on the tape.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000534
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000535config RAIDAUTORUN
536 bool "raidautorun"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200537 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200538 depends on PLATFORM_LINUX
Denis Vlasenkoc108ed52006-10-20 19:39:48 +0000539 help
540 raidautorun tells the kernel md driver to
541 search and start RAID arrays.
542
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000543config READAHEAD
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000544 bool "readahead"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200545 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200546 depends on LFS && PLATFORM_LINUX
Rob Landley0e4690d2006-08-20 22:12:18 +0000547 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000548 Preload the files listed on the command line into RAM cache so that
Rob Landley0e4690d2006-08-20 22:12:18 +0000549 subsequent reads on these files will not block on disk I/O.
550
551 This applet just calls the readahead(2) system call on each file.
552 It is mainly useful in system startup scripts to preload files
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000553 or executables before they are used. When used at the right time
Denis Vlasenkob15ebe42008-04-13 22:41:27 +0000554 (in particular when a CPU bound process is running) it can
Rob Landley0e4690d2006-08-20 22:12:18 +0000555 significantly speed up system startup.
556
557 As readahead(2) blocks until each file has been read, it is best to
Denis Vlasenko9213a9e2006-09-17 16:28:10 +0000558 run this applet as a background job.
Rob Landley0e4690d2006-08-20 22:12:18 +0000559
Souf Oued43afd752010-05-02 18:45:02 +0200560config RFKILL
561 bool "rfkill"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200562 default n # doesn't build on Ubuntu 9.04
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200563 depends on PLATFORM_LINUX
Souf Oued43afd752010-05-02 18:45:02 +0200564 help
565 Enable/disable wireless devices.
566
567 rfkill list : list all wireless devices
568 rfkill list bluetooth : list all bluetooth devices
569 rfkill list 1 : list device corresponding to the given index
570 rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
571
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000572config RUNLEVEL
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000573 bool "runlevel"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200574 default y
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000575 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000576 find the current and previous system runlevel.
Bernhard Reutner-Fischer62d7acc2005-10-28 20:37:03 +0000577
578 This applet uses utmp but does not rely on busybox supporing
579 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
580
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000581config RX
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000582 bool "rx"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200583 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200584 depends on PLATFORM_LINUX
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000585 help
Mike Frysinger71a6a4e2007-01-24 08:24:43 +0000586 Receive files using the Xmodem protocol.
Glenn L McGrath8f3bc4c2003-12-20 07:30:35 +0000587
Denis Vlasenko376003b2008-04-21 05:05:17 +0000588config SETSID
589 bool "setsid"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200590 default y
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000591 help
Denis Vlasenko376003b2008-04-21 05:05:17 +0000592 setsid runs a program in a new session
Denis Vlasenko5014dad2008-02-27 11:54:59 +0000593
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000594config STRINGS
Eric Andersenc9f20d92002-12-05 08:41:41 +0000595 bool "strings"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200596 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000597 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000598 strings prints the printable character sequences for each file
Eric Andersene5642112003-07-14 19:37:08 +0000599 specified.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000600
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000601config TASKSET
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000602 bool "taskset"
Denys Vlasenko6ac37da2010-07-14 08:33:20 +0200603 default n # doesn't build on some non-x86 targets (m68k)
Bernhard Reutner-Fischer16d3e4e2006-06-07 15:44:59 +0000604 help
Mike Frysinger259472e2006-07-03 05:22:36 +0000605 Retrieve or set a processes's CPU affinity.
Bernhard Reutner-Fischer32eddff2006-11-22 16:39:48 +0000606 This requires sched_{g,s}etaffinity support in your libc.
607
608config FEATURE_TASKSET_FANCY
Denis Vlasenko4ee7cd42008-03-17 09:13:22 +0000609 bool "Fancy output"
Bernhard Reutner-Fischer32eddff2006-11-22 16:39:48 +0000610 default y
611 depends on TASKSET
612 help
613 Add code for fancy output. This merely silences a compiler-warning
614 and adds about 135 Bytes. May be needed for machines with alot
615 of CPUs.
Rob Landley12d94192006-06-30 22:20:43 +0000616
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000617config TIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000618 bool "time"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200619 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000620 help
Eric Andersene5642112003-07-14 19:37:08 +0000621 The time command runs the specified program with the given arguments.
622 When the command finishes, time writes a message to standard output
623 giving timing statistics about this program run.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000624
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000625config TIMEOUT
626 bool "timeout"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200627 default y
Denis Vlasenkoa9acbe62008-11-24 13:25:20 +0000628 help
629 Runs a program and watches it. If it does not terminate in
630 specified number of seconds, it is sent a signal.
631
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000632config TTYSIZE
633 bool "ttysize"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200634 default y
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000635 help
636 A replacement for "stty size". Unlike stty, can report only width,
Bernhard Reutner-Fischerb1119172008-07-01 12:20:20 +0000637 only height, or both, in any order. It also does not complain on
638 error, but returns default 80x24.
639 Usage in shell scripts: width=`ttysize w`.
Denis Vlasenkoc01af952007-08-02 22:23:47 +0000640
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200641config VOLNAME
642 bool "volname"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200643 default y
Matthew Stoltenberg4803db52009-08-13 00:59:32 +0200644 help
645 Prints a CD-ROM volume name.
646
Bernhard Reutner-Fischere039e682009-10-26 23:29:03 +0100647config WALL
648 bool "wall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200649 default y
Bernhard Reutner-Fischere039e682009-10-26 23:29:03 +0100650 help
651 Write a message to all users that are logged in.
652
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000653config WATCHDOG
Eric Andersenc9f20d92002-12-05 08:41:41 +0000654 bool "watchdog"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200655 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200656 depends on PLATFORM_LINUX
Eric Andersenc9f20d92002-12-05 08:41:41 +0000657 help
Eric Andersen88c916b2003-10-22 09:58:56 +0000658 The watchdog utility is used with hardware or software watchdog
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +0000659 device drivers. It opens the specified watchdog device special file
660 and periodically writes a magic character to the device. If the
Eric Andersen795c4ba2003-07-22 10:11:48 +0000661 watchdog applet ever fails to write the magic character within a
Eric Andersenac00aa72003-07-26 08:07:56 +0000662 certain amount of time, the watchdog device assumes the system has
663 hung, and will cause the hardware to reboot.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000664
665endmenu