diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-12 13:47:15 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-12 13:47:15 +0200 |
commit | b1db09be5a19f814ed5dc7e0ab095c3355926da6 (patch) | |
tree | 382ba65d4a9194cb1b694e4240a0cf005bf567f1 /init/Config.src | |
parent | d4d289acf5eb59ebae414f9aae8a74de30dce36a (diff) | |
download | busybox-w32-b1db09be5a19f814ed5dc7e0ab095c3355926da6.tar.gz busybox-w32-b1db09be5a19f814ed5dc7e0ab095c3355926da6.tar.bz2 busybox-w32-b1db09be5a19f814ed5dc7e0ab095c3355926da6.zip |
init/*: move applet/kbuild/config/help bits into applet source files
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'init/Config.src')
-rw-r--r-- | init/Config.src | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/init/Config.src b/init/Config.src index 2cac3573e..5767c93f0 100644 --- a/init/Config.src +++ b/init/Config.src | |||
@@ -7,131 +7,4 @@ menu "Init Utilities" | |||
7 | 7 | ||
8 | INSERT | 8 | INSERT |
9 | 9 | ||
10 | config INIT | ||
11 | bool "init" | ||
12 | default y | ||
13 | select FEATURE_SYSLOG | ||
14 | help | ||
15 | init is the first program run when the system boots. | ||
16 | |||
17 | config FEATURE_USE_INITTAB | ||
18 | bool "Support reading an inittab file" | ||
19 | default y | ||
20 | depends on INIT | ||
21 | help | ||
22 | Allow init to read an inittab file when the system boot. | ||
23 | |||
24 | config FEATURE_KILL_REMOVED | ||
25 | bool "Support killing processes that have been removed from inittab" | ||
26 | default n | ||
27 | depends on FEATURE_USE_INITTAB | ||
28 | help | ||
29 | When respawn entries are removed from inittab and a SIGHUP is | ||
30 | sent to init, this option will make init kill the processes | ||
31 | that have been removed. | ||
32 | |||
33 | config FEATURE_KILL_DELAY | ||
34 | int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED | ||
35 | range 0 1024 | ||
36 | default 0 | ||
37 | depends on FEATURE_KILL_REMOVED | ||
38 | help | ||
39 | With nonzero setting, init sends TERM, forks, child waits N | ||
40 | seconds, sends KILL and exits. Setting it too high is unwise | ||
41 | (child will hang around for too long and could actually kill | ||
42 | the wrong process!) | ||
43 | |||
44 | config FEATURE_INIT_SCTTY | ||
45 | bool "Run commands with leading dash with controlling tty" | ||
46 | default y | ||
47 | depends on INIT | ||
48 | help | ||
49 | If this option is enabled, init will try to give a controlling | ||
50 | tty to any command which has leading hyphen (often it's "-/bin/sh"). | ||
51 | More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)". | ||
52 | If device attached to STDIN_FILENO can be a ctty but is not yet | ||
53 | a ctty for other session, it will become this process' ctty. | ||
54 | This is not the traditional init behavour, but is often what you want | ||
55 | in an embedded system where the console is only accessed during | ||
56 | development or for maintenance. | ||
57 | NB: using cttyhack applet may work better. | ||
58 | |||
59 | config FEATURE_INIT_SYSLOG | ||
60 | bool "Enable init to write to syslog" | ||
61 | default y | ||
62 | depends on INIT | ||
63 | |||
64 | config FEATURE_EXTRA_QUIET | ||
65 | bool "Be _extra_ quiet on boot" | ||
66 | default y | ||
67 | depends on INIT | ||
68 | help | ||
69 | Prevent init from logging some messages to the console during boot. | ||
70 | |||
71 | config FEATURE_INIT_COREDUMPS | ||
72 | bool "Support dumping core for child processes (debugging only)" | ||
73 | default y | ||
74 | depends on INIT | ||
75 | help | ||
76 | If this option is enabled and the file /.init_enable_core | ||
77 | exists, then init will call setrlimit() to allow unlimited | ||
78 | core file sizes. If this option is disabled, processes | ||
79 | will not generate any core files. | ||
80 | |||
81 | config FEATURE_INITRD | ||
82 | bool "Support running init from within an initrd (not initramfs)" | ||
83 | default y | ||
84 | depends on INIT | ||
85 | help | ||
86 | Legacy support for running init under the old-style initrd. Allows | ||
87 | the name linuxrc to act as init, and it doesn't assume init is PID 1. | ||
88 | |||
89 | This does not apply to initramfs, which runs /init as PID 1 and | ||
90 | requires no special support. | ||
91 | |||
92 | config INIT_TERMINAL_TYPE | ||
93 | string "Initial terminal type" | ||
94 | default "linux" | ||
95 | depends on INIT | ||
96 | help | ||
97 | This is the initial value set by init for the TERM environment | ||
98 | variable. This variable is used by programs which make use of | ||
99 | extended terminal capabilities. | ||
100 | |||
101 | Note that on Linux, init attempts to detect serial terminal and | ||
102 | sets TERM to "vt102" if one is found. | ||
103 | |||
104 | config HALT | ||
105 | bool "poweroff, halt, and reboot" | ||
106 | default y | ||
107 | help | ||
108 | Stop all processes and either halt, reboot, or power off the system. | ||
109 | |||
110 | config FEATURE_CALL_TELINIT | ||
111 | bool "Call telinit on shutdown and reboot" | ||
112 | default y | ||
113 | depends on HALT && !INIT | ||
114 | help | ||
115 | Call an external program (normally telinit) to facilitate | ||
116 | a switch to a proper runlevel. | ||
117 | |||
118 | This option is only available if you selected halt and friends, | ||
119 | but did not select init. | ||
120 | |||
121 | config TELINIT_PATH | ||
122 | string "Path to telinit executable" | ||
123 | default "/sbin/telinit" | ||
124 | depends on FEATURE_CALL_TELINIT | ||
125 | help | ||
126 | When busybox halt and friends have to call external telinit | ||
127 | to facilitate proper shutdown, this path is to be used when | ||
128 | locating telinit executable. | ||
129 | |||
130 | config MESG | ||
131 | bool "mesg" | ||
132 | default y | ||
133 | help | ||
134 | Mesg controls access to your terminal by others. It is typically | ||
135 | used to allow or disallow other users to write to your terminal | ||
136 | |||
137 | endmenu | 10 | endmenu |