aboutsummaryrefslogtreecommitdiff
path: root/init/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 02:57:07 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-19 02:57:07 +0000
commita37e7134f76b7661b86bb9cc926f28f81b1e1109 (patch)
tree88c511c1f1094c3c4207523e31db5fdf7bda6069 /init/Config.in
parent92657d484f4f95ce4579ad095c9caf596a737e5b (diff)
downloadbusybox-w32-a37e7134f76b7661b86bb9cc926f28f81b1e1109.tar.gz
busybox-w32-a37e7134f76b7661b86bb9cc926f28f81b1e1109.tar.bz2
busybox-w32-a37e7134f76b7661b86bb9cc926f28f81b1e1109.zip
init: fix bug 1111: restart actions were not splitting words:
::restart:/sbin/rc restart resulted in: exec of '/sbin/rc restart' failed: No such file or directory
Diffstat (limited to 'init/Config.in')
-rw-r--r--init/Config.in15
1 files changed, 9 insertions, 6 deletions
diff --git a/init/Config.in b/init/Config.in
index 4c5610246..f525abc8a 100644
--- a/init/Config.in
+++ b/init/Config.in
@@ -47,15 +47,18 @@ config FEATURE_KILL_DELAY
47 wrong process!) 47 wrong process!)
48 48
49config FEATURE_INIT_SCTTY 49config FEATURE_INIT_SCTTY
50 bool "Support running commands with a controlling-tty" 50 bool "Run commands with leading dash with controlling tty"
51 default n 51 default n
52 depends on INIT 52 depends on INIT
53 help 53 help
54 If this option is enabled a command starting with hyphen (-) 54 If this option is enabled, init will try to give a controlling
55 is run in its own session (setsid(2)) and possibly with a 55 tty to any command which has leading hyphen (often it's "-/bin/sh").
56 controlling tty (TIOCSCTTY). This is not the traditional init 56 More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
57 behavour, but is often what you want in an embedded system where 57 If device attached to STDIN_FILENO can be a ctty but is not yet
58 the console is only accessed during development or for maintenance. 58 a ctty for other session, it will become this process' ctty.
59 This is not the traditional init behavour, but is often what you want
60 in an embedded system where the console is only accessed during
61 development or for maintenance.
59 NB: using cttyhack applet may work better. 62 NB: using cttyhack applet may work better.
60 63
61config FEATURE_INIT_SYSLOG 64config FEATURE_INIT_SYSLOG