busybox: update to version 1.34.0
[openwrt/staging/nbd.git] / package / utils / busybox / config / miscutils / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see docs/Kconfig-language.txt.
5 #
6
7 menu "Miscellaneous Utilities"
8
9 config BUSYBOX_CONFIG_ADJTIMEX
10 bool "adjtimex (4.7 kb)"
11 default BUSYBOX_DEFAULT_ADJTIMEX
12 help
13 Adjtimex reads and optionally sets adjustment parameters for
14 the Linux clock adjustment algorithm.
15 config BUSYBOX_CONFIG_ASCII
16 bool "ascii"
17 default BUSYBOX_DEFAULT_ASCII
18 help
19 Print ascii table.
20
21 config BUSYBOX_CONFIG_BBCONFIG
22 bool "bbconfig (9.7 kb)"
23 default BUSYBOX_DEFAULT_BBCONFIG
24 help
25 The bbconfig applet will print the config file with which
26 busybox was built.
27
28 config BUSYBOX_CONFIG_FEATURE_COMPRESS_BBCONFIG
29 bool "Compress bbconfig data"
30 default BUSYBOX_DEFAULT_FEATURE_COMPRESS_BBCONFIG
31 depends on BUSYBOX_CONFIG_BBCONFIG
32 help
33 Store bbconfig data in compressed form, uncompress them on-the-fly
34 before output.
35
36 If you have a really tiny busybox with few applets enabled (and
37 bunzip2 isn't one of them), the overhead of the decompressor might
38 be noticeable. Also, if you run executables directly from ROM
39 and have very little memory, this might not be a win. Otherwise,
40 you probably want this.
41 config BUSYBOX_CONFIG_BC
42 bool "bc (45 kb)"
43 default BUSYBOX_DEFAULT_BC
44 select BUSYBOX_CONFIG_FEATURE_DC_BIG
45 help
46 bc is a command-line, arbitrary-precision calculator with a
47 Turing-complete language. See the GNU bc manual
48 (https://www.gnu.org/software/bc/manual/bc.html) and bc spec
49 (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/bc.html).
50
51 This bc has five differences to the GNU bc:
52 1) The period (.) is a shortcut for "last", as in the BSD bc.
53 2) Arrays are copied before being passed as arguments to
54 functions. This behavior is required by the bc spec.
55 3) Arrays can be passed to the builtin "length" function to get
56 the number of elements in the array. This prints "1":
57 a[0] = 0; length(a[])
58 4) The precedence of the boolean "not" operator (!) is equal to
59 that of the unary minus (-) negation operator. This still
60 allows POSIX-compliant scripts to work while somewhat
61 preserving expected behavior (versus C) and making parsing
62 easier.
63 5) "read()" accepts expressions, not only numeric literals.
64
65 config BUSYBOX_CONFIG_DC
66 bool "dc (36 kb)"
67 default BUSYBOX_DEFAULT_DC
68 help
69 dc is a reverse-polish notation command-line calculator which
70 supports unlimited precision arithmetic. See the FreeBSD man page
71 (https://www.unix.com/man-page/FreeBSD/1/dc/) and GNU dc manual
72 (https://www.gnu.org/software/bc/manual/dc-1.05/html_mono/dc.html).
73
74 This dc has a few differences from the two above:
75 1) When printing a byte stream (command "P"), this dc follows what
76 the FreeBSD dc does.
77 2) Implements the GNU extensions for divmod ("~") and
78 modular exponentiation ("|").
79 3) Implements all FreeBSD extensions, except for "J" and "M".
80 4) Like the FreeBSD dc, this dc supports extended registers.
81 However, they are implemented differently. When it encounters
82 whitespace where a register should be, it skips the whitespace.
83 If the character following is not a lowercase letter, an error
84 is issued. Otherwise, the register name is parsed by the
85 following regex: [a-z][a-z0-9_]*
86 This generally means that register names will be surrounded by
87 whitespace. Examples:
88 l idx s temp L index S temp2 < do_thing
89 Also note that, like the FreeBSD dc, extended registers are not
90 allowed unless the "-x" option is given.
91
92 if BC || BUSYBOX_CONFIG_DC # for menuconfig indenting
93
94 config BUSYBOX_CONFIG_FEATURE_DC_BIG
95 bool "Use bc code base for dc (larger, more features)"
96 default BUSYBOX_DEFAULT_FEATURE_DC_BIG
97
98 config BUSYBOX_CONFIG_FEATURE_DC_LIBM
99 bool "Enable power and exp functions (requires libm)"
100 default BUSYBOX_DEFAULT_FEATURE_DC_LIBM
101 depends on BUSYBOX_CONFIG_DC && !BUSYBOX_CONFIG_BC && !BUSYBOX_CONFIG_FEATURE_DC_BIG
102 help
103 Enable power and exp functions.
104 NOTE: This will require libm to be present for linking.
105
106 config BUSYBOX_CONFIG_FEATURE_BC_INTERACTIVE
107 bool "Interactive mode (+4kb)"
108 default BUSYBOX_DEFAULT_FEATURE_BC_INTERACTIVE
109 depends on BUSYBOX_CONFIG_BC || (BUSYBOX_CONFIG_DC && BUSYBOX_CONFIG_FEATURE_DC_BIG)
110 help
111 Enable interactive mode: when started on a tty,
112 ^C interrupts execution and returns to command line,
113 errors also return to command line instead of exiting,
114 line editing with history is available.
115
116 With this option off, input can still be taken from tty,
117 but all errors are fatal, ^C is fatal,
118 tty is treated exactly the same as any other
119 standard input (IOW: no line editing).
120
121 config BUSYBOX_CONFIG_FEATURE_BC_LONG_OPTIONS
122 bool "Enable bc/dc long options"
123 default BUSYBOX_DEFAULT_FEATURE_BC_LONG_OPTIONS
124 depends on BUSYBOX_CONFIG_BC || (BUSYBOX_CONFIG_DC && BUSYBOX_CONFIG_FEATURE_DC_BIG)
125
126 endif
127 config BUSYBOX_CONFIG_BEEP
128 bool "beep (2.4 kb)"
129 default BUSYBOX_DEFAULT_BEEP
130 help
131 The beep applets beeps in a given freq/Hz.
132
133 config BUSYBOX_CONFIG_FEATURE_BEEP_FREQ
134 int "default frequency"
135 range 20 50000 # allowing 0 here breaks the build
136 default BUSYBOX_DEFAULT_FEATURE_BEEP_FREQ
137 depends on BUSYBOX_CONFIG_BEEP
138 help
139 Frequency for default beep.
140
141 config BUSYBOX_CONFIG_FEATURE_BEEP_LENGTH_MS
142 int "default length"
143 range 0 2147483647
144 default BUSYBOX_DEFAULT_FEATURE_BEEP_LENGTH_MS
145 depends on BUSYBOX_CONFIG_BEEP
146 help
147 Length in ms for default beep.
148 config BUSYBOX_CONFIG_CHAT
149 bool "chat (6.3 kb)"
150 default BUSYBOX_DEFAULT_CHAT
151 help
152 Simple chat utility.
153
154 config BUSYBOX_CONFIG_FEATURE_CHAT_NOFAIL
155 bool "Enable NOFAIL expect strings"
156 depends on BUSYBOX_CONFIG_CHAT
157 default BUSYBOX_DEFAULT_FEATURE_CHAT_NOFAIL
158 help
159 When enabled expect strings which are started with a dash trigger
160 no-fail mode. That is when expectation is not met within timeout
161 the script is not terminated but sends next SEND string and waits
162 for next EXPECT string. This allows to compose far more flexible
163 scripts.
164
165 config BUSYBOX_CONFIG_FEATURE_CHAT_TTY_HIFI
166 bool "Force STDIN to be a TTY"
167 depends on BUSYBOX_CONFIG_CHAT
168 default BUSYBOX_DEFAULT_FEATURE_CHAT_TTY_HIFI
169 help
170 Original chat always treats STDIN as a TTY device and sets for it
171 so-called raw mode. This option turns on such behaviour.
172
173 config BUSYBOX_CONFIG_FEATURE_CHAT_IMPLICIT_CR
174 bool "Enable implicit Carriage Return"
175 depends on BUSYBOX_CONFIG_CHAT
176 default BUSYBOX_DEFAULT_FEATURE_CHAT_IMPLICIT_CR
177 help
178 When enabled make chat to terminate all SEND strings with a "\r"
179 unless "\c" is met anywhere in the string.
180
181 config BUSYBOX_CONFIG_FEATURE_CHAT_SWALLOW_OPTS
182 bool "Swallow options"
183 depends on BUSYBOX_CONFIG_CHAT
184 default BUSYBOX_DEFAULT_FEATURE_CHAT_SWALLOW_OPTS
185 help
186 Busybox chat require no options. To make it not fail when used
187 in place of original chat (which has a bunch of options) turn
188 this on.
189
190 config BUSYBOX_CONFIG_FEATURE_CHAT_SEND_ESCAPES
191 bool "Support weird SEND escapes"
192 depends on BUSYBOX_CONFIG_CHAT
193 default BUSYBOX_DEFAULT_FEATURE_CHAT_SEND_ESCAPES
194 help
195 Original chat uses some escape sequences in SEND arguments which
196 are not sent to device but rather performs special actions.
197 E.g. "\K" means to send a break sequence to device.
198 "\d" delays execution for a second, "\p" -- for a 1/100 of second.
199 Before turning this option on think twice: do you really need them?
200
201 config BUSYBOX_CONFIG_FEATURE_CHAT_VAR_ABORT_LEN
202 bool "Support variable-length ABORT conditions"
203 depends on BUSYBOX_CONFIG_CHAT
204 default BUSYBOX_DEFAULT_FEATURE_CHAT_VAR_ABORT_LEN
205 help
206 Original chat uses fixed 50-bytes length ABORT conditions. Say N here.
207
208 config BUSYBOX_CONFIG_FEATURE_CHAT_CLR_ABORT
209 bool "Support revoking of ABORT conditions"
210 depends on BUSYBOX_CONFIG_CHAT
211 default BUSYBOX_DEFAULT_FEATURE_CHAT_CLR_ABORT
212 help
213 Support CLR_ABORT directive.
214 config BUSYBOX_CONFIG_CONSPY
215 bool "conspy (10 kb)"
216 default BUSYBOX_DEFAULT_CONSPY
217 help
218 A text-mode VNC like program for Linux virtual terminals.
219 example: conspy NUM shared access to console num
220 or conspy -nd NUM screenshot of console num
221 or conspy -cs NUM poor man's GNU screen like
222 config BUSYBOX_CONFIG_CROND
223 bool "crond (14 kb)"
224 default BUSYBOX_DEFAULT_CROND
225 select BUSYBOX_CONFIG_FEATURE_SYSLOG
226 help
227 Crond is a background daemon that parses individual crontab
228 files and executes commands on behalf of the users in question.
229 This is a port of dcron from slackware. It uses files of the
230 format /var/spool/cron/crontabs/<username> files, for example:
231 $ cat /var/spool/cron/crontabs/root
232 # Run daily cron jobs at 4:40 every day:
233 40 4 * * * /etc/cron/daily > /dev/null 2>&1
234
235 config BUSYBOX_CONFIG_FEATURE_CROND_D
236 bool "Support -d (redirect output to stderr)"
237 depends on BUSYBOX_CONFIG_CROND
238 default BUSYBOX_DEFAULT_FEATURE_CROND_D
239 help
240 -d N sets loglevel (0:most verbose) and directs all output to stderr.
241
242 config BUSYBOX_CONFIG_FEATURE_CROND_CALL_SENDMAIL
243 bool "Report command output via email (using sendmail)"
244 default BUSYBOX_DEFAULT_FEATURE_CROND_CALL_SENDMAIL
245 depends on BUSYBOX_CONFIG_CROND
246 help
247 Command output will be sent to corresponding user via email.
248
249 config BUSYBOX_CONFIG_FEATURE_CROND_SPECIAL_TIMES
250 bool "Support special times (@reboot, @daily, etc) in crontabs"
251 default BUSYBOX_DEFAULT_FEATURE_CROND_SPECIAL_TIMES
252 depends on BUSYBOX_CONFIG_CROND
253 help
254 string meaning
255 ------ -------
256 @reboot Run once, at startup
257 @yearly Run once a year: "0 0 1 1 *"
258 @annually Same as @yearly: "0 0 1 1 *"
259 @monthly Run once a month: "0 0 1 * *"
260 @weekly Run once a week: "0 0 * * 0"
261 @daily Run once a day: "0 0 * * *"
262 @midnight Same as @daily: "0 0 * * *"
263 @hourly Run once an hour: "0 * * * *"
264
265 config BUSYBOX_CONFIG_FEATURE_CROND_DIR
266 string "crond spool directory"
267 default BUSYBOX_DEFAULT_FEATURE_CROND_DIR
268 depends on BUSYBOX_CONFIG_CROND || BUSYBOX_CONFIG_CRONTAB
269 help
270 Location of crond spool.
271 config BUSYBOX_CONFIG_CRONTAB
272 bool "crontab (10 kb)"
273 default BUSYBOX_DEFAULT_CRONTAB
274 help
275 Crontab manipulates the crontab for a particular user. Only
276 the superuser may specify a different user and/or crontab directory.
277 Note that busybox binary must be setuid root for this applet to
278 work properly.
279 config BUSYBOX_CONFIG_DEVFSD
280 bool "devfsd (obsolete)"
281 default BUSYBOX_DEFAULT_DEVFSD
282 select BUSYBOX_CONFIG_FEATURE_SYSLOG
283 help
284 This is deprecated and should NOT be used anymore.
285 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
286 See docs/mdev.txt for detailed instructions on how to use mdev
287 instead.
288
289 Provides compatibility with old device names on a devfs systems.
290 You should set it to true if you have devfs enabled.
291 The following keywords in devsfd.conf are supported:
292 "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE",
293 "PERMISSIONS", "EXECUTE", "COPY", "IGNORE",
294 "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT".
295
296 But only if they are written UPPERCASE!!!!!!!!
297
298 config BUSYBOX_CONFIG_DEVFSD_MODLOAD
299 bool "Adds support for MODLOAD keyword in devsfd.conf"
300 default BUSYBOX_DEFAULT_DEVFSD_MODLOAD
301 depends on BUSYBOX_CONFIG_DEVFSD
302 help
303 This actually doesn't work with busybox modutils but needs
304 the external modutils.
305
306 config BUSYBOX_CONFIG_DEVFSD_FG_NP
307 bool "Enable the -fg and -np options"
308 default BUSYBOX_DEFAULT_DEVFSD_FG_NP
309 depends on BUSYBOX_CONFIG_DEVFSD
310 help
311 -fg Run the daemon in the foreground.
312 -np Exit after parsing config. Do not poll for events.
313
314 config BUSYBOX_CONFIG_DEVFSD_VERBOSE
315 bool "Increases logging (and size)"
316 default BUSYBOX_DEFAULT_DEVFSD_VERBOSE
317 depends on BUSYBOX_CONFIG_DEVFSD
318 help
319 Increases logging to stderr or syslog.
320
321 config BUSYBOX_CONFIG_FEATURE_DEVFS
322 bool "Use devfs names for all devices (obsolete)"
323 default BUSYBOX_DEFAULT_FEATURE_DEVFS
324 help
325 This is obsolete and should NOT be used anymore.
326 Use linux >= 2.6 (optionally with hotplug) and mdev instead!
327
328 For legacy systems -- if there is no way around devfsd -- this
329 tells busybox to look for names like /dev/loop/0 instead of
330 /dev/loop0. If your /dev directory has normal names instead of
331 devfs names, you don't want this.
332 config BUSYBOX_CONFIG_DEVMEM
333 bool "devmem (2.5 kb)"
334 default BUSYBOX_DEFAULT_DEVMEM
335 help
336 devmem is a small program that reads and writes from physical
337 memory using /dev/mem.
338 config BUSYBOX_CONFIG_FBSPLASH
339 bool "fbsplash (26 kb)"
340 default BUSYBOX_DEFAULT_FBSPLASH
341 help
342 Shows splash image and progress bar on framebuffer device.
343 Can be used during boot phase of an embedded device.
344 Usage:
345 - use kernel option 'vga=xxx' or otherwise enable fb device.
346 - put somewhere fbsplash.cfg file and an image in .ppm format.
347 - $ setsid fbsplash [params] &
348 -c: hide cursor
349 -d /dev/fbN: framebuffer device (if not /dev/fb0)
350 -s path_to_image_file (can be "-" for stdin)
351 -i path_to_cfg_file (can be "-" for stdin)
352 -f path_to_fifo (can be "-" for stdin)
353 - if you want to run it only in presence of kernel parameter:
354 grep -q "fbsplash=on" </proc/cmdline && setsid fbsplash [params] &
355 - commands for fifo:
356 "NN" (ASCII decimal number) - percentage to show on progress bar
357 "exit" - well you guessed it
358 config BUSYBOX_CONFIG_FLASH_ERASEALL
359 bool "flash_eraseall (5.9 kb)"
360 default BUSYBOX_DEFAULT_FLASH_ERASEALL # doesn't build on Ubuntu 8.04
361 help
362 The flash_eraseall binary from mtd-utils as of git head c4c6a59eb.
363 This utility is used to erase the whole MTD device.
364 config BUSYBOX_CONFIG_FLASH_LOCK
365 bool "flash_lock (2.1 kb)"
366 default BUSYBOX_DEFAULT_FLASH_LOCK # doesn't build on Ubuntu 8.04
367 help
368 The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This
369 utility locks part or all of the flash device.
370
371 config BUSYBOX_CONFIG_FLASH_UNLOCK
372 bool "flash_unlock (1.3 kb)"
373 default BUSYBOX_DEFAULT_FLASH_UNLOCK # doesn't build on Ubuntu 8.04
374 help
375 The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
376 utility unlocks part or all of the flash device.
377 config BUSYBOX_CONFIG_FLASHCP
378 bool "flashcp (5.3 kb)"
379 default BUSYBOX_DEFAULT_FLASHCP # doesn't build on Ubuntu 8.04
380 help
381 The flashcp binary, inspired by mtd-utils as of git head 5eceb74f7.
382 This utility is used to copy images into a MTD device.
383 config BUSYBOX_CONFIG_HDPARM
384 bool "hdparm (25 kb)"
385 default BUSYBOX_DEFAULT_HDPARM
386 help
387 Get/Set hard drive parameters. Primarily intended for ATA
388 drives.
389
390 config BUSYBOX_CONFIG_FEATURE_HDPARM_GET_IDENTITY
391 bool "Support obtaining detailed information directly from drives"
392 default BUSYBOX_DEFAULT_FEATURE_HDPARM_GET_IDENTITY
393 depends on BUSYBOX_CONFIG_HDPARM
394 help
395 Enable the -I and -i options to obtain detailed information
396 directly from drives about their capabilities and supported ATA
397 feature set. If no device name is specified, hdparm will read
398 identify data from stdin. Enabling this option will add about 16k...
399
400 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
401 bool "Register an IDE interface (DANGEROUS)"
402 default BUSYBOX_DEFAULT_FEATURE_HDPARM_HDIO_SCAN_HWIF
403 depends on BUSYBOX_CONFIG_HDPARM
404 help
405 Enable the 'hdparm -R' option to register an IDE interface.
406 This is dangerous stuff, so you should probably say N.
407
408 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
409 bool "Un-register an IDE interface (DANGEROUS)"
410 default BUSYBOX_DEFAULT_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF
411 depends on BUSYBOX_CONFIG_HDPARM
412 help
413 Enable the 'hdparm -U' option to un-register an IDE interface.
414 This is dangerous stuff, so you should probably say N.
415
416 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET
417 bool "Perform device reset (DANGEROUS)"
418 default BUSYBOX_DEFAULT_FEATURE_HDPARM_HDIO_DRIVE_RESET
419 depends on BUSYBOX_CONFIG_HDPARM
420 help
421 Enable the 'hdparm -w' option to perform a device reset.
422 This is dangerous stuff, so you should probably say N.
423
424 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
425 bool "Tristate device for hotswap (DANGEROUS)"
426 default BUSYBOX_DEFAULT_FEATURE_HDPARM_HDIO_TRISTATE_HWIF
427 depends on BUSYBOX_CONFIG_HDPARM
428 help
429 Enable the 'hdparm -x' option to tristate device for hotswap,
430 and the '-b' option to get/set bus state. This is dangerous
431 stuff, so you should probably say N.
432
433 config BUSYBOX_CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
434 bool "Get/set using_dma flag"
435 default BUSYBOX_DEFAULT_FEATURE_HDPARM_HDIO_GETSET_DMA
436 depends on BUSYBOX_CONFIG_HDPARM
437 help
438 Enable the 'hdparm -d' option to get/set using_dma flag.
439 config BUSYBOX_CONFIG_HEXEDIT
440 bool "hexedit (21 kb)"
441 default BUSYBOX_DEFAULT_HEXEDIT
442 help
443 Edit file in hexadecimal.
444 config BUSYBOX_CONFIG_I2CGET
445 bool "i2cget (5.5 kb)"
446 default BUSYBOX_DEFAULT_I2CGET
447 help
448 Read from I2C/SMBus chip registers.
449
450 config BUSYBOX_CONFIG_I2CSET
451 bool "i2cset (6.7 kb)"
452 default BUSYBOX_DEFAULT_I2CSET
453 help
454 Set I2C registers.
455
456 config BUSYBOX_CONFIG_I2CDUMP
457 bool "i2cdump (7.1 kb)"
458 default BUSYBOX_DEFAULT_I2CDUMP
459 help
460 Examine I2C registers.
461
462 config BUSYBOX_CONFIG_I2CDETECT
463 bool "i2cdetect (7.1 kb)"
464 default BUSYBOX_DEFAULT_I2CDETECT
465 help
466 Detect I2C chips.
467
468 config BUSYBOX_CONFIG_I2CTRANSFER
469 bool "i2ctransfer (4.0 kb)"
470 default BUSYBOX_DEFAULT_I2CTRANSFER
471 help
472 Send user-defined I2C messages in one transfer.
473
474 config BUSYBOX_CONFIG_INOTIFYD
475 bool "inotifyd (3.6 kb)"
476 default BUSYBOX_DEFAULT_INOTIFYD # doesn't build on Knoppix 5
477 help
478 Simple inotify daemon. Reports filesystem changes. Requires
479 kernel >= 2.6.13
480 config BUSYBOX_CONFIG_LESS
481 bool "less (16 kb)"
482 default BUSYBOX_DEFAULT_LESS
483 help
484 'less' is a pager, meaning that it displays text files. It possesses
485 a wide array of features, and is an improvement over 'more'.
486
487 config BUSYBOX_CONFIG_FEATURE_LESS_MAXLINES
488 int "Max number of input lines less will try to eat"
489 default BUSYBOX_DEFAULT_FEATURE_LESS_MAXLINES
490 depends on BUSYBOX_CONFIG_LESS
491
492 config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS
493 bool "Enable bracket searching"
494 default BUSYBOX_DEFAULT_FEATURE_LESS_BRACKETS
495 depends on BUSYBOX_CONFIG_LESS
496 help
497 This option adds the capability to search for matching left and right
498 brackets, facilitating programming.
499
500 config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS
501 bool "Enable -m/-M"
502 default BUSYBOX_DEFAULT_FEATURE_LESS_FLAGS
503 depends on BUSYBOX_CONFIG_LESS
504 help
505 The -M/-m flag enables a more sophisticated status line.
506
507 config BUSYBOX_CONFIG_FEATURE_LESS_TRUNCATE
508 bool "Enable -S"
509 default BUSYBOX_DEFAULT_FEATURE_LESS_TRUNCATE
510 depends on BUSYBOX_CONFIG_LESS
511 help
512 The -S flag causes long lines to be truncated rather than
513 wrapped.
514
515 config BUSYBOX_CONFIG_FEATURE_LESS_MARKS
516 bool "Enable marks"
517 default BUSYBOX_DEFAULT_FEATURE_LESS_MARKS
518 depends on BUSYBOX_CONFIG_LESS
519 help
520 Marks enable positions in a file to be stored for easy reference.
521
522 config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP
523 bool "Enable regular expressions"
524 default BUSYBOX_DEFAULT_FEATURE_LESS_REGEXP
525 depends on BUSYBOX_CONFIG_LESS
526 help
527 Enable regular expressions, allowing complex file searches.
528
529 config BUSYBOX_CONFIG_FEATURE_LESS_WINCH
530 bool "Enable automatic resizing on window size changes"
531 default BUSYBOX_DEFAULT_FEATURE_LESS_WINCH
532 depends on BUSYBOX_CONFIG_LESS
533 help
534 Makes less track window size changes.
535
536 config BUSYBOX_CONFIG_FEATURE_LESS_ASK_TERMINAL
537 bool "Use 'tell me cursor position' ESC sequence to measure window"
538 default BUSYBOX_DEFAULT_FEATURE_LESS_ASK_TERMINAL
539 depends on BUSYBOX_CONFIG_FEATURE_LESS_WINCH
540 help
541 Makes less track window size changes.
542 If terminal size can't be retrieved and $LINES/$COLUMNS are not set,
543 this option makes less perform a last-ditch effort to find it:
544 position cursor to 999,999 and ask terminal to report real
545 cursor position using "ESC [ 6 n" escape sequence, then read stdin.
546 This is not clean but helps a lot on serial lines and such.
547
548 config BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
549 bool "Enable flag changes ('-' command)"
550 default BUSYBOX_DEFAULT_FEATURE_LESS_DASHCMD
551 depends on BUSYBOX_CONFIG_LESS
552 help
553 This enables the ability to change command-line flags within
554 less itself ('-' keyboard command).
555
556 config BUSYBOX_CONFIG_FEATURE_LESS_LINENUMS
557 bool "Enable -N (dynamic switching of line numbers)"
558 default BUSYBOX_DEFAULT_FEATURE_LESS_LINENUMS
559 depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
560
561 config BUSYBOX_CONFIG_FEATURE_LESS_RAW
562 bool "Enable -R ('raw control characters')"
563 default BUSYBOX_DEFAULT_FEATURE_LESS_RAW
564 depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
565 help
566 This is essential for less applet to work with tools that use colors
567 and paging, such as git, systemd tools or nmcli.
568
569 config BUSYBOX_CONFIG_FEATURE_LESS_ENV
570 bool "Take options from $LESS environment variable"
571 default BUSYBOX_DEFAULT_FEATURE_LESS_ENV
572 depends on BUSYBOX_CONFIG_FEATURE_LESS_DASHCMD
573 help
574 This is essential for less applet to work with tools that use colors
575 and paging, such as git, systemd tools or nmcli.
576 config BUSYBOX_CONFIG_LOCK
577 bool "lock"
578 default BUSYBOX_DEFAULT_LOCK
579 help
580 Small utility for using locks in scripts
581 config BUSYBOX_CONFIG_LSSCSI
582 bool "lsscsi (2.5 kb)"
583 default BUSYBOX_DEFAULT_LSSCSI
584 help
585 lsscsi is a utility for displaying information about SCSI buses in the
586 system and devices connected to them.
587
588 This version uses sysfs (/sys/bus/scsi/devices) only.
589 config BUSYBOX_CONFIG_MAKEDEVS
590 bool "makedevs (9.2 kb)"
591 default BUSYBOX_DEFAULT_MAKEDEVS
592 help
593 'makedevs' is a utility used to create a batch of devices with
594 one command.
595
596 There are two choices for command line behaviour, the interface
597 as used by LEAF/Linux Router Project, or a device table file.
598
599 'leaf' is traditionally what busybox follows, it allows multiple
600 devices of a particluar type to be created per command.
601 e.g. /dev/hda[0-9]
602 Device properties are passed as command line arguments.
603
604 'table' reads device properties from a file or stdin, allowing
605 a batch of unrelated devices to be made with one command.
606 User/group names are allowed as an alternative to uid/gid.
607
608 choice
609 prompt "Choose makedevs behaviour"
610 depends on BUSYBOX_CONFIG_MAKEDEVS
611 default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
612
613 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF
614 bool "leaf"
615
616 config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE
617 bool "table"
618
619 endchoice
620 config BUSYBOX_CONFIG_MAN
621 bool "man (26 kb)"
622 default BUSYBOX_DEFAULT_MAN
623 help
624 Format and display manual pages.
625 config BUSYBOX_CONFIG_MICROCOM
626 bool "microcom (5.7 kb)"
627 default BUSYBOX_DEFAULT_MICROCOM
628 help
629 The poor man's minicom utility for chatting with serial port devices.
630 config BUSYBOX_CONFIG_MIM
631 bool "mim (0.5 kb)"
632 default BUSYBOX_DEFAULT_MIM
633 depends on BUSYBOX_CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS
634 help
635 Run a script from a Makefile-like specification file.
636 Unlike 'make' dependencies aren't supported.
637 config BUSYBOX_CONFIG_MT
638 bool "mt (2.5 kb)"
639 default BUSYBOX_DEFAULT_MT
640 help
641 mt is used to control tape devices. You can use the mt utility
642 to advance or rewind a tape past a specified number of archive
643 files on the tape.
644 config BUSYBOX_CONFIG_NANDWRITE
645 bool "nandwrite (4.8 kb)"
646 default BUSYBOX_DEFAULT_NANDWRITE
647 help
648 Write to the specified MTD device, with bad blocks awareness
649
650 config BUSYBOX_CONFIG_NANDDUMP
651 bool "nanddump (5.2 kb)"
652 default BUSYBOX_DEFAULT_NANDDUMP
653 help
654 Dump the content of raw NAND chip
655 config BUSYBOX_CONFIG_PARTPROBE
656 bool "partprobe (3.5 kb)"
657 default BUSYBOX_DEFAULT_PARTPROBE
658 help
659 Ask kernel to rescan partition table.
660 config BUSYBOX_CONFIG_RAIDAUTORUN
661 bool "raidautorun (1.3 kb)"
662 default BUSYBOX_DEFAULT_RAIDAUTORUN
663 help
664 raidautorun tells the kernel md driver to
665 search and start RAID arrays.
666 config BUSYBOX_CONFIG_READAHEAD
667 bool "readahead (1.5 kb)"
668 default BUSYBOX_DEFAULT_READAHEAD
669 depends on BUSYBOX_CONFIG_LFS
670 help
671 Preload the files listed on the command line into RAM cache so that
672 subsequent reads on these files will not block on disk I/O.
673
674 This applet just calls the readahead(2) system call on each file.
675 It is mainly useful in system startup scripts to preload files
676 or executables before they are used. When used at the right time
677 (in particular when a CPU bound process is running) it can
678 significantly speed up system startup.
679
680 As readahead(2) blocks until each file has been read, it is best to
681 run this applet as a background job.
682 config BUSYBOX_CONFIG_RFKILL
683 bool "rfkill (4.4 kb)"
684 default BUSYBOX_DEFAULT_RFKILL # doesn't build on Ubuntu 9.04
685 help
686 Enable/disable wireless devices.
687
688 rfkill list : list all wireless devices
689 rfkill list bluetooth : list all bluetooth devices
690 rfkill list 1 : list device corresponding to the given index
691 rfkill block|unblock wlan : block/unblock all wlan(wifi) devices
692
693 config BUSYBOX_CONFIG_RUNLEVEL
694 bool "runlevel (559 bytes)"
695 default BUSYBOX_DEFAULT_RUNLEVEL
696 depends on BUSYBOX_CONFIG_FEATURE_UTMP
697 help
698 Find the current and previous system runlevel.
699
700 This applet uses utmp but does not rely on busybox supporing
701 utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc.
702 config BUSYBOX_CONFIG_RX
703 bool "rx (2.9 kb)"
704 default BUSYBOX_DEFAULT_RX
705 help
706 Receive files using the Xmodem protocol.
707 config BUSYBOX_CONFIG_SETFATTR
708 bool "setfattr (3.7 kb)"
709 default BUSYBOX_DEFAULT_SETFATTR
710 help
711 Set/delete extended attributes on files
712 config BUSYBOX_CONFIG_SETSERIAL
713 bool "setserial (6.9 kb)"
714 default BUSYBOX_DEFAULT_SETSERIAL
715 help
716 Retrieve or set Linux serial port.
717 config BUSYBOX_CONFIG_STRINGS
718 bool "strings (4.6 kb)"
719 default BUSYBOX_DEFAULT_STRINGS
720 help
721 strings prints the printable character sequences for each file
722 specified.
723 config BUSYBOX_CONFIG_TIME
724 bool "time (6.8 kb)"
725 default BUSYBOX_DEFAULT_TIME
726 help
727 The time command runs the specified program with the given arguments.
728 When the command finishes, time writes a message to standard output
729 giving timing statistics about this program run.
730 config BUSYBOX_CONFIG_TS
731 bool "ts (450 bytes)"
732 default BUSYBOX_DEFAULT_TS
733 config BUSYBOX_CONFIG_TTYSIZE
734 bool "ttysize (432 bytes)"
735 default BUSYBOX_DEFAULT_TTYSIZE
736 help
737 A replacement for "stty size". Unlike stty, can report only width,
738 only height, or both, in any order. It also does not complain on
739 error, but returns default 80x24.
740 Usage in shell scripts: width=`ttysize w`.
741 config BUSYBOX_CONFIG_UBIATTACH
742 bool "ubiattach (4.2 kb)"
743 default BUSYBOX_DEFAULT_UBIATTACH
744 help
745 Attach MTD device to an UBI device.
746
747 config BUSYBOX_CONFIG_UBIDETACH
748 bool "ubidetach (4.1 kb)"
749 default BUSYBOX_DEFAULT_UBIDETACH
750 help
751 Detach MTD device from an UBI device.
752
753 config BUSYBOX_CONFIG_UBIMKVOL
754 bool "ubimkvol (5.3 kb)"
755 default BUSYBOX_DEFAULT_UBIMKVOL
756 help
757 Create a UBI volume.
758
759 config BUSYBOX_CONFIG_UBIRMVOL
760 bool "ubirmvol (4.9 kb)"
761 default BUSYBOX_DEFAULT_UBIRMVOL
762 help
763 Delete a UBI volume.
764
765 config BUSYBOX_CONFIG_UBIRSVOL
766 bool "ubirsvol (4.2 kb)"
767 default BUSYBOX_DEFAULT_UBIRSVOL
768 help
769 Resize a UBI volume.
770
771 config BUSYBOX_CONFIG_UBIUPDATEVOL
772 bool "ubiupdatevol (5.2 kb)"
773 default BUSYBOX_DEFAULT_UBIUPDATEVOL
774 help
775 Update a UBI volume.
776 config BUSYBOX_CONFIG_UBIRENAME
777 bool "ubirename (2.4 kb)"
778 default BUSYBOX_DEFAULT_UBIRENAME
779 help
780 Utility to rename UBI volumes
781 config BUSYBOX_CONFIG_VOLNAME
782 bool "volname (1.6 kb)"
783 default BUSYBOX_DEFAULT_VOLNAME
784 help
785 Prints a CD-ROM volume name.
786 config BUSYBOX_CONFIG_WATCHDOG
787 bool "watchdog (5.3 kb)"
788 default BUSYBOX_DEFAULT_WATCHDOG
789 help
790 The watchdog utility is used with hardware or software watchdog
791 device drivers. It opens the specified watchdog device special file
792 and periodically writes a magic character to the device. If the
793 watchdog applet ever fails to write the magic character within a
794 certain amount of time, the watchdog device assumes the system has
795 hung, and will cause the hardware to reboot.
796
797 config BUSYBOX_CONFIG_FEATURE_WATCHDOG_OPEN_TWICE
798 bool "Open watchdog device twice, closing it gracefully in between"
799 depends on BUSYBOX_CONFIG_WATCHDOG
800 default BUSYBOX_DEFAULT_FEATURE_WATCHDOG_OPEN_TWICE # this behavior was essentially a hack for a broken driver
801 help
802 When enabled, the watchdog device is opened and then immediately
803 magic-closed, before being opened a second time. This may be necessary
804 for some watchdog devices, but can cause spurious warnings in the
805 kernel log if the nowayout feature is enabled. If this workaround
806 is really needed for you machine to work properly, consider whether
807 it should be fixed in the kernel driver instead. Even when disabled,
808 the behaviour is easily emulated with a "printf 'V' > /dev/watchdog"
809 immediately before starting the busybox watchdog daemon. Say n unless
810 you know that you absolutely need this.
811
812 endmenu