| 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 | config BUSYBOX_CONFIG_CAT |
| 16 | bool "cat" |
| 17 | default y |
| 18 | help |
| 19 | cat is used to concatenate files and print them to the standard |
| 20 | output. Enable this option if you wish to enable the 'cat' utility. |
| 21 | config BUSYBOX_CONFIG_DATE |
| 22 | bool "date" |
| 23 | default y |
| 24 | help |
| 25 | date is used to set the system date or display the |
| 26 | current time in the given format. |
| 27 | |
| 28 | config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT |
| 29 | bool "Enable ISO date format output (-I)" |
| 30 | default y |
| 31 | depends on BUSYBOX_CONFIG_DATE |
| 32 | help |
| 33 | Enable option (-I) to output an ISO-8601 compliant |
| 34 | date/time string. |
| 35 | |
| 36 | config BUSYBOX_CONFIG_FEATURE_DATE_NANO |
| 37 | bool "Support %[num]N nanosecond format specifier" |
| 38 | default n |
| 39 | depends on BUSYBOX_CONFIG_DATE && BUSYBOX_CONFIG_PLATFORM_LINUX |
| 40 | help |
| 41 | Support %[num]N format specifier. Adds ~250 bytes of code. |
| 42 | |
| 43 | config BUSYBOX_CONFIG_FEATURE_DATE_COMPAT |
| 44 | bool "Support weird 'date MMDDhhmm[[YY]YY][.ss]' format" |
| 45 | default n |
| 46 | depends on BUSYBOX_CONFIG_DATE |
| 47 | help |
| 48 | System time can be set by 'date -s DATE' and simply 'date DATE', |
| 49 | but formats of DATE string are different. 'date DATE' accepts |
| 50 | a rather weird MMDDhhmm[[YY]YY][.ss] format with completely |
| 51 | unnatural placement of year between minutes and seconds. |
| 52 | date -s (and other commands like touch -d) use more sensible |
| 53 | formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss). |
| 54 | |
| 55 | With this option off, 'date DATE' is 'date -s DATE' support |
| 56 | the same format. With it on, 'date DATE' additionally supports |
| 57 | MMDDhhmm[[YY]YY][.ss] format. |
| 58 | |
| 59 | config BUSYBOX_CONFIG_TEST |
| 60 | bool "test" |
| 61 | default y |
| 62 | help |
| 63 | test is used to check file types and compare values, |
| 64 | returning an appropriate exit code. The bash shell |
| 65 | has test built in, ash can build it in optionally. |
| 66 | |
| 67 | config BUSYBOX_CONFIG_FEATURE_TEST_64 |
| 68 | bool "Extend test to 64 bit" |
| 69 | default y |
| 70 | depends on BUSYBOX_CONFIG_TEST || BUSYBOX_CONFIG_ASH_BUILTIN_TEST || BUSYBOX_CONFIG_HUSH |
| 71 | help |
| 72 | Enable 64-bit support in test. |
| 73 | |
| 74 | config BUSYBOX_CONFIG_TR |
| 75 | bool "tr" |
| 76 | default y |
| 77 | help |
| 78 | tr is used to squeeze, and/or delete characters from standard |
| 79 | input, writing to standard output. |
| 80 | |
| 81 | config BUSYBOX_CONFIG_FEATURE_TR_CLASSES |
| 82 | bool "Enable character classes (such as [:upper:])" |
| 83 | default n |
| 84 | depends on BUSYBOX_CONFIG_TR |
| 85 | help |
| 86 | Enable character classes, enabling commands such as: |
| 87 | tr [:upper:] [:lower:] to convert input into lowercase. |
| 88 | |
| 89 | config BUSYBOX_CONFIG_FEATURE_TR_EQUIV |
| 90 | bool "Enable equivalence classes" |
| 91 | default n |
| 92 | depends on BUSYBOX_CONFIG_TR |
| 93 | help |
| 94 | Enable equivalence classes, which essentially add the enclosed |
| 95 | character to the current set. For instance, tr [=a=] xyz would |
| 96 | replace all instances of 'a' with 'xyz'. This option is mainly |
| 97 | useful for cases when no other way of expressing a character |
| 98 | is possible. |
| 99 | config BUSYBOX_CONFIG_BASE64 |
| 100 | bool "base64" |
| 101 | default n |
| 102 | help |
| 103 | Base64 encode and decode |
| 104 | |
| 105 | config BUSYBOX_CONFIG_CAL |
| 106 | bool "cal" |
| 107 | default n |
| 108 | help |
| 109 | cal is used to display a monthly calender. |
| 110 | |
| 111 | config BUSYBOX_CONFIG_CATV |
| 112 | bool "catv" |
| 113 | default n |
| 114 | help |
| 115 | Display nonprinting characters as escape sequences (like some |
| 116 | implementations' cat -v option). |
| 117 | |
| 118 | config BUSYBOX_CONFIG_CHGRP |
| 119 | bool "chgrp" |
| 120 | default y |
| 121 | help |
| 122 | chgrp is used to change the group ownership of files. |
| 123 | |
| 124 | config BUSYBOX_CONFIG_CHMOD |
| 125 | bool "chmod" |
| 126 | default y |
| 127 | help |
| 128 | chmod is used to change the access permission of files. |
| 129 | |
| 130 | config BUSYBOX_CONFIG_CHOWN |
| 131 | bool "chown" |
| 132 | default y |
| 133 | help |
| 134 | chown is used to change the user and/or group ownership |
| 135 | of files. |
| 136 | |
| 137 | config BUSYBOX_CONFIG_FEATURE_CHOWN_LONG_OPTIONS |
| 138 | bool "Enable long options" |
| 139 | default n |
| 140 | depends on BUSYBOX_CONFIG_CHOWN && BUSYBOX_CONFIG_LONG_OPTS |
| 141 | help |
| 142 | Enable use of long options |
| 143 | |
| 144 | config BUSYBOX_CONFIG_CHROOT |
| 145 | bool "chroot" |
| 146 | default y |
| 147 | help |
| 148 | chroot is used to change the root directory and run a command. |
| 149 | The default command is `/bin/sh'. |
| 150 | |
| 151 | config BUSYBOX_CONFIG_CKSUM |
| 152 | bool "cksum" |
| 153 | default n |
| 154 | help |
| 155 | cksum is used to calculate the CRC32 checksum of a file. |
| 156 | |
| 157 | config BUSYBOX_CONFIG_COMM |
| 158 | bool "comm" |
| 159 | default n |
| 160 | help |
| 161 | comm is used to compare two files line by line and return |
| 162 | a three-column output. |
| 163 | |
| 164 | config BUSYBOX_CONFIG_CP |
| 165 | bool "cp" |
| 166 | default y |
| 167 | help |
| 168 | cp is used to copy files and directories. |
| 169 | |
| 170 | config BUSYBOX_CONFIG_FEATURE_CP_LONG_OPTIONS |
| 171 | bool "Enable long options for cp" |
| 172 | default n |
| 173 | depends on BUSYBOX_CONFIG_CP && BUSYBOX_CONFIG_LONG_OPTS |
| 174 | help |
| 175 | Enable long options for cp. |
| 176 | Also add support for --parents option. |
| 177 | |
| 178 | config BUSYBOX_CONFIG_CUT |
| 179 | bool "cut" |
| 180 | default y |
| 181 | help |
| 182 | cut is used to print selected parts of lines from |
| 183 | each file to stdout. |
| 184 | |
| 185 | config BUSYBOX_CONFIG_DD |
| 186 | bool "dd" |
| 187 | default y |
| 188 | help |
| 189 | dd copies a file (from standard input to standard output, |
| 190 | by default) using specific input and output blocksizes, |
| 191 | while optionally performing conversions on it. |
| 192 | |
| 193 | config BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING |
| 194 | bool "Enable DD signal handling for status reporting" |
| 195 | default y |
| 196 | depends on BUSYBOX_CONFIG_DD |
| 197 | help |
| 198 | Sending a SIGUSR1 signal to a running `dd' process makes it |
| 199 | print to standard error the number of records read and written |
| 200 | so far, then to resume copying. |
| 201 | |
| 202 | $ dd if=/dev/zero of=/dev/null& |
| 203 | $ pid=$! kill -USR1 $pid; sleep 1; kill $pid |
| 204 | 10899206+0 records in |
| 205 | 10899206+0 records out |
| 206 | |
| 207 | config BUSYBOX_CONFIG_FEATURE_DD_THIRD_STATUS_LINE |
| 208 | bool "Enable the third status line upon signal" |
| 209 | default n |
| 210 | depends on BUSYBOX_CONFIG_DD && BUSYBOX_CONFIG_FEATURE_DD_SIGNAL_HANDLING |
| 211 | help |
| 212 | Displays a coreutils-like third status line with transferred bytes, |
| 213 | elapsed time and speed. |
| 214 | |
| 215 | config BUSYBOX_CONFIG_FEATURE_DD_IBS_OBS |
| 216 | bool "Enable ibs, obs and conv options" |
| 217 | default n |
| 218 | depends on BUSYBOX_CONFIG_DD |
| 219 | help |
| 220 | Enables support for writing a certain number of bytes in and out, |
| 221 | at a time, and performing conversions on the data stream. |
| 222 | |
| 223 | config BUSYBOX_CONFIG_DF |
| 224 | bool "df" |
| 225 | default y |
| 226 | help |
| 227 | df reports the amount of disk space used and available |
| 228 | on filesystems. |
| 229 | |
| 230 | config BUSYBOX_CONFIG_FEATURE_DF_FANCY |
| 231 | bool "Enable -a, -i, -B" |
| 232 | default n |
| 233 | depends on BUSYBOX_CONFIG_DF |
| 234 | help |
| 235 | This option enables -a, -i and -B. |
| 236 | |
| 237 | -a Show all filesystems |
| 238 | -i Inodes |
| 239 | -B <SIZE> Blocksize |
| 240 | |
| 241 | config BUSYBOX_CONFIG_DIRNAME |
| 242 | bool "dirname" |
| 243 | default y |
| 244 | help |
| 245 | dirname is used to strip a non-directory suffix from |
| 246 | a file name. |
| 247 | |
| 248 | config BUSYBOX_CONFIG_DOS2UNIX |
| 249 | bool "dos2unix/unix2dos" |
| 250 | default n |
| 251 | help |
| 252 | dos2unix is used to convert a text file from DOS format to |
| 253 | UNIX format, and vice versa. |
| 254 | |
| 255 | config BUSYBOX_CONFIG_UNIX2DOS |
| 256 | bool |
| 257 | default n |
| 258 | depends on BUSYBOX_CONFIG_DOS2UNIX |
| 259 | help |
| 260 | unix2dos is used to convert a text file from UNIX format to |
| 261 | DOS format, and vice versa. |
| 262 | |
| 263 | config BUSYBOX_CONFIG_DU |
| 264 | bool "du (default blocksize of 512 bytes)" |
| 265 | default y |
| 266 | help |
| 267 | du is used to report the amount of disk space used |
| 268 | for specified files. |
| 269 | |
| 270 | config BUSYBOX_CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K |
| 271 | bool "Use a default blocksize of 1024 bytes (1K)" |
| 272 | default y |
| 273 | depends on BUSYBOX_CONFIG_DU |
| 274 | help |
| 275 | Use a blocksize of (1K) instead of the default 512b. |
| 276 | |
| 277 | config BUSYBOX_CONFIG_ECHO |
| 278 | bool "echo (basic SuSv3 version taking no options)" |
| 279 | default y |
| 280 | help |
| 281 | echo is used to print a specified string to stdout. |
| 282 | |
| 283 | # this entry also appears in shell/Config.in, next to the echo builtin |
| 284 | config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO |
| 285 | bool "Enable echo options (-n and -e)" |
| 286 | default y |
| 287 | depends on BUSYBOX_CONFIG_ECHO || BUSYBOX_CONFIG_ASH_BUILTIN_ECHO || BUSYBOX_CONFIG_HUSH |
| 288 | help |
| 289 | This adds options (-n and -e) to echo. |
| 290 | |
| 291 | config BUSYBOX_CONFIG_ENV |
| 292 | bool "env" |
| 293 | default y |
| 294 | help |
| 295 | env is used to set an environment variable and run |
| 296 | a command; without options it displays the current |
| 297 | environment. |
| 298 | |
| 299 | config BUSYBOX_CONFIG_FEATURE_ENV_LONG_OPTIONS |
| 300 | bool "Enable long options" |
| 301 | default n |
| 302 | depends on BUSYBOX_CONFIG_ENV && BUSYBOX_CONFIG_LONG_OPTS |
| 303 | help |
| 304 | Support long options for the env applet. |
| 305 | |
| 306 | config BUSYBOX_CONFIG_EXPAND |
| 307 | bool "expand" |
| 308 | default n |
| 309 | help |
| 310 | By default, convert all tabs to spaces. |
| 311 | |
| 312 | config BUSYBOX_CONFIG_FEATURE_EXPAND_LONG_OPTIONS |
| 313 | bool "Enable long options" |
| 314 | default n |
| 315 | depends on BUSYBOX_CONFIG_EXPAND && BUSYBOX_CONFIG_LONG_OPTS |
| 316 | help |
| 317 | Support long options for the expand applet. |
| 318 | |
| 319 | config BUSYBOX_CONFIG_EXPR |
| 320 | bool "expr" |
| 321 | default y |
| 322 | help |
| 323 | expr is used to calculate numbers and print the result |
| 324 | to standard output. |
| 325 | |
| 326 | config BUSYBOX_CONFIG_EXPR_MATH_SUPPORT_64 |
| 327 | bool "Extend Posix numbers support to 64 bit" |
| 328 | default y |
| 329 | depends on BUSYBOX_CONFIG_EXPR |
| 330 | help |
| 331 | Enable 64-bit math support in the expr applet. This will make |
| 332 | the applet slightly larger, but will allow computation with very |
| 333 | large numbers. |
| 334 | |
| 335 | config BUSYBOX_CONFIG_FALSE |
| 336 | bool "false" |
| 337 | default y |
| 338 | help |
| 339 | false returns an exit code of FALSE (1). |
| 340 | |
| 341 | config BUSYBOX_CONFIG_FOLD |
| 342 | bool "fold" |
| 343 | default n |
| 344 | help |
| 345 | Wrap text to fit a specific width. |
| 346 | |
| 347 | config BUSYBOX_CONFIG_FSYNC |
| 348 | bool "fsync" |
| 349 | default n |
| 350 | help |
| 351 | fsync is used to flush file-related cached blocks to disk. |
| 352 | |
| 353 | config BUSYBOX_CONFIG_HEAD |
| 354 | bool "head" |
| 355 | default y |
| 356 | help |
| 357 | head is used to print the first specified number of lines |
| 358 | from files. |
| 359 | |
| 360 | config BUSYBOX_CONFIG_FEATURE_FANCY_HEAD |
| 361 | bool "Enable head options (-c, -q, and -v)" |
| 362 | default y |
| 363 | depends on BUSYBOX_CONFIG_HEAD |
| 364 | help |
| 365 | This enables the head options (-c, -q, and -v). |
| 366 | |
| 367 | config BUSYBOX_CONFIG_HOSTID |
| 368 | bool "hostid" |
| 369 | default y |
| 370 | help |
| 371 | hostid prints the numeric identifier (in hexadecimal) for |
| 372 | the current host. |
| 373 | |
| 374 | config BUSYBOX_CONFIG_ID |
| 375 | bool "id" |
| 376 | default y |
| 377 | help |
| 378 | id displays the current user and group ID names. |
| 379 | |
| 380 | config BUSYBOX_CONFIG_INSTALL |
| 381 | bool "install" |
| 382 | default n |
| 383 | help |
| 384 | Copy files and set attributes. |
| 385 | |
| 386 | config BUSYBOX_CONFIG_FEATURE_INSTALL_LONG_OPTIONS |
| 387 | bool "Enable long options" |
| 388 | default n |
| 389 | depends on BUSYBOX_CONFIG_INSTALL && BUSYBOX_CONFIG_LONG_OPTS |
| 390 | help |
| 391 | Support long options for the install applet. |
| 392 | |
| 393 | config BUSYBOX_CONFIG_LENGTH |
| 394 | bool "length" |
| 395 | default y |
| 396 | help |
| 397 | length is used to print out the length of a specified string. |
| 398 | |
| 399 | config BUSYBOX_CONFIG_LN |
| 400 | bool "ln" |
| 401 | default y |
| 402 | help |
| 403 | ln is used to create hard or soft links between files. |
| 404 | |
| 405 | config BUSYBOX_CONFIG_LOGNAME |
| 406 | bool "logname" |
| 407 | default n |
| 408 | help |
| 409 | logname is used to print the current user's login name. |
| 410 | |
| 411 | config BUSYBOX_CONFIG_LS |
| 412 | bool "ls" |
| 413 | default y |
| 414 | help |
| 415 | ls is used to list the contents of directories. |
| 416 | |
| 417 | config BUSYBOX_CONFIG_FEATURE_LS_FILETYPES |
| 418 | bool "Enable filetyping options (-p and -F)" |
| 419 | default y |
| 420 | depends on BUSYBOX_CONFIG_LS |
| 421 | help |
| 422 | Enable the ls options (-p and -F). |
| 423 | |
| 424 | config BUSYBOX_CONFIG_FEATURE_LS_FOLLOWLINKS |
| 425 | bool "Enable symlinks dereferencing (-L)" |
| 426 | default y |
| 427 | depends on BUSYBOX_CONFIG_LS |
| 428 | help |
| 429 | Enable the ls option (-L). |
| 430 | |
| 431 | config BUSYBOX_CONFIG_FEATURE_LS_RECURSIVE |
| 432 | bool "Enable recursion (-R)" |
| 433 | default y |
| 434 | depends on BUSYBOX_CONFIG_LS |
| 435 | help |
| 436 | Enable the ls option (-R). |
| 437 | |
| 438 | config BUSYBOX_CONFIG_FEATURE_LS_SORTFILES |
| 439 | bool "Sort the file names" |
| 440 | default y |
| 441 | depends on BUSYBOX_CONFIG_LS |
| 442 | help |
| 443 | Allow ls to sort file names alphabetically. |
| 444 | |
| 445 | config BUSYBOX_CONFIG_FEATURE_LS_TIMESTAMPS |
| 446 | bool "Show file timestamps" |
| 447 | default y |
| 448 | depends on BUSYBOX_CONFIG_LS |
| 449 | help |
| 450 | Allow ls to display timestamps for files. |
| 451 | |
| 452 | config BUSYBOX_CONFIG_FEATURE_LS_USERNAME |
| 453 | bool "Show username/groupnames" |
| 454 | default y |
| 455 | depends on BUSYBOX_CONFIG_LS |
| 456 | help |
| 457 | Allow ls to display username/groupname for files. |
| 458 | |
| 459 | config BUSYBOX_CONFIG_FEATURE_LS_COLOR |
| 460 | bool "Allow use of color to identify file types" |
| 461 | default y |
| 462 | depends on BUSYBOX_CONFIG_LS && BUSYBOX_CONFIG_LONG_OPTS |
| 463 | help |
| 464 | This enables the --color option to ls. |
| 465 | |
| 466 | config BUSYBOX_CONFIG_FEATURE_LS_COLOR_IS_DEFAULT |
| 467 | bool "Produce colored ls output by default" |
| 468 | default y |
| 469 | depends on BUSYBOX_CONFIG_FEATURE_LS_COLOR |
| 470 | help |
| 471 | Saying yes here will turn coloring on by default, |
| 472 | even if no "--color" option is given to the ls command. |
| 473 | This is not recommended, since the colors are not |
| 474 | configurable, and the output may not be legible on |
| 475 | many output screens. |
| 476 | |
| 477 | config BUSYBOX_CONFIG_MD5SUM |
| 478 | bool "md5sum" |
| 479 | default y |
| 480 | help |
| 481 | md5sum is used to print or check MD5 checksums. |
| 482 | |
| 483 | config BUSYBOX_CONFIG_MKDIR |
| 484 | bool "mkdir" |
| 485 | default y |
| 486 | help |
| 487 | mkdir is used to create directories with the specified names. |
| 488 | |
| 489 | config BUSYBOX_CONFIG_FEATURE_MKDIR_LONG_OPTIONS |
| 490 | bool "Enable long options" |
| 491 | default n |
| 492 | depends on BUSYBOX_CONFIG_MKDIR && BUSYBOX_CONFIG_LONG_OPTS |
| 493 | help |
| 494 | Support long options for the mkdir applet. |
| 495 | |
| 496 | config BUSYBOX_CONFIG_MKFIFO |
| 497 | bool "mkfifo" |
| 498 | default y |
| 499 | help |
| 500 | mkfifo is used to create FIFOs (named pipes). |
| 501 | The `mknod' program can also create FIFOs. |
| 502 | |
| 503 | config BUSYBOX_CONFIG_MKNOD |
| 504 | bool "mknod" |
| 505 | default y |
| 506 | help |
| 507 | mknod is used to create FIFOs or block/character special |
| 508 | files with the specified names. |
| 509 | |
| 510 | config BUSYBOX_CONFIG_MV |
| 511 | bool "mv" |
| 512 | default y |
| 513 | help |
| 514 | mv is used to move or rename files or directories. |
| 515 | |
| 516 | config BUSYBOX_CONFIG_FEATURE_MV_LONG_OPTIONS |
| 517 | bool "Enable long options" |
| 518 | default n |
| 519 | depends on BUSYBOX_CONFIG_MV && BUSYBOX_CONFIG_LONG_OPTS |
| 520 | help |
| 521 | Support long options for the mv applet. |
| 522 | |
| 523 | config BUSYBOX_CONFIG_NICE |
| 524 | bool "nice" |
| 525 | default y |
| 526 | help |
| 527 | nice runs a program with modified scheduling priority. |
| 528 | |
| 529 | config BUSYBOX_CONFIG_NOHUP |
| 530 | bool "nohup" |
| 531 | default n |
| 532 | help |
| 533 | run a command immune to hangups, with output to a non-tty. |
| 534 | |
| 535 | config BUSYBOX_CONFIG_OD |
| 536 | bool "od" |
| 537 | default n |
| 538 | help |
| 539 | od is used to dump binary files in octal and other formats. |
| 540 | |
| 541 | config BUSYBOX_CONFIG_PRINTENV |
| 542 | bool "printenv" |
| 543 | default n |
| 544 | help |
| 545 | printenv is used to print all or part of environment. |
| 546 | |
| 547 | config BUSYBOX_CONFIG_PRINTF |
| 548 | bool "printf" |
| 549 | default y |
| 550 | help |
| 551 | printf is used to format and print specified strings. |
| 552 | It's similar to `echo' except it has more options. |
| 553 | |
| 554 | config BUSYBOX_CONFIG_PWD |
| 555 | bool "pwd" |
| 556 | default y |
| 557 | help |
| 558 | pwd is used to print the current directory. |
| 559 | |
| 560 | config BUSYBOX_CONFIG_READLINK |
| 561 | bool "readlink" |
| 562 | default n |
| 563 | help |
| 564 | This program reads a symbolic link and returns the name |
| 565 | of the file it points to |
| 566 | |
| 567 | config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW |
| 568 | bool "Enable canonicalization by following all symlinks (-f)" |
| 569 | default n |
| 570 | depends on BUSYBOX_CONFIG_READLINK |
| 571 | help |
| 572 | Enable the readlink option (-f). |
| 573 | |
| 574 | config BUSYBOX_CONFIG_REALPATH |
| 575 | bool "realpath" |
| 576 | default n |
| 577 | help |
| 578 | Return the canonicalized absolute pathname. |
| 579 | This isn't provided by GNU shellutils, but where else does it belong. |
| 580 | |
| 581 | config BUSYBOX_CONFIG_RM |
| 582 | bool "rm" |
| 583 | default y |
| 584 | help |
| 585 | rm is used to remove files or directories. |
| 586 | |
| 587 | config BUSYBOX_CONFIG_RMDIR |
| 588 | bool "rmdir" |
| 589 | default y |
| 590 | help |
| 591 | rmdir is used to remove empty directories. |
| 592 | |
| 593 | config BUSYBOX_CONFIG_FEATURE_RMDIR_LONG_OPTIONS |
| 594 | bool "Enable long options" |
| 595 | default n |
| 596 | depends on BUSYBOX_CONFIG_RMDIR && BUSYBOX_CONFIG_LONG_OPTS |
| 597 | help |
| 598 | Support long options for the rmdir applet, including |
| 599 | --ignore-fail-on-non-empty for compatibility with GNU rmdir. |
| 600 | |
| 601 | config BUSYBOX_CONFIG_SEQ |
| 602 | bool "seq" |
| 603 | default y |
| 604 | help |
| 605 | print a sequence of numbers |
| 606 | |
| 607 | config BUSYBOX_CONFIG_SHA1SUM |
| 608 | bool "sha1sum" |
| 609 | default n |
| 610 | help |
| 611 | Compute and check SHA1 message digest |
| 612 | |
| 613 | config BUSYBOX_CONFIG_SHA256SUM |
| 614 | bool "sha256sum" |
| 615 | default n |
| 616 | help |
| 617 | Compute and check SHA256 message digest |
| 618 | |
| 619 | config BUSYBOX_CONFIG_SHA512SUM |
| 620 | bool "sha512sum" |
| 621 | default n |
| 622 | help |
| 623 | Compute and check SHA512 message digest |
| 624 | |
| 625 | config BUSYBOX_CONFIG_SLEEP |
| 626 | bool "sleep" |
| 627 | default y |
| 628 | help |
| 629 | sleep is used to pause for a specified number of seconds. |
| 630 | It comes in 3 versions: |
| 631 | - small: takes one integer parameter |
| 632 | - fancy: takes multiple integer arguments with suffixes: |
| 633 | sleep 1d 2h 3m 15s |
| 634 | - fancy with fractional numbers: |
| 635 | sleep 2.3s 4.5h sleeps for 16202.3 seconds |
| 636 | Last one is "the most compatible" with coreutils sleep, |
| 637 | but it adds around 1k of code. |
| 638 | |
| 639 | config BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP |
| 640 | bool "Enable multiple arguments and s/m/h/d suffixes" |
| 641 | default y |
| 642 | depends on BUSYBOX_CONFIG_SLEEP |
| 643 | help |
| 644 | Allow sleep to pause for specified minutes, hours, and days. |
| 645 | |
| 646 | config BUSYBOX_CONFIG_FEATURE_FLOAT_SLEEP |
| 647 | bool "Enable fractional arguments" |
| 648 | default n |
| 649 | depends on BUSYBOX_CONFIG_FEATURE_FANCY_SLEEP |
| 650 | help |
| 651 | Allow for fractional numeric parameters. |
| 652 | |
| 653 | config BUSYBOX_CONFIG_SORT |
| 654 | bool "sort" |
| 655 | default y |
| 656 | help |
| 657 | sort is used to sort lines of text in specified files. |
| 658 | |
| 659 | config BUSYBOX_CONFIG_FEATURE_SORT_BIG |
| 660 | bool "Full SuSv3 compliant sort (support -ktcsbdfiozgM)" |
| 661 | default n |
| 662 | depends on BUSYBOX_CONFIG_SORT |
| 663 | help |
| 664 | Without this, sort only supports -r, -u, and an integer version |
| 665 | of -n. Selecting this adds sort keys, floating point support, and |
| 666 | more. This adds a little over 3k to a nonstatic build on x86. |
| 667 | |
| 668 | The SuSv3 sort standard is available at: |
| 669 | http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html |
| 670 | |
| 671 | config BUSYBOX_CONFIG_SPLIT |
| 672 | bool "split" |
| 673 | default n |
| 674 | help |
| 675 | split a file into pieces. |
| 676 | |
| 677 | config BUSYBOX_CONFIG_FEATURE_SPLIT_FANCY |
| 678 | bool "Fancy extensions" |
| 679 | default n |
| 680 | depends on BUSYBOX_CONFIG_SPLIT |
| 681 | help |
| 682 | Add support for features not required by SUSv3. |
| 683 | Supports additional suffixes 'b' for 512 bytes, |
| 684 | 'g' for 1GiB for the -b option. |
| 685 | |
| 686 | config BUSYBOX_CONFIG_STAT |
| 687 | bool "stat" |
| 688 | default n |
| 689 | depends on BUSYBOX_CONFIG_PLATFORM_LINUX |
| 690 | help |
| 691 | display file or filesystem status. |
| 692 | |
| 693 | config BUSYBOX_CONFIG_FEATURE_STAT_FORMAT |
| 694 | bool "Enable custom formats (-c)" |
| 695 | default n |
| 696 | depends on BUSYBOX_CONFIG_STAT |
| 697 | help |
| 698 | Without this, stat will not support the '-c format' option where |
| 699 | users can pass a custom format string for output. This adds about |
| 700 | 7k to a nonstatic build on amd64. |
| 701 | |
| 702 | config BUSYBOX_CONFIG_STTY |
| 703 | bool "stty" |
| 704 | default n |
| 705 | help |
| 706 | stty is used to change and print terminal line settings. |
| 707 | |
| 708 | config BUSYBOX_CONFIG_SUM |
| 709 | bool "sum" |
| 710 | default n |
| 711 | help |
| 712 | checksum and count the blocks in a file |
| 713 | |
| 714 | config BUSYBOX_CONFIG_SYNC |
| 715 | bool "sync" |
| 716 | default y |
| 717 | help |
| 718 | sync is used to flush filesystem buffers. |
| 719 | |
| 720 | config BUSYBOX_CONFIG_TAC |
| 721 | bool "tac" |
| 722 | default n |
| 723 | help |
| 724 | tac is used to concatenate and print files in reverse. |
| 725 | |
| 726 | config BUSYBOX_CONFIG_TAIL |
| 727 | bool "tail" |
| 728 | default y |
| 729 | help |
| 730 | tail is used to print the last specified number of lines |
| 731 | from files. |
| 732 | |
| 733 | config BUSYBOX_CONFIG_FEATURE_FANCY_TAIL |
| 734 | bool "Enable extra tail options (-q, -s, -v, and -F)" |
| 735 | default y |
| 736 | depends on BUSYBOX_CONFIG_TAIL |
| 737 | help |
| 738 | The options (-q, -s, and -v) are provided by GNU tail, but |
| 739 | are not specific in the SUSv3 standard. |
| 740 | |
| 741 | -q Never output headers giving file names |
| 742 | -s SEC Wait SEC seconds between reads with -f |
| 743 | -v Always output headers giving file names |
| 744 | |
| 745 | config BUSYBOX_CONFIG_TEE |
| 746 | bool "tee" |
| 747 | default y |
| 748 | help |
| 749 | tee is used to read from standard input and write |
| 750 | to standard output and files. |
| 751 | |
| 752 | config BUSYBOX_CONFIG_FEATURE_TEE_USE_BLOCK_IO |
| 753 | bool "Enable block I/O (larger/faster) instead of byte I/O" |
| 754 | default y |
| 755 | depends on BUSYBOX_CONFIG_TEE |
| 756 | help |
| 757 | Enable this option for a faster tee, at expense of size. |
| 758 | |
| 759 | config BUSYBOX_CONFIG_TOUCH |
| 760 | bool "touch" |
| 761 | default y |
| 762 | help |
| 763 | touch is used to create or change the access and/or |
| 764 | modification timestamp of specified files. |
| 765 | |
| 766 | config BUSYBOX_CONFIG_TRUE |
| 767 | bool "true" |
| 768 | default y |
| 769 | help |
| 770 | true returns an exit code of TRUE (0). |
| 771 | |
| 772 | config BUSYBOX_CONFIG_TTY |
| 773 | bool "tty" |
| 774 | default n |
| 775 | help |
| 776 | tty is used to print the name of the current terminal to |
| 777 | standard output. |
| 778 | |
| 779 | config BUSYBOX_CONFIG_UNAME |
| 780 | bool "uname" |
| 781 | default y |
| 782 | help |
| 783 | uname is used to print system information. |
| 784 | |
| 785 | config BUSYBOX_CONFIG_UNEXPAND |
| 786 | bool "unexpand" |
| 787 | default n |
| 788 | help |
| 789 | By default, convert only leading sequences of blanks to tabs. |
| 790 | |
| 791 | config BUSYBOX_CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS |
| 792 | bool "Enable long options" |
| 793 | default n |
| 794 | depends on BUSYBOX_CONFIG_UNEXPAND && BUSYBOX_CONFIG_LONG_OPTS |
| 795 | help |
| 796 | Support long options for the unexpand applet. |
| 797 | |
| 798 | config BUSYBOX_CONFIG_UNIQ |
| 799 | bool "uniq" |
| 800 | default y |
| 801 | help |
| 802 | uniq is used to remove duplicate lines from a sorted file. |
| 803 | |
| 804 | config BUSYBOX_CONFIG_USLEEP |
| 805 | bool "usleep" |
| 806 | default n |
| 807 | help |
| 808 | usleep is used to pause for a specified number of microseconds. |
| 809 | |
| 810 | config BUSYBOX_CONFIG_UUDECODE |
| 811 | bool "uudecode" |
| 812 | default n |
| 813 | help |
| 814 | uudecode is used to decode a uuencoded file. |
| 815 | |
| 816 | config BUSYBOX_CONFIG_UUENCODE |
| 817 | bool "uuencode" |
| 818 | default n |
| 819 | help |
| 820 | uuencode is used to uuencode a file. |
| 821 | |
| 822 | config BUSYBOX_CONFIG_WC |
| 823 | bool "wc" |
| 824 | default y |
| 825 | help |
| 826 | wc is used to print the number of bytes, words, and lines, |
| 827 | in specified files. |
| 828 | |
| 829 | config BUSYBOX_CONFIG_FEATURE_WC_LARGE |
| 830 | bool "Support very large files in wc" |
| 831 | default n |
| 832 | depends on BUSYBOX_CONFIG_WC |
| 833 | help |
| 834 | Use "unsigned long long" in wc for counter variables. |
| 835 | |
| 836 | config BUSYBOX_CONFIG_WHO |
| 837 | bool "who" |
| 838 | default n |
| 839 | depends on BUSYBOX_CONFIG_FEATURE_UTMP |
| 840 | help |
| 841 | who is used to show who is logged on. |
| 842 | |
| 843 | config BUSYBOX_CONFIG_WHOAMI |
| 844 | bool "whoami" |
| 845 | default n |
| 846 | help |
| 847 | whoami is used to print the username of the current |
| 848 | user id (same as id -un). |
| 849 | |
| 850 | config BUSYBOX_CONFIG_YES |
| 851 | bool "yes" |
| 852 | default y |
| 853 | help |
| 854 | yes is used to repeatedly output a specific string, or |
| 855 | the default string `y'. |
| 856 | |
| 857 | comment "Common options for cp and mv" |
| 858 | depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV |
| 859 | |
| 860 | config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS |
| 861 | bool "Preserve hard links" |
| 862 | default y |
| 863 | depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV |
| 864 | help |
| 865 | Allow cp and mv to preserve hard links. |
| 866 | |
| 867 | comment "Common options for ls, more and telnet" |
| 868 | depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET |
| 869 | |
| 870 | config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH |
| 871 | bool "Calculate terminal & column widths" |
| 872 | default y |
| 873 | depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET |
| 874 | help |
| 875 | This option allows utilities such as 'ls', 'more' and 'telnet' |
| 876 | to determine the width of the screen, which can allow them to |
| 877 | display additional text or avoid wrapping text onto the next line. |
| 878 | If you leave this disabled, your utilities will be especially |
| 879 | primitive and will be unable to determine the current screen width. |
| 880 | |
| 881 | comment "Common options for df, du, ls" |
| 882 | depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS |
| 883 | |
| 884 | config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE |
| 885 | bool "Support for human readable output (example 13k, 23M, 235G)" |
| 886 | default y |
| 887 | depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS |
| 888 | help |
| 889 | Allow df, du, and ls to have human readable output. |
| 890 | |
| 891 | comment "Common options for md5sum, sha1sum, sha256sum, sha512sum" |
| 892 | depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM |
| 893 | |
| 894 | config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK |
| 895 | bool "Enable -c, -s and -w options" |
| 896 | default y |
| 897 | depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM || BUSYBOX_CONFIG_SHA256SUM || BUSYBOX_CONFIG_SHA512SUM |
| 898 | help |
| 899 | Enabling the -c options allows files to be checked |
| 900 | against pre-calculated hash values. |
| 901 | |
| 902 | -s and -w are useful options when verifying checksums. |
| 903 | |
| 904 | endmenu |
| 905 | |