update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug
[openwrt.git] / package / busybox / config / coreutils / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Coreutils"
7
8 config BUSYBOX_CONFIG_BASENAME
9         bool "basename"
10         default y
11         help
12           basename is used to strip the directory and suffix from filenames,
13           leaving just the filename itself.  Enable this option if you wish
14           to enable the 'basename' utility.
15
16 config BUSYBOX_CONFIG_CAL
17         bool "cal"
18         default n
19         help
20           cal is used to display a monthly calender.
21
22 config BUSYBOX_CONFIG_CAT
23         bool "cat"
24         default y
25         help
26           cat is used to concatenate files and print them to the standard
27           output.  Enable this option if you wish to enable the 'cat' utility.
28
29 config BUSYBOX_CONFIG_CHGRP
30         bool "chgrp"
31         default y
32         help
33           chgrp is used to change the group ownership of files.
34
35 config BUSYBOX_CONFIG_CHMOD
36         bool "chmod"
37         default y
38         help
39           chmod is used to change the access permission of files.
40
41 config BUSYBOX_CONFIG_CHOWN
42         bool "chown"
43         default y
44         help
45           chown is used to change the user and/or group ownership
46           of files.
47
48 config BUSYBOX_CONFIG_CHROOT
49         bool "chroot"
50         default y
51         help
52           chroot is used to change the root directory and run a command.
53           The default command is `/bin/sh'.
54
55 config BUSYBOX_CONFIG_CMP
56         bool "cmp"
57         default n
58         help
59           cmp is used to compare two files and returns the result
60           to standard output.
61
62 config BUSYBOX_CONFIG_COMM
63         bool "comm"
64         default n
65         help
66           comm is used to compare two files line by line and return
67           a three-column output.
68
69 config BUSYBOX_CONFIG_CP
70         bool "cp"
71         default y
72         help
73           cp is used to copy files and directories.
74
75 config BUSYBOX_CONFIG_CUT
76         bool "cut"
77         default y
78         help
79           cut is used to print selected parts of lines from
80           each file to stdout.
81
82 config BUSYBOX_CONFIG_DATE
83         bool "date"
84         default y
85         help
86           date is used to set the system date or display the
87           current time in the given format.
88
89 config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT
90         bool "  Enable ISO date format output (-I)"
91         default y
92         depends on BUSYBOX_CONFIG_DATE
93         help
94           Enable option (-I) to output an ISO-8601 compliant
95           date/time string.
96
97 config BUSYBOX_CONFIG_DD
98         bool "dd"
99         default y
100         help
101           dd copies a file (from standard input to standard output,
102           by default) using specific input and output blocksizes,
103           while optionally performing conversions on it.
104
105 config BUSYBOX_CONFIG_DF
106         bool "df"
107         default y
108         help
109           df reports the amount of disk space used and available
110           on filesystems.
111
112 config BUSYBOX_CONFIG_DIRNAME
113         bool "dirname"
114         default y
115         help
116           dirname is used to strip a non-directory suffix from
117           a file name.
118
119 config BUSYBOX_CONFIG_DOS2UNIX
120         bool "dos2unix/unix2dos"
121         default n
122         help
123           dos2unix is used to convert a text file from DOS format to
124           UNIX format, and vice versa.
125
126 config BUSYBOX_CONFIG_UNIX2DOS
127         bool
128         default n
129         depends on BUSYBOX_CONFIG_DOS2UNIX
130
131 config BUSYBOX_CONFIG_DU
132         bool "du (default blocksize of 512 bytes)"
133         default y
134         help
135           du is used to report the amount of disk space used
136           for specified files.
137
138 config BUSYBOX_CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K
139         bool "  Use a default blocksize of 1024 bytes (1K)"
140         default y
141         depends on BUSYBOX_CONFIG_DU
142         help
143           Use a blocksize of (1K) instead of the default 512b.
144
145 config BUSYBOX_CONFIG_ECHO
146         bool "echo (basic SuSv3 version taking no options)"
147         default y
148         help
149           echo is used to print a specified string to stdout.
150
151 # this entry also appears in shell/Config.in, next to the echo builtin
152 config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO
153         bool "  Enable echo options (-n and -e)"
154         default y
155         depends on BUSYBOX_CONFIG_ECHO
156         help
157           This adds options (-n and -e) to echo.
158
159 config BUSYBOX_CONFIG_ENV
160         bool "env"
161         default y
162         help
163           env is used to set an environment variable and run
164           a command; without options it displays the current
165           environment.
166
167 config BUSYBOX_CONFIG_EXPR
168         bool "expr"
169         default y
170         help
171           expr is used to calculate numbers and print the result
172           to standard output.
173
174 config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64
175         bool "    Extend Posix numbers support to 64 bit"
176         default n
177         depends on BUSYBOX_CONFIG_EXPR
178         help
179           Enable 64-bit math support in the expr applet.  This will make
180           the applet slightly larger, but will allow computation with very
181           large numbers.
182
183 config BUSYBOX_CONFIG_FALSE
184         bool "false"
185         default y
186         help
187           false returns an exit code of FALSE (1).
188
189 config BUSYBOX_CONFIG_FOLD
190         bool "fold"
191         default n
192         help
193           Wrap text to fit a specific width.
194
195 config BUSYBOX_CONFIG_HEAD
196         bool "head"
197         default y
198         help
199           head is used to print the first specified number of lines
200           from files.
201
202 config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD
203         bool "  Enable head options (-c, -q, and -v)"
204         default y
205         depends on BUSYBOX_CONFIG_HEAD
206         help
207           This enables the head options (-c, -q, and -v).
208
209 config BUSYBOX_CONFIG_HOSTID
210         bool "hostid"
211         default y
212         help
213           hostid prints the numeric identifier (in hexadecimal) for
214           the current host.
215
216 config BUSYBOX_CONFIG_ID
217         bool "id"
218         default y
219         help
220           id displays the current user and group ID names.
221
222 config BUSYBOX_CONFIG_INSTALL
223         bool "install"
224         default n
225         help
226           Copy files and set attributes.
227
228 config BUSYBOX_CONFIG_LENGTH
229         bool "length"
230         default y
231         help
232           length is used to print out the length of a specified string.
233
234 config BUSYBOX_CONFIG_LN
235         bool "ln"
236         default y
237         help
238           ln is used to create hard or soft links between files.
239
240 config BUSYBOX_CONFIG_LOGNAME
241         bool "logname"
242         default n
243         help
244           logname is used to print the current user's login name.
245
246 config BUSYBOX_CONFIG_LS
247         bool "ls"
248         default y
249         help
250           ls is used to list the contents of directories.
251
252 config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES
253         bool "  Enable filetyping options (-p and -F)"
254         default y
255         depends on BUSYBOX_CONFIG_LS
256         help
257           Enable the ls options (-p and -F).
258
259 config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS
260         bool "  Enable symlinks dereferencing (-L)"
261         default y
262         depends on BUSYBOX_CONFIG_LS
263         help
264           Enable the ls option (-L).
265
266 config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE
267         bool "  Enable recursion (-R)"
268         default y
269         depends on BUSYBOX_CONFIG_LS
270         help
271           Enable the ls option (-R).
272
273 config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES
274         bool "  Sort the file names"
275         default y
276         depends on BUSYBOX_CONFIG_LS
277         help
278           Allow ls to sort file names alphabetically.
279
280 config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS
281         bool "  Show file timestamps"
282         default y
283         depends on BUSYBOX_CONFIG_LS
284         help
285           Allow ls to display timestamps for files.
286
287 config BUSYBOX_CONFIG_FEATURE_LS_USERNAME
288         bool "  Show username/groupnames"
289         default y
290         depends on BUSYBOX_CONFIG_LS
291         help
292           Allow ls to display username/groupname for files.
293
294 config BUSYBOX_CONFIG_FEATURE_LS_COLOR
295         bool "  Allow use of color to identify file types"
296         default y
297         depends on BUSYBOX_CONFIG_LS
298         help
299           This enables the --color option to ls.
300
301 config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT
302         bool "  Produce colored ls output by default"
303         default y
304         depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR
305         help
306           Saying yes here will turn coloring on by default,
307           even if no "--color" option is given to the ls command.
308           This is not recommended, since the colors are not
309           configurable, and the output may not be legible on
310           many output screens.
311
312 config BUSYBOX_CONFIG_MD5SUM
313         bool "md5sum"
314         default y
315         help
316           md5sum is used to print or check MD5 checksums.
317
318 config BUSYBOX_CONFIG_MKDIR
319         bool "mkdir"
320         default y
321         help
322           mkdir is used to create directories with the specified names.
323
324 config BUSYBOX_CONFIG_MKFIFO
325         bool "mkfifo"
326         default y
327         help
328           mkfifo is used to create FIFOs (named pipes).
329           The `mknod' program can also create FIFOs.
330
331 config BUSYBOX_CONFIG_MKNOD
332         bool "mknod"
333         default n
334         help
335           mknod is used to create FIFOs or block/character special
336           files with the specified names.
337
338 config BUSYBOX_CONFIG_MV
339         bool "mv"
340         default y
341         help
342           mv is used to move or rename files or directories.
343
344 config BUSYBOX_CONFIG_NICE
345         bool "nice"
346         default n
347         help
348           nice runs a program with modified scheduling priority.
349
350 config BUSYBOX_CONFIG_NOHUP
351         bool "nohup"
352         default n
353         help
354           run a command immune to hangups, with output to a non-tty.
355
356 config BUSYBOX_CONFIG_OD
357         bool "od"
358         default n
359         help
360           od is used to dump binary files in octal and other formats.
361
362 config BUSYBOX_CONFIG_PRINTENV
363         bool "printenv"
364         default n
365         help
366           printenv is used to print all or part of environment.
367
368 config BUSYBOX_CONFIG_PRINTF
369         bool "printf"
370         default y
371         help
372           printf is used to format and print specified strings.
373           It's similar to `echo' except it has more options.
374
375 config BUSYBOX_CONFIG_PWD
376         bool "pwd"
377         default y
378         help
379           pwd is used to print the current directory.
380
381 config BUSYBOX_CONFIG_REALPATH
382         bool "realpath"
383         default n
384         help
385           Return the canonicalized absolute pathname.
386           This isn't provided by GNU shellutils, but where else does it belong.
387
388 config BUSYBOX_CONFIG_RM
389         bool "rm"
390         default y
391         help
392           rm is used to remove files or directories.
393
394 config BUSYBOX_CONFIG_RMDIR
395         bool "rmdir"
396         default y
397         help
398           rmdir is used to remove empty directories.
399
400 config BUSYBOX_CONFIG_SEQ
401         bool "seq"
402         default y
403         help
404           print a sequence of numbers
405
406 config BUSYBOX_CONFIG_SHA1SUM
407         bool "sha1sum"
408         default n
409         help
410           Compute and check SHA1 message digest
411
412 config BUSYBOX_CONFIG_SLEEP
413         bool "sleep (single integer arg with no suffix)"
414         default y
415         help
416           sleep is used to pause for a specified number of seconds,
417
418 config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP
419         bool "  Enable multiple integer args and optional time suffixes"
420         default y
421         depends on BUSYBOX_CONFIG_SLEEP
422         help
423           Allow sleep to pause for specified minutes, hours, and days.
424
425 config BUSYBOX_CONFIG_SORT
426         bool "sort"
427         default y
428         help
429           sort is used to sort lines of text in specified files.
430
431 config BUSYBOX_CONFIG_FEATURE_SORT_BIG
432         bool "  full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
433         default n
434         depends on BUSYBOX_CONFIG_SORT
435         help
436           Without this, sort only supports  -r, -u, and an integer version
437           of -n.  Selecting this adds sort keys, floating point support, and
438           more.  This adds a little over 3k to a nonstatic build on x86.
439
440           The SuSv3 sort standard is available at:
441           http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
442
443 config BUSYBOX_CONFIG_STAT
444         bool "stat"
445         default n
446         help
447           display file or filesystem status.
448
449 config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT
450         bool "  Enable custom formats (-c)"
451         default n
452         depends on BUSYBOX_CONFIG_STAT
453         help
454           Without this, stat will not support the '-c format' option where
455           users can pass a custom format string for output.  This adds about
456           7k to a nonstatic build on amd64.
457
458 config BUSYBOX_CONFIG_STTY
459         bool "stty"
460         default n
461         help
462           stty is used to change and print terminal line settings.
463
464 config BUSYBOX_CONFIG_SUM
465         bool "sum"
466         default n
467         help
468           checksum and count the blocks in a file
469
470 config BUSYBOX_CONFIG_SYNC
471         bool "sync"
472         default y
473         help
474           sync is used to flush filesystem buffers.
475
476 config BUSYBOX_CONFIG_TAIL
477         bool "tail"
478         default y
479         help
480           tail is used to print the last specified number of lines
481           from files.
482
483 config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL
484         bool "  Enable extra tail options (-q, -s, and -v)"
485         default y
486         depends on BUSYBOX_CONFIG_TAIL
487         help
488           The options (-q, -s, and -v) are provided by GNU tail, but
489           are not specific in the SUSv3 standard.
490
491 config BUSYBOX_CONFIG_TEE
492         bool "tee"
493         default y
494         help
495           tee is used to read from standard input and write
496           to standard output and files.
497
498 config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO
499         bool "  Enable block i/o (larger/faster) instead of byte i/o."
500         default y
501         depends on BUSYBOX_CONFIG_TEE
502         help
503           Enable this option for a faster tee, at expense of size.
504
505 config BUSYBOX_CONFIG_TEST
506         bool "test"
507         default y
508         help
509           test is used to check file types and compare values,
510           returning an appropriate exit code. The shells (ash
511           and bash) have test builtin.
512
513 config BUSYBOX_CONFIG_FEATURE_TEST_64
514         bool "  Extend test to 64 bit"
515         default n
516         depends on BUSYBOX_CONFIG_TEST
517         help
518           Enable 64-bit support in test.
519
520 config BUSYBOX_CONFIG_TOUCH
521         bool "touch"
522         default y
523         help
524           touch is used to create or change the access and/or
525           modification timestamp of specified files.
526
527 config BUSYBOX_CONFIG_TR
528         bool "tr"
529         default y
530         help
531           tr is used to squeeze, and/or delete characters from standard
532           input, writing to standard output.
533
534 config BUSYBOX_CONFIG_FEATURE_TR_CLASSES
535         bool "  Enable character classes (such as [:upper:])"
536         default n
537         depends on BUSYBOX_CONFIG_TR
538         help
539           Enable character classes, enabling commands such as:
540           tr [:upper:] [:lower:] to convert input into lowercase.
541
542 config BUSYBOX_CONFIG_FEATURE_TR_EQUIV
543         bool "  Enable equivalence classes"
544         default n
545         depends on BUSYBOX_CONFIG_TR
546         help
547           Enable equivalence classes, which essentially add the enclosed
548           character to the current set. For instance, tr [=a=] xyz would
549           replace all instances of 'a' with 'xyz'. This option is mainly
550           useful for cases when no other way of expressing a character
551           is possible.
552
553 config BUSYBOX_CONFIG_TRUE
554         bool "true"
555         default y
556         help
557           true returns an exit code of TRUE (0).
558
559 config BUSYBOX_CONFIG_TTY
560         bool "tty"
561         default n
562         help
563           tty is used to print the name of the current terminal to
564           standard output.
565
566 config BUSYBOX_CONFIG_UNAME
567         bool "uname"
568         default y
569         help
570           uname is used to print system information.
571
572 config BUSYBOX_CONFIG_UNIQ
573         bool "uniq"
574         default y
575         help
576           uniq is used to remove duplicate lines from a sorted file.
577
578 config BUSYBOX_CONFIG_USLEEP
579         bool "usleep"
580         default n
581         help
582           usleep is used to pause for a specified number of microseconds.
583
584 config BUSYBOX_CONFIG_UUDECODE
585         bool "uudecode"
586         default n
587         help
588           uudecode is used to decode a uuencoded file.
589
590 config BUSYBOX_CONFIG_UUENCODE
591         bool "uuencode"
592         default n
593         help
594           uuencode is used to uuencode a file.
595
596 config BUSYBOX_CONFIG_WATCH
597         bool "watch"
598         default n
599         select BUSYBOX_CONFIG_DATE
600         help
601           watch is used to execute a program periodically, showing
602           output to the screen.
603
604 config BUSYBOX_CONFIG_WC
605         bool "wc"
606         default y
607         help
608           wc is used to print the number of bytes, words, and lines,
609           in specified files.
610
611 config BUSYBOX_CONFIG_WHO
612         bool "who"
613         default n
614         select BUSYBOX_CONFIG_FEATURE_UTMP
615         help
616           who is used to show who is logged on.
617
618 config BUSYBOX_CONFIG_WHOAMI
619         bool "whoami"
620         default n
621         help
622           whoami is used to print the username of the current
623           user id (same as id -un).
624
625 config BUSYBOX_CONFIG_YES
626         bool "yes"
627         default y
628         help
629           yes is used to repeatedly output a specific string, or
630           the default string `y'.
631
632 comment "Common options for cp and mv"
633         depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
634
635 config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS
636         bool "  Preserve hard links"
637         default y
638         depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV
639         help
640           Allow cp and mv to preserve hard links.
641
642 comment "Common options for ls, more and telnet"
643         depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
644
645 config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH
646         bool "  Calculate terminal & column widths"
647         default y
648         depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET
649         help
650           This option allows utilities such as 'ls', 'more' and 'telnet'
651           to determine the width of the screen, which can allow them to 
652           display additional text or avoid wrapping text onto the next line.
653           If you leave this disabled, your utilities will be especially 
654           primitive and will be unable to determine the current screen width.
655
656 comment "Common options for df, du, ls"
657         depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
658
659 config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE
660         bool "  Support for human readable output (example 13k, 23M, 235G)"
661         default y
662         depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS
663         help
664           Allow df, du, and ls to have human readable output.
665
666 comment "Common options for md5sum, sha1sum"
667         depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
668
669 config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
670         bool "  Enable -c, -s and -w options"
671         default y
672         depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM
673         help
674           Enabling the -c options allows files to be checked
675           against pre-calculated hash values.
676
677           -s and -w are useful options when verifying checksums.
678
679 endmenu