diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/Config.in | 43 |
1 files changed, 33 insertions, 10 deletions
diff --git a/shell/Config.in b/shell/Config.in index cf599dff4..286a3415e 100644 --- a/shell/Config.in +++ b/shell/Config.in | |||
@@ -6,11 +6,11 @@ | |||
6 | menu "Shells" | 6 | menu "Shells" |
7 | 7 | ||
8 | choice | 8 | choice |
9 | prompt "Choose your default shell" | 9 | prompt "Choose which shell is aliased to 'sh' name" |
10 | default FEATURE_SH_IS_NONE | 10 | default FEATURE_SH_IS_NONE |
11 | help | 11 | help |
12 | Choose a shell. The ash shell is the most bash compatible | 12 | Choose which shell you want to be executed by 'sh' alias. |
13 | and full featured one. | 13 | The ash shell is the most bash compatible and full featured one. |
14 | 14 | ||
15 | config FEATURE_SH_IS_ASH | 15 | config FEATURE_SH_IS_ASH |
16 | select ASH | 16 | select ASH |
@@ -21,15 +21,38 @@ config FEATURE_SH_IS_HUSH | |||
21 | select HUSH | 21 | select HUSH |
22 | bool "hush" | 22 | bool "hush" |
23 | 23 | ||
24 | ####config FEATURE_SH_IS_LASH | 24 | config FEATURE_SH_IS_NONE |
25 | #### select LASH | 25 | bool "none" |
26 | #### bool "lash" | ||
27 | 26 | ||
28 | ####config FEATURE_SH_IS_MSH | 27 | endchoice |
29 | #### select MSH | ||
30 | #### bool "msh" | ||
31 | 28 | ||
32 | config FEATURE_SH_IS_NONE | 29 | choice |
30 | prompt "Choose which shell is aliased to 'bash' name" | ||
31 | default FEATURE_BASH_IS_NONE | ||
32 | help | ||
33 | Choose which shell you want to be executed by 'bash' alias. | ||
34 | The ash shell is the most bash compatible and full featured one. | ||
35 | |||
36 | Note that selecting this option does not switch on any bash | ||
37 | compatibility code. It merely makes it possible to install | ||
38 | /bin/bash (sym)link and run scripts which start with | ||
39 | #!/bin/bash line. | ||
40 | |||
41 | Many systems use it in scripts which use bash-specific features, | ||
42 | even simple ones like $RANDOM. Without this option, busybox | ||
43 | can't be used for running them because it won't recongnize | ||
44 | "bash" as a supported applet name. | ||
45 | |||
46 | config FEATURE_BASH_IS_ASH | ||
47 | select ASH | ||
48 | bool "ash" | ||
49 | depends on !NOMMU | ||
50 | |||
51 | config FEATURE_BASH_IS_HUSH | ||
52 | select HUSH | ||
53 | bool "hush" | ||
54 | |||
55 | config FEATURE_BASH_IS_NONE | ||
33 | bool "none" | 56 | bool "none" |
34 | 57 | ||
35 | endchoice | 58 | endchoice |