summaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-08 17:27:17 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-08 17:27:17 +0000
commit92c0b8222eb50dd35c06e2f1265706b388762234 (patch)
treec94def6f5c4cfbbcc1a7a70d96e721eb433ed01f /shell/Config.in
parent0cacc80952a7a34f9cb8b384d6dd0b1522c37bae (diff)
downloadbusybox-w32-92c0b8222eb50dd35c06e2f1265706b388762234.tar.gz
busybox-w32-92c0b8222eb50dd35c06e2f1265706b388762234.tar.bz2
busybox-w32-92c0b8222eb50dd35c06e2f1265706b388762234.zip
tail: fix SEGV on "tail -N"
config system: clarify PREFER_APPLETS/SH_STANDALONE effects in help text
Diffstat (limited to '')
-rw-r--r--shell/Config.in29
1 files changed, 19 insertions, 10 deletions
diff --git a/shell/Config.in b/shell/Config.in
index f3726e302..027993483 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -242,7 +242,7 @@ config FEATURE_SH_STANDALONE
242 default n 242 default n
243 depends on (MSH || LASH || HUSH || ASH) && FEATURE_PREFER_APPLETS 243 depends on (MSH || LASH || HUSH || ASH) && FEATURE_PREFER_APPLETS
244 help 244 help
245 This option causes the selected busybox shell to use busybox applets 245 This option causes busybox shells to use busybox applets
246 in preference to executables in the PATH whenever possible. For 246 in preference to executables in the PATH whenever possible. For
247 example, entering the command 'ifconfig' into the shell would cause 247 example, entering the command 'ifconfig' into the shell would cause
248 busybox to use the ifconfig busybox applet. Specifying the fully 248 busybox to use the ifconfig busybox applet. Specifying the fully
@@ -251,14 +251,23 @@ config FEATURE_SH_STANDALONE
251 is generally used when creating a statically linked version of busybox 251 is generally used when creating a statically linked version of busybox
252 for use as a rescue shell, in the event that you screw up your system. 252 for use as a rescue shell, in the event that you screw up your system.
253 253
254 Note that this will *also* cause applets to take precedence 254 This is implemented by re-execing /proc/self/exe (typically)
255 over shell builtins of the same name. So turning this on will 255 with right parameters. Some selected applets ("NOFORK" applets)
256 eliminate any performance gained by turning on the builtin "echo" 256 can even be executed without creating new process.
257 and "test" commands in ash. 257 Instead, busybox will call <applet>_main() internally.
258 258
259 Note that when using this option, the shell will attempt to directly 259 However, this causes problems in chroot jails without mounted /proc
260 run '/bin/busybox'. If you do not have the busybox binary sitting in 260 and with ps/top (command name can be shown as 'exe' for applets
261 that exact location with that exact name, this option will not work at 261 started this way).
262 all. 262# untrue?
263# Note that this will *also* cause applets to take precedence
264# over shell builtins of the same name. So turning this on will
265# eliminate any performance gained by turning on the builtin "echo"
266# and "test" commands in ash.
267# untrue?
268# Note that when using this option, the shell will attempt to directly
269# run '/bin/busybox'. If you do not have the busybox binary sitting in
270# that exact location with that exact name, this option will not work at
271# all.
263 272
264endmenu 273endmenu