sh: fix FEATURE_SH_STANDALONE help text: it does not enable NOFORK
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Jan 2017 17:31:51 +0000 (18:31 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 26 Jan 2017 17:31:51 +0000 (18:31 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/Config.src

index 3545f05dd5905c802eef0706559d29d1767b147c..6a7e12aa73d1376ba9d5c5d14ed729c36d2c67a6 100644 (file)
@@ -121,23 +121,11 @@ config FEATURE_SH_STANDALONE
          for use as a rescue shell, in the event that you screw up your system.
 
          This is implemented by re-execing /proc/self/exe (typically)
-         with right parameters. Some selected applets ("NOFORK" applets)
-         can even be executed without creating new process.
-         Instead, busybox will call <applet>_main() internally.
-
-         However, this causes problems in chroot jails without mounted /proc
-         and with ps/top (command name can be shown as 'exe' for applets
-         started this way).
-# untrue?
-#        Note that this will *also* cause applets to take precedence
-#        over shell builtins of the same name. So turning this on will
-#        eliminate any performance gained by turning on the builtin "echo"
-#        and "test" commands in ash.
-# untrue?
-#        Note that when using this option, the shell will attempt to directly
-#        run '/bin/busybox'. If you do not have the busybox binary sitting in
-#        that exact location with that exact name, this option will not work at
-#        all.
+         with right parameters.
+
+         However, there are drawbacks: it is problematic in chroot jails without
+         mounted /proc, and ps/top may show command name as 'exe' for applets
+         started this way.
 
 config FEATURE_SH_NOFORK
        bool "Run 'nofork' applets directly"