summaryrefslogtreecommitdiff
path: root/shell/Config.src
diff options
context:
space:
mode:
Diffstat (limited to 'shell/Config.src')
-rw-r--r--shell/Config.src114
1 files changed, 8 insertions, 106 deletions
diff --git a/shell/Config.src b/shell/Config.src
index f415a5fa6..6389d943a 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -7,109 +7,6 @@ menu "Shells"
7 7
8INSERT 8INSERT
9 9
10config ASH
11 bool "ash"
12 default y
13 depends on !NOMMU
14 help
15 Tha 'ash' shell adds about 60k in the default configuration and is
16 the most complete and most pedantically correct shell included with
17 busybox. This shell is actually a derivative of the Debian 'dash'
18 shell (by Herbert Xu), which was created by porting the 'ash' shell
19 (written by Kenneth Almquist) from NetBSD.
20
21config ASH_BASH_COMPAT
22 bool "bash-compatible extensions"
23 default y
24 depends on ASH
25 help
26 Enable bash-compatible extensions.
27
28config ASH_JOB_CONTROL
29 bool "Job control"
30 default y
31 depends on ASH
32 help
33 Enable job control in the ash shell.
34
35config ASH_ALIAS
36 bool "alias support"
37 default y
38 depends on ASH
39 help
40 Enable alias support in the ash shell.
41
42config ASH_GETOPTS
43 bool "Builtin getopt to parse positional parameters"
44 default y
45 depends on ASH
46 help
47 Enable getopts builtin in the ash shell.
48
49config ASH_BUILTIN_ECHO
50 bool "Builtin version of 'echo'"
51 default y
52 depends on ASH
53 help
54 Enable support for echo, builtin to ash.
55
56config ASH_BUILTIN_PRINTF
57 bool "Builtin version of 'printf'"
58 default y
59 depends on ASH
60 help
61 Enable support for printf, builtin to ash.
62
63config ASH_BUILTIN_TEST
64 bool "Builtin version of 'test'"
65 default y
66 depends on ASH
67 help
68 Enable support for test, builtin to ash.
69
70config ASH_CMDCMD
71 bool "'command' command to override shell builtins"
72 default y
73 depends on ASH
74 help
75 Enable support for the ash 'command' builtin, which allows
76 you to run the specified command with the specified arguments,
77 even when there is an ash builtin command with the same name.
78
79config ASH_MAIL
80 bool "Check for new mail on interactive shells"
81 default n
82 depends on ASH
83 help
84 Enable "check for new mail" in the ash shell.
85
86config ASH_OPTIMIZE_FOR_SIZE
87 bool "Optimize for size instead of speed"
88 default y
89 depends on ASH
90 help
91 Compile ash for reduced size at the price of speed.
92
93config ASH_RANDOM_SUPPORT
94 bool "Pseudorandom generator and $RANDOM variable"
95 default y
96 depends on ASH
97 help
98 Enable pseudorandom generator and dynamic variable "$RANDOM".
99 Each read of "$RANDOM" will generate a new pseudorandom value.
100 You can reset the generator by using a specified start value.
101 After "unset RANDOM" the generator will switch off and this
102 variable will no longer have special treatment.
103
104config ASH_EXPAND_PRMT
105 bool "Expand prompt string"
106 default y
107 depends on ASH
108 help
109 "PS#" may contain volatile content, such as backquote commands.
110 This option recreates the prompt string from the environment
111 variable each time it is displayed.
112
113 10
114choice 11choice
115 prompt "Choose which shell is aliased to 'sh' name" 12 prompt "Choose which shell is aliased to 'sh' name"
@@ -284,12 +181,17 @@ config CTTYHACK
284 181
285 ::respawn:/bin/cttyhack /bin/sh 182 ::respawn:/bin/cttyhack /bin/sh
286 183
184 Starting an interactive shell from boot shell script:
185
186 setsid cttyhack sh
187
287 Giving controlling tty to shell running with PID 1: 188 Giving controlling tty to shell running with PID 1:
288 189
289 $ exec cttyhack sh 190 # exec cttyhack sh
290 191
291 Starting an interactive shell from boot shell script: 192 Without cttyhack, you need to know exact tty name,
193 and do something like this:
292 194
293 setsid cttyhack sh 195 # exec setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1'
294 196
295endmenu 197endmenu