Changeset 3587


Ignore:
Timestamp:
2006-04-04T21:24:40+02:00 (12 years ago)
Author:
nbd
Message:

update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug

Location:
trunk/openwrt/package/busybox/config
Files:
4 added
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/busybox/config/Config.in

    r2638 r3587  
    88        bool 
    99        default y 
     10 
     11menu "Busybox Settings" 
    1012 
    1113menu "General Configuration" 
     
    8082        default n 
    8183        help 
    82           As a size optimization, busybox by default does not cleanup memory 
    83           that is dynamically allocated or close files before exiting. This 
    84           saves space and is usually not needed since the OS will clean up for 
    85           us.  Don't enable this unless you have a really good reason to clean 
     84          As a size optimization, busybox normally exits without explicitly 
     85          freeing dynamically allocated memory or closing files.  This saves 
     86          space since the OS will clean up for us, but it can confuse debuggers 
     87          like valgrind, which report tons of memory and resource leaks. 
     88 
     89          Don't enable this unless you have a really good reason to clean 
    8690          things up manually. 
    8791 
     
    101105 
    102106          <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) 
    103          
     107 
    104108          An example might help: 
    105109 
     
    112116 
    113117          cp = --- # disable applet cp for everyone 
     118 
     119          The file has to be owned by user root, group root and has to be 
     120          writeable only by root: 
     121                (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf) 
     122          The busybox executable has to be owned by user root, group 
     123          root and has to be setuid root for this to work: 
     124                (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox) 
    114125 
    115126          Robert 'sandman' Griebl has more information here: 
     
    157168          Most people will leave this set to 'N'. 
    158169 
     170# The busybox shared library feature is there so make standalone can produce 
     171# smaller applets.  Since make standalone isn't in yet, there's nothing using 
     172# this yet, and so it's disabled. 
     173config BUSYBOX_CONFIG_DISABLE_SHARED 
     174        bool 
     175        default n 
     176 
     177config BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     178        bool "Build shared libbusybox" 
     179        default n 
     180        depends on BUSYBOX_CONFIG_DISABLE_SHARED 
     181        help 
     182          Build a shared library libbusybox.so which contains all 
     183          libraries used inside busybox. 
     184 
     185config BUSYBOX_CONFIG_FEATURE_FULL_LIBBUSYBOX 
     186        bool "Feature-complete libbusybox" 
     187        default n if !CONFIG_FEATURE_SHARED_BUSYBOX 
     188        depends on BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     189        help 
     190          Build a libbusybox with the complete feature-set, disregarding 
     191          the actually selected config. 
     192 
     193          Normally, libbusybox will only contain the features which are 
     194          used by busybox itself. If you plan to write a separate 
     195          standalone application which uses libbusybox say 'Y'. 
     196 
     197          Note: libbusybox is GPL, not LGPL, and exports no stable API that 
     198          might act as a copyright barrier.  We can and will modify the 
     199          exported function set between releases (even minor version number 
     200          changes), and happily break out-of-tree features. 
     201 
     202          Say 'N' if in doubt. 
     203 
     204config BUSYBOX_CONFIG_FEATURE_SHARED_BUSYBOX 
     205        bool "Use shared libbusybox for busybox" 
     206        default n if BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     207        depends on !CONFIG_STATIC && BUSYBOX_CONFIG_BUILD_LIBBUSYBOX 
     208        help 
     209          Use libbusybox.so also for busybox itself. 
     210          You need to have a working dynamic linker to use this variant. 
     211 
    159212config BUSYBOX_CONFIG_LFS 
    160213        bool 
     
    196249          or check for warnings using -Werror, just those options here. 
    197250 
     251config BUSYBOX_CONFIG_BUILD_AT_ONCE 
     252        bool "Compile all sources at once" 
     253        default n 
     254        help 
     255          Normally each source-file is compiled with one invocation of 
     256          the compiler. 
     257          If you set this option, all sources are compiled at once. 
     258          This gives the compiler more opportunities to optimize which can 
     259          result in smaller and/or faster binaries. 
     260 
     261          Setting this option will consume alot of memory, e.g. if you 
     262          enable all applets with all features, gcc uses more than 300MB 
     263          RAM during compilation of busybox. 
     264 
     265          This option is most likely only beneficial for newer compilers 
     266          such as gcc-4.1 and above. 
     267 
     268          Say 'N' unless you know what you are doing. 
     269 
    198270endmenu 
    199  
    200 menu 'Installation Options' 
    201  
    202 config BUSYBOX_CONFIG_INSTALL_NO_USR 
    203         bool "Don't use /usr" 
    204         default n 
    205         help 
    206           Disable use of /usr. Don't activate this option if you don't know 
    207           that you really want this behaviour. 
    208  
    209 config BUSYBOX_PREFIX 
    210         string 
    211         default "./_install" 
    212         help 
    213           Define your directory to install BusyBox files/subdirs in. 
    214  
    215  
    216  
    217 endmenu 
    218  
    219 source package/busybox/config/archival/Config.in 
    220 source package/busybox/config/coreutils/Config.in 
    221 source package/busybox/config/console-tools/Config.in 
    222 source package/busybox/config/debianutils/Config.in 
    223 source package/busybox/config/editors/Config.in 
    224 source package/busybox/config/findutils/Config.in 
    225 source package/busybox/config/init/Config.in 
    226 source package/busybox/config/loginutils/Config.in 
    227 source package/busybox/config/miscutils/Config.in 
    228 source package/busybox/config/modutils/Config.in 
    229 source package/busybox/config/networking/Config.in 
    230 source package/busybox/config/procps/Config.in 
    231 source package/busybox/config/shell/Config.in 
    232 source package/busybox/config/sysklogd/Config.in 
    233 source package/busybox/config/util-linux/Config.in 
    234271 
    235272menu 'Debugging Options' 
     
    289326endchoice 
    290327 
     328config BUSYBOX_CONFIG_DEBUG_YANK_SUSv2 
     329        bool "Disable obsolete features removed before SUSv3?" 
     330        default y 
     331        help 
     332          This option will disable backwards compatability with SuSv2, 
     333          specifically, old-style numeric options ('command -1 <file>') 
     334          will not be supported in head, tail, and fold.  (Note: should 
     335          yank from renice too.) 
    291336 
    292337endmenu 
    293338 
     339menu 'Installation Options' 
     340 
     341config BUSYBOX_CONFIG_INSTALL_NO_USR 
     342        bool "Don't use /usr" 
     343        default n 
     344        help 
     345          Disable use of /usr. Don't activate this option if you don't know 
     346          that you really want this behaviour. 
     347 
     348choice 
     349       prompt "Applets links" 
     350       default BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS 
     351       help 
     352         Choose how you install applets links. 
     353 
     354config BUSYBOX_CONFIG_INSTALL_APPLET_SYMLINKS 
     355       bool "as soft-links" 
     356       help 
     357         Install applets as soft-links to the busybox binary. This needs some 
     358         free inodes on the filesystem, but might help with filesystem 
     359         generators that can't cope with hard-links. 
     360 
     361config BUSYBOX_CONFIG_INSTALL_APPLET_HARDLINKS 
     362       bool "as hard-links" 
     363       help 
     364         Install applets as hard-links to the busybox binary. This might count 
     365         on a filesystem with few inodes. 
     366 
     367config BUSYBOX_CONFIG_INSTALL_APPLET_DONT 
     368       bool 
     369       prompt "not installed" 
     370       depends on BUSYBOX_CONFIG_FEATURE_INSTALLER || BUSYBOX_CONFIG_FEATURE_SH_STANDALONE_SHELL 
     371       help 
     372         Do not install applets links. Usefull when using the -install feature 
     373         or a standalone shell for rescue pruposes. 
     374 
     375endchoice 
     376 
     377config BUSYBOX_PREFIX 
     378        string 
     379        default "./_install" 
     380        help 
     381          Define your directory to install BusyBox files/subdirs in. 
     382 
     383endmenu 
     384 
     385source package/busybox/config/libbb/Config.in 
     386 
     387endmenu 
     388 
     389comment "Applets" 
     390 
     391source package/busybox/config/archival/Config.in 
     392source package/busybox/config/coreutils/Config.in 
     393source package/busybox/config/console-tools/Config.in 
     394source package/busybox/config/debianutils/Config.in 
     395source package/busybox/config/editors/Config.in 
     396source package/busybox/config/findutils/Config.in 
     397source package/busybox/config/init/Config.in 
     398source package/busybox/config/loginutils/Config.in 
     399source package/busybox/config/e2fsprogs/Config.in 
     400source package/busybox/config/modutils/Config.in 
     401source package/busybox/config/util-linux/Config.in 
     402source package/busybox/config/miscutils/Config.in 
     403source package/busybox/config/networking/Config.in 
     404source package/busybox/config/procps/Config.in 
     405source package/busybox/config/shell/Config.in 
     406source package/busybox/config/sysklogd/Config.in 
  • trunk/openwrt/package/busybox/config/archival/Config.in

    r2638 r3587  
    4848          conventional LZ77/LZ78-based compressors, and approaches the 
    4949          performance of the PPM family of statistical compressors. 
    50          
     50 
    5151          The BusyBox bunzip2 applet is limited to de-compression only. 
    5252          On an x86 system, this applet adds about 11K. 
    53          
     53 
    5454          Unless you have a specific application which requires bunzip2, you 
    5555          should probably say N here. 
     
    7474        help 
    7575          dpkg is a medium-level tool to install, build, remove and manage Debian packages. 
    76          
     76 
    7777          This implementation of dpkg has a number of limitations, you should use the 
    7878          official dpkg if possible. 
     
    8383        help 
    8484          dpkg-deb packs, unpacks and provides information about Debian archives. 
    85          
     85 
    8686          This implementation of dpkg-deb cannot pack archives. 
    87          
     87 
    8888          Unless you have a specific application which requires dpkg-deb, you should 
    8989          probably say N here. 
     
    166166          archives compressed with bzip2. 
    167167 
     168config BUSYBOX_CONFIG_FEATURE_TAR_LZMA 
     169        bool "  Enable -a option to handle .tar.lzma files" 
     170        default n 
     171        depends on BUSYBOX_CONFIG_TAR 
     172        help 
     173          If you enable this option you'll be able to extract 
     174          archives compressed with lzma. 
     175 
    168176config BUSYBOX_CONFIG_FEATURE_TAR_FROM 
    169177        bool "  Enable -X (exclude from) and -T (include from) options)" 
     
    220228          uncompress is used to decompress archives created by compress. 
    221229          Not much used anymore, replaced by gzip/gunzip. 
     230 
     231config BUSYBOX_CONFIG_UNLZMA 
     232        bool "unlzma" 
     233        default n 
     234        help 
     235          unlzma is a compression utility using the Lempel-Ziv-Markov chain 
     236          compression algorithm, and range coding.  Compression 
     237          is generally considerably better than that achieved by the bzip2 
     238          compressors. 
     239 
     240          The BusyBox unlzma applet is limited to de-compression only. 
     241          On an x86 system, this applet adds about 4K. 
     242 
     243          Unless you have a specific application which requires unlzma, you 
     244          should probably say N here. 
     245 
     246config BUSYBOX_CONFIG_FEATURE_LZMA_FAST 
     247        bool "  Optimze unlzma for speed" 
     248        default n 
     249        depends on BUSYBOX_CONFIG_UNLZMA 
     250        help 
     251          This option reduce decompression time by about 33% at the cost of 
     252          a 2K bigger binary. 
    222253 
    223254config BUSYBOX_CONFIG_UNZIP 
     
    250281        help 
    251282          This is the default compression method inside the debian ar file. 
    252          
     283 
    253284          If you want compatibility with standard .deb's you should say yes here. 
    254285 
     
    260291          This allows dpkg and dpkg-deb to extract deb's that are compressed internally 
    261292          with bzip2 instead of gzip. 
    262          
     293 
    263294          You only want this if you are creating your own custom debian packages that 
    264295          use an internal control.tar.bz2 or data.tar.bz2. 
    265296 
     297config BUSYBOX_CONFIG_FEATURE_DEB_TAR_LZMA 
     298        bool "  lzma debian packages" 
     299        default n 
     300        depends on BUSYBOX_CONFIG_DPKG || BUSYBOX_CONFIG_DPKG_DEB 
     301        help 
     302          This allows dpkg and dpkg-deb to extract deb's that are compressed 
     303          internally with lzma instead of gzip. 
     304 
     305          You only want this if you are creating your own custom debian 
     306          packages that use an internal control.tar.lzma or data.tar.lzma. 
     307 
    266308endmenu 
  • trunk/openwrt/package/busybox/config/console-tools/Config.in

    r2638 r3587  
    5959          gets messed up. 
    6060 
     61config BUSYBOX_CONFIG_SETCONSOLE 
     62        bool "setconsole" 
     63        default n 
     64        help 
     65          This program redirects the system console to another device, 
     66          like the current tty while logged in via telnet. 
     67 
    6168config BUSYBOX_CONFIG_SETKEYCODES 
    6269        bool "setkeycodes" 
  • trunk/openwrt/package/busybox/config/coreutils/Config.in

    r2638 r3587  
    6060          to standard output. 
    6161 
     62config 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 
    6269config BUSYBOX_CONFIG_CP 
    6370        bool "cp" 
     
    7380          each file to stdout. 
    7481 
    75 if BUSYBOX_CONFIG_WATCH 
    76         config BUSYBOX_CONFIG_DATE 
    77                 default y 
    78         comment "date (forced enabled for use with watch)" 
    79 endif 
    80  
    81 if !CONFIG_WATCH 
    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 endif 
     82config 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. 
    8988 
    9089config BUSYBOX_CONFIG_FEATURE_DATE_ISOFMT 
     
    145144 
    146145config BUSYBOX_CONFIG_ECHO 
    147         bool "echo (basic SUSv3 version taking no options)" 
     146        bool "echo (basic SuSv3 version taking no options)" 
    148147        default y 
    149148        help 
    150149          echo is used to print a specified string to stdout. 
    151150 
     151# this entry also appears in shell/Config.in, next to the echo builtin 
    152152config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO 
    153153        bool "  Enable echo options (-n and -e)" 
     
    172172          to standard output. 
    173173 
    174 if BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH 
    175         config BUSYBOX_CONFIG_FALSE 
    176                 default y 
    177         comment "false (forced enabled for use with shell)" 
    178 endif 
    179  
    180 if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH 
    181     config BUSYBOX_CONFIG_FALSE 
    182             bool "false" 
    183             default y 
    184             help 
    185               false returns an exit code of FALSE (1). 
    186 endif 
     174config 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 
     183config BUSYBOX_CONFIG_FALSE 
     184        bool "false" 
     185        default y 
     186        help 
     187          false returns an exit code of FALSE (1). 
    187188 
    188189config BUSYBOX_CONFIG_FOLD 
     
    292293 
    293294config BUSYBOX_CONFIG_FEATURE_LS_COLOR 
    294         bool "  Use color to identify file types" 
     295        bool "  Allow use of color to identify file types" 
    295296        default y 
    296297        depends on BUSYBOX_CONFIG_LS 
    297298        help 
    298           Allow ls to use color when displaying files. 
     299          This enables the --color option to ls. 
     300 
     301config 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. 
    299311 
    300312config BUSYBOX_CONFIG_MD5SUM 
     
    330342          mv is used to move or rename files or directories. 
    331343 
     344config BUSYBOX_CONFIG_NICE 
     345        bool "nice" 
     346        default n 
     347        help 
     348          nice runs a program with modified scheduling priority. 
     349 
     350config 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 
    332356config BUSYBOX_CONFIG_OD 
    333357        bool "od" 
     
    336360          od is used to dump binary files in octal and other formats. 
    337361 
     362config BUSYBOX_CONFIG_PRINTENV 
     363        bool "printenv" 
     364        default n 
     365        help 
     366          printenv is used to print all or part of environment. 
     367 
    338368config BUSYBOX_CONFIG_PRINTF 
    339369        bool "printf" 
     
    399429          sort is used to sort lines of text in specified files. 
    400430 
     431config 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 
     443config BUSYBOX_CONFIG_STAT 
     444        bool "stat" 
     445        default n 
     446        help 
     447          display file or filesystem status. 
     448 
     449config 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 
    401458config BUSYBOX_CONFIG_STTY 
    402459        bool "stty" 
     
    405462          stty is used to change and print terminal line settings. 
    406463 
     464config BUSYBOX_CONFIG_SUM 
     465        bool "sum" 
     466        default n 
     467        help 
     468          checksum and count the blocks in a file 
     469 
    407470config BUSYBOX_CONFIG_SYNC 
    408471        bool "sync" 
     
    440503          Enable this option for a faster tee, at expense of size. 
    441504 
    442 if BUSYBOX_CONFIG_ASH || BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH 
    443         config BUSYBOX_CONFIG_TEST 
    444                 default y 
    445         comment "test (forced enabled for use with shell)" 
    446 endif 
    447  
    448 if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH 
    449     config BUSYBOX_CONFIG_TEST 
    450             bool "test" 
    451             default y 
    452             help 
    453               test is used to check file types and compare values, 
    454               returning an appropriate exit code. The shells (ash 
    455               and bash) have test builtin. 
    456 endif 
     505config 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. 
    457512 
    458513config BUSYBOX_CONFIG_FEATURE_TEST_64 
     
    477532          input, writing to standard output. 
    478533 
    479 if BUSYBOX_CONFIG_HUSH || BUSYBOX_CONFIG_LASH || BUSYBOX_CONFIG_MSH 
    480         config BUSYBOX_CONFIG_TRUE 
    481                 default y 
    482         comment "true (forced enabled for use with shell)" 
    483 endif 
    484  
    485 if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH 
    486     config BUSYBOX_CONFIG_TRUE 
    487             bool "true" 
    488             default y 
    489             help 
    490               true returns an exit code of TRUE (0). 
    491  
    492 endif 
     534config 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 
     542config 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 
     553config BUSYBOX_CONFIG_TRUE 
     554        bool "true" 
     555        default y 
     556        help 
     557          true returns an exit code of TRUE (0). 
    493558 
    494559config BUSYBOX_CONFIG_TTY 
     
    532597        bool "watch" 
    533598        default n 
     599        select BUSYBOX_CONFIG_DATE 
    534600        help 
    535601          watch is used to execute a program periodically, showing 
     
    546612        bool "who" 
    547613        default n 
    548         select BUSYBOX_CONFIG_FEATURE_U_W_TMP 
     614        select BUSYBOX_CONFIG_FEATURE_UTMP 
    549615        help 
    550616          who is used to show who is logged on. 
     
    565631 
    566632comment "Common options for cp and mv" 
    567     depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV 
     633        depends on BUSYBOX_CONFIG_CP || BUSYBOX_CONFIG_MV 
    568634 
    569635config BUSYBOX_CONFIG_FEATURE_PRESERVE_HARDLINKS 
     
    574640          Allow cp and mv to preserve hard links. 
    575641 
    576 comment "Common options for ls and more" 
    577         depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE 
     642comment "Common options for ls, more and telnet" 
     643        depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE || BUSYBOX_CONFIG_TELNET 
    578644 
    579645config BUSYBOX_CONFIG_FEATURE_AUTOWIDTH 
    580646        bool "  Calculate terminal & column widths" 
    581647        default y 
    582         depends on BUSYBOX_CONFIG_LS || BUSYBOX_CONFIG_MORE 
    583         help 
    584           This option allows utilities such as 'ls' and 'more' to determine the 
    585           width of the screen, which can allow them to display additional text 
    586           or avoid wrapping text onto the next line.  If you leave this 
    587           disabled, your utilities will be especially primitive and will be 
    588           unable to determine the current screen width. 
     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. 
    589655 
    590656comment "Common options for df, du, ls" 
    591     depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS 
     657        depends on BUSYBOX_CONFIG_DF || BUSYBOX_CONFIG_DU || BUSYBOX_CONFIG_LS 
    592658 
    593659config BUSYBOX_CONFIG_FEATURE_HUMAN_READABLE 
     
    599665 
    600666comment "Common options for md5sum, sha1sum" 
    601     depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM 
     667        depends on BUSYBOX_CONFIG_MD5SUM || BUSYBOX_CONFIG_SHA1SUM 
    602668 
    603669config BUSYBOX_CONFIG_FEATURE_MD5_SHA1_SUM_CHECK 
  • trunk/openwrt/package/busybox/config/debianutils/Config.in

    r2638 r3587  
    2424          This program reads a symbolic link and returns the name 
    2525          of the file it points to 
     26 
     27config BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW 
     28        bool "  Enable canonicalization by following all symlinks (-f)" 
     29        default n 
     30        depends on BUSYBOX_CONFIG_READLINK 
     31        help 
     32          Enable the readlink option (-f). 
    2633 
    2734config BUSYBOX_CONFIG_RUN_PARTS 
  • trunk/openwrt/package/busybox/config/findutils/Config.in

    r2638 r3587  
    1818        help 
    1919          Allow searching based on the modification time of 
    20           files. 
     20          files, in days. 
     21 
     22config BUSYBOX_CONFIG_FEATURE_FIND_MMIN 
     23        bool "  Enable modified time matching (-min) option" 
     24        default n 
     25        depends on BUSYBOX_CONFIG_FIND 
     26        help 
     27          Allow searching based on the modification time of 
     28          files, in minutes. 
    2129 
    2230config BUSYBOX_CONFIG_FEATURE_FIND_PERM 
     
    5866          Support the 'find -inum' option for searching by inode number. 
    5967 
     68config BUSYBOX_CONFIG_FEATURE_FIND_EXEC 
     69        bool "  Enable (-exec) option allowing execution of commands" 
     70        default y 
     71        depends on BUSYBOX_CONFIG_FIND 
     72        help 
     73          Support the 'find -exec' option for executing commands based upon 
     74          the files matched. 
     75 
    6076config BUSYBOX_CONFIG_GREP 
    6177        bool "grep" 
     
    7490 
    7591config BUSYBOX_CONFIG_FEATURE_GREP_FGREP_ALIAS 
    76         bool "  Alias fgrep to grep -f" 
     92        bool "  Alias fgrep to grep -F" 
    7793        default y 
    7894        depends on BUSYBOX_CONFIG_GREP 
    7995        help 
    80           fgrep sees the search pattern as a normal string rather than 
     96          fgrep sees the search pattern as a normal string rather than 
    8197          regular expressions. 
    82           grep -f is always builtin, this just creates the fgrep alias. 
     98          grep -F is always builtin, this just creates the fgrep alias. 
    8399 
    84100config BUSYBOX_CONFIG_FEATURE_GREP_CONTEXT 
  • trunk/openwrt/package/busybox/config/init/Config.in

    r2638 r3587  
    1313 
    1414config BUSYBOX_CONFIG_FEATURE_USE_INITTAB 
    15         bool "  Support reading an inittab file?" 
     15        bool "  Support reading an inittab file" 
    1616        default y 
    1717        depends on BUSYBOX_CONFIG_INIT 
     
    1919          Allow init to read an inittab file when the system boot. 
    2020 
    21 config BUSYBOX_CONFIG_FEATURE_INITRD 
    22         bool "  Support running init from within an initrd?" 
     21config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY 
     22        bool "  Support running commands with a controlling-tty" 
    2323        default n 
    2424        depends on BUSYBOX_CONFIG_INIT 
    2525        help 
    26           Allow init to be called from an initrd as linuxrc. 
     26          If this option is enabled a command starting with hyphen (-) 
     27          is run in its own session (setsid(2)) and possibly with a 
     28          controlling tty (TIOCSCTTY).  This is not the traditional init 
     29          behavour, but is often what you want in an embedded system where 
     30          the console is only accessed during development or for maintenance. 
     31 
     32config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET 
     33        bool "  Be _extra_ quiet on boot" 
     34        default n 
     35        depends on BUSYBOX_CONFIG_INIT 
     36        help 
     37          Prevent init from logging some messages to the console during boot. 
    2738 
    2839config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS 
    29         bool "  Support dumping core for child processes (debugging only)?" 
     40        bool "  Support dumping core for child processes (debugging only)" 
    3041        default n 
    3142        depends on BUSYBOX_CONFIG_INIT 
     
    3647          will not generate any core files. 
    3748 
    38 config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET 
    39         bool "  Should init be _extra_ quiet on boot?" 
     49 
     50 
     51config BUSYBOX_CONFIG_FEATURE_INITRD 
     52        bool "  Support running init from within an initrd (not initramfs)" 
    4053        default n 
    4154        depends on BUSYBOX_CONFIG_INIT 
    4255        help 
    43           Prevent init from logging some messages to the console 
    44           during boot. 
     56          Legacy support for running init under the old-style initrd.  Allows 
     57          the name linuxrc to act as init, and it doesn't assume init is PID 1. 
     58 
     59          This does not apply to initramfs, which runs /init as PID 1 and 
     60          requires no special support. 
    4561 
    4662config BUSYBOX_CONFIG_HALT 
    47         bool "halt" 
    48         default n 
    49         help 
    50           Stop all processes and halt the system. 
    51  
    52 config BUSYBOX_CONFIG_POWEROFF 
    53         bool "poweroff" 
    54         default n 
    55         help 
    56           Stop all processes and (try to) power off the system. 
    57  
    58 config BUSYBOX_CONFIG_REBOOT 
    59         bool "reboot" 
     63        bool "poweroff, halt, and reboot" 
    6064        default y 
    6165        help 
    62           Stop all processes and reboot the system. 
     66          Stop all processes and either halt, reboot, or power off the system. 
    6367 
    6468config BUSYBOX_CONFIG_MESG 
     
    6973          used to allow or disallow other users to write to your terminal 
    7074 
     75        default y 
     76        help 
     77          Stop all processes and (try to) power off the system. 
     78 
    7179endmenu 
    7280 
  • trunk/openwrt/package/busybox/config/loginutils/Config.in

    r2638 r3587  
    55 
    66menu "Login/Password Management Utilities" 
     7 
     8config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS 
     9        bool "Support for shadow passwords" 
     10        default n 
     11        help 
     12          Build support for shadow password in /etc/shadow.  This file is only 
     13          readable by root and thus the encrypted passwords are no longer 
     14          publicly readable. 
     15 
     16config BUSYBOX_CONFIG_USE_BB_SHADOW 
     17        bool #"  Use busybox shadow password functions" 
     18        default n 
     19        depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS 
     20        help 
     21            If you leave this disabled, busybox will use the system's shadow 
     22            password handling functions.  And if you are using the GNU C library 
     23            (glibc), you will then need to install the /etc/nsswitch.conf 
     24            configuration file and the required /lib/libnss_* libraries in 
     25            order for the shadow password functions to work.  This generally 
     26            makes your embedded system quite a bit larger. 
     27 
     28            Enabling this option will cause busybox to directly access the 
     29            system's /etc/shadow file when handling shadow passwords.  This 
     30            makes your system smaller and I will get fewer emails asking about 
     31            how glibc NSS works).  When this option is enabled, you will not be 
     32            able to use PAM to access shadow passwords from remote LDAP 
     33            password servers and whatnot. 
    734 
    835config BUSYBOX_CONFIG_USE_BB_PWD_GRP 
     
    2653 
    2754            If you enable this option, it will add about 1.5k to busybox. 
    28  
    2955 
    3056config BUSYBOX_CONFIG_ADDGROUP 
     
    5884          getty lets you log in on a tty, it is normally invoked by init. 
    5985 
    60 config BUSYBOX_CONFIG_FEATURE_U_W_TMP 
    61         bool "  Support utmp and wtmp files" 
    62         depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO || BUSYBOX_CONFIG_LAST 
     86config BUSYBOX_CONFIG_FEATURE_UTMP 
     87        bool "  Support utmp file" 
     88        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_WHO 
    6389        default n 
    6490        help 
    65           The files /var/run/utmp and /var/run/wtmp can be used to track when 
    66           user's have logged into and logged out of the system, allowing programs 
    67           such as 'who' and 'last' to list who is currently logged in. 
     91          The file /var/run/utmp is used to track who is currently logged in. 
     92 
     93config BUSYBOX_CONFIG_FEATURE_WTMP 
     94        bool "  Support wtmp file" 
     95        depends on BUSYBOX_CONFIG_GETTY || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU || BUSYBOX_CONFIG_LAST 
     96        default n 
     97        select BUSYBOX_CONFIG_FEATURE_UTMP 
     98        help 
     99          The file /var/run/wtmp is used to track when user's have logged into 
     100          and logged out of the system. 
    68101 
    69102config BUSYBOX_CONFIG_LOGIN 
     
    127160          work properly. 
    128161 
    129 comment "Common options for adduser, deluser, login, su" 
    130         depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_DELUSER || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU 
    131  
    132 config BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS 
    133         bool "Support for shadow passwords" 
    134         default n 
    135         depends on BUSYBOX_CONFIG_ADDUSER || BUSYBOX_CONFIG_DELUSER || BUSYBOX_CONFIG_LOGIN || BUSYBOX_CONFIG_SU 
    136         help 
    137           Build support for shadow password in /etc/shadow.  This file is only 
    138           readable by root and thus the encrypted passwords are no longer 
    139           publicly readable. 
    140  
    141 config BUSYBOX_CONFIG_USE_BB_SHADOW 
    142         bool "  Use busybox shadow password functions" 
    143         default n 
    144         depends on BUSYBOX_CONFIG_USE_BB_PWD_GRP && BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS 
    145         help 
    146             If you leave this disabled, busybox will use the system's shadow 
    147             password handling functions.  And if you are using the GNU C library 
    148             (glibc), you will then need to install the /etc/nsswitch.conf 
    149             configuration file and the required /lib/libnss_* libraries in 
    150             order for the shadow password functions to work.  This generally 
    151             makes your embedded system quite a bit larger. 
    152  
    153             Enabling this option will cause busybox to directly access the 
    154             system's /etc/shadow file when handling shadow passwords.  This 
    155             makes your system smaller and I will get fewer emails asking about 
    156             how glibc NSS works).  When this option is enabled, you will not be 
    157             able to use PAM to access shadow passwords from remote LDAP 
    158             password servers and whatnot. 
    159  
    160162endmenu 
    161163 
  • trunk/openwrt/package/busybox/config/miscutils/Config.in

    r2800 r3587  
    1212          Adjtimex reads and optionally sets adjustment parameters for 
    1313          the Linux clock adjustment algorithm. 
     14 
     15config BUSYBOX_CONFIG_BBCONFIG 
     16        bool "bbconfig" 
     17        default n 
     18        help 
     19          The bbconfig applet will print the config file with which 
     20          busybox was built. 
    1421 
    1522config BUSYBOX_CONFIG_CROND 
     
    3845        bool "crontab" 
    3946        default y 
     47        select BUSYBOX_CONFIG_FEATURE_SUID 
    4048        help 
    4149          Crontab manipulates the crontab for a particular user.  Only 
     
    8492          Increases logging to stderr or syslog. 
    8593 
     94config BUSYBOX_CONFIG_EJECT 
     95        bool "eject" 
     96        default n 
     97        help 
     98          Used to eject cdroms.  (defaults to /dev/cdrom) 
     99 
    86100config BUSYBOX_CONFIG_LAST 
    87101        bool "last" 
    88102        default n 
    89         select BUSYBOX_CONFIG_FEATURE_U_W_TMP 
     103        select BUSYBOX_CONFIG_FEATURE_WTMP 
    90104        help 
    91105          'last' displays a list of the last users that logged into the system. 
     106 
     107config BUSYBOX_CONFIG_LESS 
     108        bool "less" 
     109        default n 
     110        help 
     111          'less' is a pager, meaning that it displays text files. It possesses 
     112          a wide array of features, and is an improvement over 'more'. 
     113 
     114config BUSYBOX_CONFIG_FEATURE_LESS_BRACKETS 
     115        bool "  Enable bracket searching" 
     116        default n 
     117        depends on BUSYBOX_CONFIG_LESS 
     118        help 
     119          This option adds the capability to search for matching left and right 
     120          brackets, facilitating programming. 
     121 
     122config BUSYBOX_CONFIG_FEATURE_LESS_FLAGS 
     123        bool "  Enable extra flags" 
     124        default n 
     125        depends on BUSYBOX_CONFIG_LESS 
     126        help 
     127          The extra flags provided do the following: 
     128 
     129          The -M flag enables a more sophisticated status line. 
     130          The -m flag enables a simpler status line with a percentage. 
     131 
     132config BUSYBOX_CONFIG_FEATURE_LESS_FLAGCS 
     133        bool "  Enable flag changes" 
     134        default n 
     135        depends on BUSYBOX_CONFIG_LESS 
     136        help 
     137          This enables the ability to change command-line flags within 
     138          less itself. 
     139 
     140config BUSYBOX_CONFIG_FEATURE_LESS_MARKS 
     141        bool "  Enable marks" 
     142        default n 
     143        depends on BUSYBOX_CONFIG_LESS 
     144        help 
     145          Marks enable positions in a file to be stored for easy reference. 
     146 
     147config BUSYBOX_CONFIG_FEATURE_LESS_REGEXP 
     148        bool "  Enable regular expressions" 
     149        default n 
     150        depends on BUSYBOX_CONFIG_LESS 
     151        help 
     152          Enable regular expressions, allowing complex file searches. 
    92153 
    93154config BUSYBOX_CONFIG_HDPARM 
     
    153214        default n 
    154215        help 
    155           'makedevs' is a utility used and created by the Linux Router Project. 
    156           It creates a large number of device special files (/dev devices) 
    157           rather quickly, and can be considerably faster then running mknod a 
    158           zillion times. 
     216          'makedevs' is a utility used to create a batch of devices with 
     217          one command. 
     218          . 
     219          There are two choices for command line behaviour, the interface 
     220          as used by LEAF/Linux Router Project, or a device table file. 
     221          . 
     222          'leaf' is traditionally what busybox follows, it allows multiple 
     223          devices of a particluar type to be created per command. 
     224          e.g. /dev/hda[0-9] 
     225          Device properties are passed as command line arguments. 
     226          . 
     227          'table' reads device properties from a file or stdin, allowing 
     228          a batch of unrelated devices to be makde with one command. 
     229          User/group names are allowed as an alternative to uid/gid. 
     230 
     231choice 
     232        prompt "Choose makedevs behaviour" 
     233        depends BUSYBOX_CONFIG_MAKEDEVS 
     234        default BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE 
     235 
     236config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_LEAF 
     237        bool "leaf" 
     238 
     239config BUSYBOX_CONFIG_FEATURE_MAKEDEVS_TABLE 
     240        bool "table" 
     241 
     242endchoice 
     243 
     244config BUSYBOX_CONFIG_MOUNTPOINT 
     245        bool "mountpoint" 
     246        default n 
     247        help 
     248          mountpoint checks if the directory is a mountpoint. 
    159249 
    160250config BUSYBOX_CONFIG_MT 
     
    166256          files on the tape. 
    167257 
     258config BUSYBOX_CONFIG_RUNLEVEL 
     259        bool "runlevel" 
     260        default n 
     261        help 
     262          find the current and previous system runlevel. 
     263 
     264          This applet uses utmp but does not rely on busybox supporing 
     265          utmp on purpose. It is used by e.g. emdebian via /etc/init.d/rc. 
     266 
    168267config BUSYBOX_CONFIG_RX 
    169268        bool "rx" 
     
    178277          strings prints the printable character sequences for each file 
    179278          specified. 
     279 
     280config BUSYBOX_CONFIG_SETSID 
     281        bool "setsid" 
     282        default n 
     283        help 
     284          setsid runs a program in a new session 
    180285 
    181286config BUSYBOX_CONFIG_TIME 
  • trunk/openwrt/package/busybox/config/modutils/Config.in

    r2638 r3587  
    1212          insmod is used to load specified modules in the running kernel. 
    1313 
    14 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
    15         bool "  Support version 2.2.x to 2.4.x Linux kernels" 
    16         default y 
    17         depends on BUSYBOX_CONFIG_INSMOD 
    18         help 
    19           Support module loading for 2.2.x and 2.4.x Linux kernels. 
    20  
    21 config BUSYBOX_CONFIG_FEATURE_2_6_MODULES 
    22         bool "  Support version 2.6.x Linux kernels" 
    23         default y 
    24         depends on BUSYBOX_CONFIG_INSMOD 
    25         help 
    26           Support module loading for newer 2.6.x Linux kernels. 
    27  
    2814config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING 
    29         bool "  Module version checking" 
     15        bool "Module version checking" 
    3016        default n 
    3117        depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
     
    3521 
    3622config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS 
    37         bool "  Add module symbols to kernel symbol table" 
     23        bool "Add module symbols to kernel symbol table" 
    3824        default n 
    3925        depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
     
    4632 
    4733config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM 
    48         bool "  In kernel memory optimization (uClinux only)" 
     34        bool "In kernel memory optimization (uClinux only)" 
    4935        default n 
    5036        depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
     
    5642 
    5743config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP 
    58         bool "  Enable load map (-m) option" 
     44        bool "Enable load map (-m) option" 
    5945        default n 
    6046        depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
     
    6753 
    6854config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL 
    69         bool "  Symbols in load map" 
     55        bool "Symbols in load map" 
    7056        default n 
    7157        depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP 
     
    7561          symbols load map. 
    7662 
     63config BUSYBOX_CONFIG_RMMOD 
     64        bool "rmmod" 
     65        default y 
     66        help 
     67          rmmod is used to unload specified modules from the kernel. 
     68 
    7769config BUSYBOX_CONFIG_LSMOD 
    7870        bool "lsmod" 
     
    8173          lsmod is used to display a list of loaded modules. 
    8274 
    83 config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE 
    84         bool 
    85         default y 
    86         depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES 
     75config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT 
     76        bool "lsmod pretty output for 2.6.x Linux kernels " 
     77        default n 
     78        depends on BUSYBOX_CONFIG_LSMOD 
     79        help 
     80          This option makes output format of lsmod adjusted to 
     81          the format of module-init-tools for Linux kernel 2.6. 
    8782 
    8883config BUSYBOX_CONFIG_MODPROBE 
     
    9388          level. 
    9489 
    95 config BUSYBOX_CONFIG_RMMOD 
    96         bool "rmmod" 
    97         default y 
     90          Note that in the state, modprobe does not understand multiple 
     91          module options from the configuration file. See option below. 
     92 
     93config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS 
     94        bool "Multiple options parsing" 
     95        default n 
     96        depends on BUSYBOX_CONFIG_MODPROBE 
    9897        help 
    99           rmmod is used to unload specified modules from the kernel. 
     98          Allow modprobe to understand more than one option to pass to 
     99          modules. 
     100 
     101          This is a WIP, while waiting for a common argument parsing 
     102          common amongst all BB applets (shell, modprobe, etc...) and 
     103          adds around 600 bytes on x86, 700 bytes on ARM. The code is 
     104          biggish and uggly, but just works. 
     105 
     106          Saying Y here is not a bad idea if you're not that short 
     107          on storage capacity. 
     108 
     109comment "Options common to multiple modutils" 
     110        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_LSMOD 
    100111 
    101112config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE 
    102         bool "Support tainted module checking with new kernels" 
     113        # Simulate indentation 
     114        bool "  Support tainted module checking with new kernels" 
    103115        default n 
    104116        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD 
     
    109121          This option is required to support GPLONLY modules. 
    110122 
     123config BUSYBOX_CONFIG_FEATURE_2_4_MODULES 
     124        # Simulate indentation 
     125        bool "  Support version 2.2.x to 2.4.x Linux kernels" 
     126        default y 
     127        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD 
     128        help 
     129          Support module loading for 2.2.x and 2.4.x Linux kernels. 
     130 
     131config BUSYBOX_CONFIG_FEATURE_2_6_MODULES 
     132        # Simulate indentation 
     133        bool "  Support version 2.6.x Linux kernels" 
     134        default y 
     135        depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE 
     136        help 
     137          Support module loading for newer 2.6.x Linux kernels. 
     138 
     139 
     140config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE 
     141        bool 
     142        default n 
     143        depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES 
     144 
    111145 
    112146endmenu 
  • trunk/openwrt/package/busybox/config/networking/Config.in

    r2893 r3587  
    1919          Ping hosts by ARP packets 
    2020 
     21config BUSYBOX_CONFIG_DNSD 
     22        bool "dnsd" 
     23        default n 
     24        help 
     25          Small and static DNS server deamon.  
     26 
     27config BUSYBOX_CONFIG_ETHER_WAKE 
     28        bool "ether-wake" 
     29        default n 
     30        help 
     31          Send a magic packet to wake up sleeping machines. 
     32 
     33config BUSYBOX_CONFIG_FAKEIDENTD 
     34        bool "fakeidentd" 
     35        default n 
     36        help 
     37          fakeidentd listens to the ident port and returns a set fake 
     38          value whatever it gets. 
     39 
    2140config BUSYBOX_CONFIG_FTPGET 
    2241        bool "ftpget" 
     
    6685          Enables basic per url authentication from /etc/httpd.conf 
    6786          using md5 passwords. 
    68  
    6987 
    7088if !CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY 
     
    102120        help 
    103121          This option allows scripts and executables to be invoked 
    104           when specific urls are requested. 
     122          when specific urls are requested. 
     123 
     124config BUSYBOX_CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR 
     125        bool "  Enable support for running scripts through an interpreter" 
     126        default n 
     127        depends on BUSYBOX_CONFIG_FEATURE_HTTPD_CGI 
     128        help 
     129          This option enables support for running scripts through an  
     130          interpreter. Turn this on, if you want PHP scripts to work  
     131          properly. You need to supply an addition line in your httpd  
     132          config file: 
     133          *.php:/path/to/your/php 
    105134 
    106135config BUSYBOX_CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV 
     
    172201        bool "ifupdown" 
    173202        default n 
     203        select BUSYBOX_CONFIG_RUN_PARTS 
    174204        help 
    175205          Activate or deactivate the specified interfaces.  This applet makes 
     
    292322          Familiar character generator internal inetd service 
    293323 
     324config BUSYBOX_CONFIG_FEATURE_INETD_RPC 
     325        bool "  Support RPC services" 
     326        default n 
     327        depends on BUSYBOX_CONFIG_INETD 
     328        help 
     329          Suuport Sun-RPC based services 
     330 
    294331 
    295332config BUSYBOX_CONFIG_IP 
     
    407444          File format: 
    408445          # Comment 
    409           new_interface_name    XX:XX:XX:XX:XX:XX 
     446          new_interface_name    XX:XX:XX:XX:XX:XX 
    410447 
    411448config BUSYBOX_CONFIG_NC 
     
    422459          simple program for sending udp broadcast messages 
    423460 
     461config BUSYBOX_CONFIG_NC_GAPING_SECURITY_HOLE 
     462        bool "gaping security hole" 
     463        default n 
     464        depends on BUSYBOX_CONFIG_NC 
     465        help 
     466          Add support for executing a program after making or receiving a 
     467          successful connection (-e option). 
     468 
    424469config BUSYBOX_CONFIG_NETSTAT 
    425470        bool "netstat" 
     
    499544        bool "telnetd" 
    500545        default y 
    501         #select BUSYBOX_CONFIG_LOGIN 
    502546        help 
    503547          A daemon for the TELNET protocol, allowing you to log onto the host 
     
    601645          hostnames and ICMP response types. 
    602646 
     647config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE 
     648        bool "  Enable loose source route" 
     649        default n 
     650        depends on BUSYBOX_CONFIG_TRACEROUTE 
     651        help 
     652          Add option to specify a loose source route gateway 
     653          (8 maximum). 
     654 
     655config BUSYBOX_CONFIG_FEATURE_TRACEROUTE_USE_ICMP 
     656        bool "  Use ICMP instead of UDP" 
     657        default n 
     658        depends on BUSYBOX_CONFIG_TRACEROUTE 
     659        help 
     660          Add feature to allow for ICMP ECHO instead of UDP datagrams. 
     661 
     662 
    603663config BUSYBOX_CONFIG_VCONFIG 
    604664        bool "vconfig" 
     
    637697source package/busybox/config/networking/udhcp/Config.in 
    638698 
     699config BUSYBOX_CONFIG_ZCIP 
     700        bool "zcip" 
     701        default n 
     702        help 
     703          ZCIP provides ZeroConf IPv4 address selection, according to RFC 3927. 
     704          It's a daemon that allocates and defends a dynamically assigned 
     705          address on the 169.254/16 network, requiring no system administrator. 
     706 
     707          See http://www.zeroconf.org for further details, and "zcip.script" 
     708          in the busybox examples. 
     709 
    639710endmenu 
    640711 
  • trunk/openwrt/package/busybox/config/procps/Config.in

    r2760 r3587  
    1313          memory in the system, as well as the buffers used by the kernel. 
    1414          The shared memory column should be ignored; it is obsolete. 
     15 
     16config BUSYBOX_CONFIG_FUSER 
     17        bool "fuser" 
     18        default n 
     19        help 
     20          fuser lists all PIDs (Process IDs) that currently have a given 
     21          file open.  fuser can also list all PIDs that have a given network 
     22          (TCP or UDP) port open. 
    1523 
    1624config BUSYBOX_CONFIG_KILL 
     
    4351          those id's on the standard output. 
    4452 
     53config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE 
     54        bool "  Enable argument for single shot (-s)" 
     55        default n 
     56        depends on BUSYBOX_CONFIG_PIDOF 
     57        help 
     58          Support argument '-s' for returning only the first pid found. 
     59 
     60config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT 
     61        bool "  Enable argument for omitting pids (-o)" 
     62        default n 
     63        depends on BUSYBOX_CONFIG_PIDOF 
     64        help 
     65          Support argument '-o' for omitting the given pids in output. 
     66          The special pid %PPID can be used to name the parent process 
     67          of the pidof, in other words the calling shell or shell script. 
     68 
    4569config BUSYBOX_CONFIG_PS 
    4670        bool "ps" 
     
    4872        help 
    4973          ps gives a snapshot of the current processes. 
     74 
     75config BUSYBOX_CONFIG_FEATURE_PS_WIDE 
     76        bool "  Enable argument for wide output (-w)" 
     77        default n 
     78        depends on BUSYBOX_CONFIG_PS 
     79        help 
     80          Support argument 'w' for wide output. 
     81          If given once, 132 chars are printed and given more than 
     82          one, the length is unlimited. 
    5083 
    5184config BUSYBOX_CONFIG_RENICE 
     
    5689          processes. 
    5790 
     91config BUSYBOX_CONFIG_BB_SYSCTL 
     92        bool "sysctl" 
     93        default y 
     94        help 
     95          Configure kernel parameters at runtime. 
     96 
    5897config BUSYBOX_CONFIG_TOP 
    5998        bool "top" 
     
    63102          system. 
    64103 
    65 config BUSYBOX_FEATURE_CPU_USAGE_PERCENTAGE 
    66         bool 
     104config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE 
     105        bool "  Support showing CPU usage percentage (add 2k bytes)" 
    67106        default y 
    68107        depends on BUSYBOX_CONFIG_TOP 
     
    78117          on, and the system load averages for the past 1, 5, and 15 minutes. 
    79118 
    80 config BUSYBOX_CONFIG_BB_SYSCTL 
    81         bool "sysctl" 
    82         default y 
    83         help 
    84           sysctl - configure kernel parameters at runtime 
    85119 
    86120endmenu 
  • trunk/openwrt/package/busybox/config/shell/Config.in

    r2638 r3587  
    44# 
    55 
    6 menu "Another Bourne-like Shell" 
     6menu "Shells" 
    77 
    88choice 
     
    3737        bool "ash" 
    3838        default y 
     39        select BUSYBOX_CONFIG_TEST 
    3940        help 
    4041          Tha 'ash' shell adds about 60k in the default configuration and is 
     
    5455          Enable job control in the ash shell. 
    5556 
     57config BUSYBOX_CONFIG_ASH_READ_NCHARS 
     58        bool "  Enable 'read -n N' and 'read -s' support" 
     59        default n 
     60        depends on BUSYBOX_CONFIG_ASH 
     61        help 
     62          'read -n N' will return a value after N characters have been read. 
     63          'read -s' will read without echoing the user's input. 
     64 
     65config BUSYBOX_CONFIG_ASH_READ_TIMEOUT 
     66        bool "  Enable 'read -t S' support." 
     67        default y 
     68        depends on BUSYBOX_CONFIG_ASH 
     69        help 
     70          'read -t S' will return a value after S seconds have passed. 
     71          This implementation will allow fractional seconds, expressed 
     72          as a decimal fraction, e.g. 'read -t 2.5 foo'. 
     73 
    5674config BUSYBOX_CONFIG_ASH_ALIAS 
    5775        bool "  Enable alias support" 
     
    93111          even when there is an ash builtin command with the same name. 
    94112 
     113config BUSYBOX_CONFIG_ASH_BUILTIN_ECHO 
     114        bool "  Enable builtin version of 'echo'" 
     115        default y 
     116        depends on BUSYBOX_CONFIG_ASH 
     117        help 
     118          Enable support for echo, built in to ash. 
     119 
     120# this entry also appears in coreutils/Config.in, next to the echo applet 
     121config BUSYBOX_CONFIG_FEATURE_FANCY_ECHO 
     122        bool "  Enable echo options (-n and -e)" 
     123        default y 
     124        depends on BUSYBOX_CONFIG_ASH_BUILTIN_ECHO 
     125        help 
     126          This adds options (-n and -e) to echo. 
     127 
    95128config BUSYBOX_CONFIG_ASH_MAIL 
    96129        bool "  Check for new mail on interactive shells" 
     
    105138        depends on BUSYBOX_CONFIG_ASH 
    106139        help 
    107           Compile ash for reduced size at price of speed. 
     140          Compile ash for reduced size at the price of speed. 
    108141 
    109142config BUSYBOX_CONFIG_ASH_RANDOM_SUPPORT 
     
    118151          variable will no longer have special treatment. 
    119152 
     153config BUSYBOX_CONFIG_ASH_EXPAND_PRMT 
     154        bool "  Expand prompt string" 
     155        default n 
     156        depends on BUSYBOX_CONFIG_ASH 
     157        help 
     158          "PS#" may be contain volatile content, such as backquote commands. 
     159          This option recreates the prompt string from the environment 
     160          variable each time it is displayed. 
     161 
    120162config BUSYBOX_CONFIG_HUSH 
    121163        bool "hush" 
    122164        default n 
     165        select BUSYBOX_CONFIG_TRUE 
     166        select BUSYBOX_CONFIG_FALSE 
     167        select BUSYBOX_CONFIG_TEST 
    123168        help 
    124169          hush is a very small shell (just 18k) and it has fairly complete 
     
    135180        bool "lash" 
    136181        default n 
     182        select BUSYBOX_CONFIG_TRUE 
     183        select BUSYBOX_CONFIG_FALSE 
     184        select BUSYBOX_CONFIG_TEST 
    137185        help 
    138186          lash is the very smallest shell (adds just 10k) and it is quite 
     
    147195        bool "msh" 
    148196        default n 
     197        select BUSYBOX_CONFIG_TRUE 
     198        select BUSYBOX_CONFIG_FALSE 
     199        select BUSYBOX_CONFIG_TEST 
    149200        help 
    150201          The minix shell (adds just 30k) is quite complete and handles things 
     
    176227          qualified executable name, such as '/sbin/ifconfig' will still 
    177228          execute the /sbin/ifconfig executable on the filesystem.  This option 
    178           is generally used when creating a staticly linked version of busybox 
     229          is generally used when creating a statically linked version of busybox 
    179230          for use as a rescue shell, in the event that you screw up your system. 
    180231 
     
    191242          Enable command editing in shell. 
    192243 
     244config BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING_VI 
     245        bool "vi-style line editing commands" 
     246        default n 
     247        depends on BUSYBOX_CONFIG_FEATURE_COMMAND_EDITING 
     248        help 
     249          Enable vi-style line editing in the shell.  This mode can be 
     250          turned on and off with "set -o vi" and "set +o vi". 
     251 
    193252config BUSYBOX_CONFIG_FEATURE_COMMAND_HISTORY 
    194253        int "history size" 
  • trunk/openwrt/package/busybox/config/util-linux/Config.in

    r3539 r3587  
    55 
    66menu "Linux System Utilities" 
    7  
    87 
    98config BUSYBOX_CONFIG_DMESG 
     
    2827          if you wish to enable the 'fbset' utility. 
    2928 
    30  
    3129config BUSYBOX_CONFIG_FEATURE_FBSET_FANCY 
    3230        bool "  Turn on extra fbset options" 
     
    211209          then enable this option. 
    212210 
     211config BUSYBOX_CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS 
     212        bool "  Use FHS /var/lib/hwclock/adjtime" 
     213        default n 
     214        depends on BUSYBOX_CONFIG_HWCLOCK 
     215        help 
     216          Starting with FHS 2.3, the adjtime state file is supposed to exist 
     217          at /var/lib/hwclock/adjtime instead of /etc/adjtime.  If you wish 
     218          to use the FHS behavior, answer Y here, otherwise answer N for the 
     219          classic /etc/adjtime path. 
     220 
     221          http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBHWCLOCKSTATEDIRECTORYFORHWCLO 
     222 
     223config BUSYBOX_CONFIG_IPCRM 
     224        bool "ipcrm" 
     225        default n 
     226        select BUSYBOX_CONFIG_FEATURE_SUID 
     227        help 
     228          The ipcrm utility allows the removal of System V interprocess 
     229          communication (IPC) objects and the associated data structures 
     230          from the system. 
     231 
     232config BUSYBOX_CONFIG_IPCS 
     233        bool "ipcs" 
     234        default n 
     235        select BUSYBOX_CONFIG_FEATURE_SUID 
     236        help 
     237          The ipcs utility is used to provide information on the currently 
     238          allocated System V interprocess (IPC) objects in the system. 
     239 
    213240config BUSYBOX_CONFIG_LOSETUP 
    214241        bool "losetup" 
     
    218245          file or block device, and to query the status of a loop device.  This 
    219246          version does not currently support enabling data encryption. 
     247 
     248config BUSYBOX_CONFIG_MDEV 
     249        bool "mdev" 
     250        default n 
     251        help 
     252          mdev is a mini-udev implementation: call it with -s to populate 
     253          /dev from /sys, then "echo /sbin/mdev > /proc/sys/kernel/hotplug" to 
     254          have it handle hotplug events afterwards.  Device names are taken 
     255          from sysfs. 
     256 
     257config BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
     258        bool "  Support /etc/mdev.conf" 
     259        default n 
     260        depends on BUSYBOX_CONFIG_MDEV 
     261        help 
     262          The mdev config file contains lines that look like: 
     263 
     264            hd[a-z][0-9]* 0:3 660 
     265 
     266          That's device name (with regex match), uid:gid, and permissions. 
     267 
     268          Optionally, that can be followed (on the same line) by an asterisk 
     269          and a command line to run after creating the corresponding device(s), 
     270          ala: 
     271 
     272            hdc root:cdrom 660  *ln -s hdc cdrom 
     273 
     274          Config file parsing stops on the first matching line.  If no config 
     275          entry is matched, devices are created with default 0:0 660.  (Make 
     276          the last line match .* to override this.) 
    220277 
    221278config BUSYBOX_CONFIG_MKSWAP 
     
    253310          unable to move the cursor. 
    254311 
     312config BUSYBOX_CONFIG_MOUNT 
     313        bool "mount" 
     314        default y 
     315        help 
     316          All files and filesystems in Unix are arranged into one big directory 
     317          tree.  The 'mount' utility is used to graft a filesystem onto a 
     318          particular part of the tree.  A filesystem can either live on a block 
     319          device, or it can be accessible over the network, as is the case with 
     320          NFS filesystems.  Most people using BusyBox will also want to enable 
     321          the 'mount' utility. 
     322 
     323config BUSYBOX_CONFIG_FEATURE_MOUNT_NFS 
     324        bool "  Support mounting NFS file systems" 
     325        default y 
     326        depends on BUSYBOX_CONFIG_MOUNT 
     327        help 
     328         Enable mounting of NFS file systems. 
     329 
    255330config BUSYBOX_CONFIG_PIVOT_ROOT 
    256331        bool "pivot_root" 
     
    262337          powerful than 'chroot'. 
    263338 
     339          Note: This is for initrd in linux 2.4.  Under initramfs (introduced 
     340          in linux 2.6) use switch_root instead. 
     341 
    264342config BUSYBOX_CONFIG_RDATE 
    265343        bool "rdate" 
     
    270348          the RFC868 protocol, which is built into the inetd daemon on most 
    271349          systems. 
     350 
     351config BUSYBOX_CONFIG_READPROFILE 
     352        bool "readprofile" 
     353        default n 
     354        help 
     355          This allows you to parse /proc/profile for basic profiling. 
     356 
     357config BUSYBOX_CONFIG_SETARCH 
     358        bool "setarch" 
     359        default n 
     360        help 
     361          The linux32 utility is used to create a 32bit environment for the 
     362          specified program (usually a shell).  It only makes sense to have 
     363          this util on a system that supports both 64bit and 32bit userland 
     364          (like amd64/x86, ppc64/ppc, sparc64/sparc, etc...). 
    272365 
    273366config BUSYBOX_CONFIG_SWAPONOFF 
     
    282375          option disabled. 
    283376 
    284 config BUSYBOX_CONFIG_MOUNT 
    285         bool "mount" 
    286         default y 
    287         help 
    288           All files and filesystems in Unix are arranged into one big directory 
    289           tree.  The 'mount' utility is used to graft a filesystem onto a 
    290           particular part of the tree.  A filesystem can either live on a block 
    291           device, or it can be accessible over the network, as is the case with 
    292           NFS filesystems.  Most people using BusyBox will also want to enable 
    293           the 'mount' utility. 
    294  
    295 config BUSYBOX_FEATURE_MOUNT_NFS 
    296         bool "  Support mounting NFS file systems" 
    297         default y 
    298         depends on BUSYBOX_CONFIG_MOUNT 
    299         help 
    300          Enable mounting of NFS file systems. 
     377config BUSYBOX_CONFIG_SWITCH_ROOT 
     378        bool "switch_root" 
     379        default y 
     380        help 
     381          The switch_root utility is used from initramfs to select a new 
     382          root device.  Under initramfs, you have to use this instead of 
     383          pivot_root.  (Stop reading here if you don't care why.) 
     384 
     385          Booting with initramfs extracts a gzipped cpio archive into rootfs 
     386          (which is a variant of ramfs/tmpfs).  Because rootfs can't be moved 
     387          or unmounted*, pivot_root will not work from initramfs.  Instead, 
     388          switch_root deletes everything out of rootfs (including itself), 
     389          does a mount --move that overmounts rootfs with the new root, and 
     390          then execs the specified init program. 
     391 
     392          * Because the Linux kernel uses rootfs internally as the starting 
     393          and ending point for searching through the kernel's doubly linked 
     394          list of active mount points.  That's why. 
    301395 
    302396config BUSYBOX_CONFIG_UMOUNT 
     
    309403          also want to enable 'umount'. 
    310404 
    311 config BUSYBOX_CONFIG_FEATURE_MOUNT_FORCE 
    312         bool "  Support forced filesystem unmounting" 
     405config BUSYBOX_CONFIG_FEATURE_UMOUNT_ALL 
     406        bool "  umount -a option" 
    313407        default y 
    314408        depends on BUSYBOX_CONFIG_UMOUNT 
    315409        help 
    316           This allows you to _force_ a filesystem to be umounted.  This is generally 
    317           only useful when you want to get rid of an unreachable NFS system. 
     410          Support -a option to unmount all currently mounted filesystems. 
    318411 
    319412comment "Common options for mount/umount" 
     
    321414 
    322415config BUSYBOX_CONFIG_FEATURE_MOUNT_LOOP 
    323         bool "  Support for loop devices" 
     416        bool "  Support loopback mounts" 
    324417        default y 
    325418        depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT 
    326419        help 
    327           Enabling this feature allows mount to use the '-o' loop options, 
    328           which lets you loop mount files.  Mount will automagically setup and 
    329           free the necessary loop devices so you do not need to mess with the 
    330           'losetup' utility unless you really want to.  This is really 
    331           only useful if you plan to loop mount files. 
     420          Enabling this feature allows automatic mounting of files (containing 
     421          filesystem images) via the linux kernel's loopback devices.  The mount 
     422          command will detect you are trying to mount a file instead of a block 
     423          device, and transparently associate the file with a loopback device. 
     424          The umount command will also free that loopback device. 
     425 
     426          You can still use the 'losetup' utility (to manually associate files 
     427          with loop devices) if you need to do something advanced, such as 
     428          specify an offset or cryptographic options to the loopback device. 
     429          (If you don't want umount to free the loop device, use "umount -D".) 
    332430 
    333431config BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT 
    334         bool "  Support for a real /etc/mtab (instead of /proc/mounts)" 
     432        bool "  Support for the old /etc/mtab file" 
    335433        default n 
    336434        depends on BUSYBOX_CONFIG_MOUNT || BUSYBOX_CONFIG_UMOUNT 
    337435        help 
    338           If your root filesystem is writable and you wish to have the 'mount' 
    339           utility create an mtab file listing the filesystems which have been 
    340           mounted then you should enable this option.  Most people that use 
    341           BusyBox have a read-only root filesystem, so they will leave this 
    342           option disabled and BusyBox will use the /proc/mounts file. 
    343  
    344 config BUSYBOX_CONFIG_FEATURE_MTAB_FILENAME 
    345         string "  mtab file location" 
    346         default n 
    347         depends on BUSYBOX_CONFIG_FEATURE_MTAB_SUPPORT 
    348         help 
    349           Some people have a read only root filesystem, but they also wish to 
    350           have the 'mount' utility create an mtab file listing the filesystems 
    351           which have been mounted.  This option allows you to specify an alternative 
    352           location for the mtab file, such as /var/mtab, or /tmp/mtab.  The default 
    353           value is /etc/mtab, which is where this file is located on most desktop 
    354           Linux systems. 
     436          Historically, Unix systems kept track of the currently mounted 
     437          partitions in the file "/etc/mtab".  These days, the kernel exports 
     438          the list of currently mounted partitions in "/proc/mounts", rendering 
     439          the old mtab file obsolete.  (In modern systems, /etc/mtab should be 
     440          a symlink to /proc/mounts.) 
     441 
     442          The only reason to have mount maintain an /etc/mtab file itself is if 
     443          your stripped-down embedded system does not have a /proc directory. 
     444          If you must use this, keep in mind it's inherently brittle (for 
     445          example a mount under chroot won't update it), can't handle modern 
     446          features like separate per-process filesystem namespaces, requires 
     447          that your /etc directory be writeable, tends to get easily confused 
     448          by --bind or --move mounts, and so on.  (In brief: avoid.) 
    355449 
    356450endmenu 
Note: See TracChangeset for help on using the changeset viewer.