aboutsummaryrefslogtreecommitdiff
path: root/init/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-25 01:08:58 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-25 01:08:58 +0000
commitec5631b6d697895ff4f1f750840326f9f035df96 (patch)
tree041d1134275f62d9887c1684d9ed51c043ca7454 /init/Config.in
parent7b55c7f97d1aec5a34a33b8ce6412f2d62f7122a (diff)
downloadbusybox-w32-ec5631b6d697895ff4f1f750840326f9f035df96.tar.gz
busybox-w32-ec5631b6d697895ff4f1f750840326f9f035df96.tar.bz2
busybox-w32-ec5631b6d697895ff4f1f750840326f9f035df96.zip
init: add FEATURE_KILL_REMOVED (Eugene Bordenkircher <eugebo@gmail.com>)
init: slight size optimization
Diffstat (limited to 'init/Config.in')
-rw-r--r--init/Config.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/init/Config.in b/init/Config.in
index 318f523a0..1084de905 100644
--- a/init/Config.in
+++ b/init/Config.in
@@ -27,6 +27,26 @@ config FEATURE_USE_INITTAB
27 help 27 help
28 Allow init to read an inittab file when the system boot. 28 Allow init to read an inittab file when the system boot.
29 29
30config FEATURE_KILL_REMOVED
31 bool "Support killing processes that have been removed from inittab"
32 default y
33 depends on FEATURE_USE_INITTAB
34 help
35 When respawn entries are removed from inittab and a SIGHUP is
36 sent to init, this feature will kill the processes that have
37 been removed.
38
39config FEATURE_KILL_DELAY
40 int "How long to wait between TERM and KILL (0 - send TERM only)"
41 range 0 1024
42 default 0
43 depends on FEATURE_KILL_REMOVED
44 help
45 With nonzero setting, init sends TERM, forks, child waits N
46 seconds, sends KILL and exits. Setting it too high is unwise
47 (child will hang around for too long and can actually kill
48 wrong process!)
49
30config FEATURE_INIT_SCTTY 50config FEATURE_INIT_SCTTY
31 bool "Support running commands with a controlling-tty" 51 bool "Support running commands with a controlling-tty"
32 default n 52 default n