diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-02 18:38:57 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-02 18:38:57 +0100 |
commit | b72baeb00328576df415f9a4b4f3d5f202e3be11 (patch) | |
tree | c6863cb112e6e33908e17f298d541c1b0c3aa418 /shell/Config.src | |
parent | c71b469f5daceb717e31cc9ce46b0e058e2c57b6 (diff) | |
download | busybox-w32-b72baeb00328576df415f9a4b4f3d5f202e3be11.tar.gz busybox-w32-b72baeb00328576df415f9a4b4f3d5f202e3be11.tar.bz2 busybox-w32-b72baeb00328576df415f9a4b4f3d5f202e3be11.zip |
hush: use FEATURE_SH_NOFORK to enable NOFORK trick
Also expands docs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/Config.src')
-rw-r--r-- | shell/Config.src | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shell/Config.src b/shell/Config.src index c9c2439e7..e96c21620 100644 --- a/shell/Config.src +++ b/shell/Config.src | |||
@@ -123,9 +123,9 @@ config FEATURE_SH_NOFORK | |||
123 | default n | 123 | default n |
124 | depends on (HUSH || ASH) && FEATURE_PREFER_APPLETS | 124 | depends on (HUSH || ASH) && FEATURE_PREFER_APPLETS |
125 | help | 125 | help |
126 | This option causes busybox shells [currently only ash] | 126 | This option causes busybox shells to not execute typical |
127 | to not execute typical fork/exec/wait sequence, but call <applet>_main | 127 | fork/exec/wait sequence, but call <applet>_main directly, |
128 | directly, if possible. (Sometimes it is not possible: for example, | 128 | if possible. (Sometimes it is not possible: for example, |
129 | this is not possible in pipes). | 129 | this is not possible in pipes). |
130 | 130 | ||
131 | This will be done only for some applets (those which are marked | 131 | This will be done only for some applets (those which are marked |
@@ -133,6 +133,7 @@ config FEATURE_SH_NOFORK | |||
133 | 133 | ||
134 | This may significantly speed up some shell scripts. | 134 | This may significantly speed up some shell scripts. |
135 | 135 | ||
136 | This feature is relatively new. Use with care. | 136 | This feature is relatively new. Use with care. Report bugs |
137 | to project mailing list. | ||
137 | 138 | ||
138 | endmenu | 139 | endmenu |