aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/Config.in43
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 @@
menu "Shells"
choice
- prompt "Choose your default shell"
+ prompt "Choose which shell is aliased to 'sh' name"
default FEATURE_SH_IS_NONE
help
- Choose a shell. The ash shell is the most bash compatible
- and full featured one.
+ Choose which shell you want to be executed by 'sh' alias.
+ The ash shell is the most bash compatible and full featured one.
config FEATURE_SH_IS_ASH
select ASH
@@ -21,15 +21,38 @@ config FEATURE_SH_IS_HUSH
select HUSH
bool "hush"
-####config FEATURE_SH_IS_LASH
-#### select LASH
-#### bool "lash"
+config FEATURE_SH_IS_NONE
+ bool "none"
-####config FEATURE_SH_IS_MSH
-#### select MSH
-#### bool "msh"
+endchoice
-config FEATURE_SH_IS_NONE
+choice
+ prompt "Choose which shell is aliased to 'bash' name"
+ default FEATURE_BASH_IS_NONE
+ help
+ Choose which shell you want to be executed by 'bash' alias.
+ The ash shell is the most bash compatible and full featured one.
+
+ Note that selecting this option does not switch on any bash
+ compatibility code. It merely makes it possible to install
+ /bin/bash (sym)link and run scripts which start with
+ #!/bin/bash line.
+
+ Many systems use it in scripts which use bash-specific features,
+ even simple ones like $RANDOM. Without this option, busybox
+ can't be used for running them because it won't recongnize
+ "bash" as a supported applet name.
+
+config FEATURE_BASH_IS_ASH
+ select ASH
+ bool "ash"
+ depends on !NOMMU
+
+config FEATURE_BASH_IS_HUSH
+ select HUSH
+ bool "hush"
+
+config FEATURE_BASH_IS_NONE
bool "none"
endchoice