diff options
author | Denis Vlasenko | 2007-12-25 01:08:58 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-12-25 01:08:58 +0000 |
commit | ec5631b6d697895ff4f1f750840326f9f035df96 (patch) | |
tree | 041d1134275f62d9887c1684d9ed51c043ca7454 /init/Config.in | |
parent | 7b55c7f97d1aec5a34a33b8ce6412f2d62f7122a (diff) | |
download | busybox-ec5631b6d697895ff4f1f750840326f9f035df96.zip busybox-ec5631b6d697895ff4f1f750840326f9f035df96.tar.gz |
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.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/init/Config.in b/init/Config.in index 318f523..1084de9 100644 --- a/init/Config.in +++ b/init/Config.in @@ -27,6 +27,26 @@ config FEATURE_USE_INITTAB help Allow init to read an inittab file when the system boot. +config FEATURE_KILL_REMOVED + bool "Support killing processes that have been removed from inittab" + default y + depends on FEATURE_USE_INITTAB + help + When respawn entries are removed from inittab and a SIGHUP is + sent to init, this feature will kill the processes that have + been removed. + +config FEATURE_KILL_DELAY + int "How long to wait between TERM and KILL (0 - send TERM only)" + range 0 1024 + default 0 + depends on FEATURE_KILL_REMOVED + help + With nonzero setting, init sends TERM, forks, child waits N + seconds, sends KILL and exits. Setting it too high is unwise + (child will hang around for too long and can actually kill + wrong process!) + config FEATURE_INIT_SCTTY bool "Support running commands with a controlling-tty" default n |