Contents of /tags/mkinitrd-6_1_1/busybox/init/Config.in
Parent Directory | Revision Log
Revision 841 -
(show annotations)
(download)
Mon May 4 16:31:54 2009 UTC (15 years, 4 months ago) by niro
File size: 3047 byte(s)
Mon May 4 16:31:54 2009 UTC (15 years, 4 months ago) by niro
File size: 3047 byte(s)
tagged 'mkinitrd-6_1_1'
1 | # |
2 | # For a description of the syntax of this configuration file, |
3 | # see scripts/kbuild/config-language.txt. |
4 | # |
5 | |
6 | menu "Init Utilities" |
7 | |
8 | config INIT |
9 | bool "init" |
10 | default n |
11 | select FEATURE_SYSLOG |
12 | help |
13 | init is the first program run when the system boots. |
14 | |
15 | config FEATURE_USE_INITTAB |
16 | bool "Support reading an inittab file" |
17 | default y |
18 | depends on INIT |
19 | help |
20 | Allow init to read an inittab file when the system boot. |
21 | |
22 | config FEATURE_KILL_REMOVED |
23 | bool "Support killing processes that have been removed from inittab" |
24 | default y |
25 | depends on FEATURE_USE_INITTAB |
26 | help |
27 | When respawn entries are removed from inittab and a SIGHUP is |
28 | sent to init, this feature will kill the processes that have |
29 | been removed. |
30 | |
31 | config FEATURE_KILL_DELAY |
32 | int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED |
33 | range 0 1024 |
34 | default 0 |
35 | help |
36 | With nonzero setting, init sends TERM, forks, child waits N |
37 | seconds, sends KILL and exits. Setting it too high is unwise |
38 | (child will hang around for too long and can actually kill |
39 | wrong process!) |
40 | |
41 | config FEATURE_INIT_SCTTY |
42 | bool "Run commands with leading dash with controlling tty" |
43 | default n |
44 | depends on INIT |
45 | help |
46 | If this option is enabled, init will try to give a controlling |
47 | tty to any command which has leading hyphen (often it's "-/bin/sh"). |
48 | More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)". |
49 | If device attached to STDIN_FILENO can be a ctty but is not yet |
50 | a ctty for other session, it will become this process' ctty. |
51 | This is not the traditional init behavour, but is often what you want |
52 | in an embedded system where the console is only accessed during |
53 | development or for maintenance. |
54 | NB: using cttyhack applet may work better. |
55 | |
56 | config FEATURE_INIT_SYSLOG |
57 | bool "Enable init to write to syslog" |
58 | default n |
59 | depends on INIT |
60 | |
61 | config FEATURE_EXTRA_QUIET |
62 | bool "Be _extra_ quiet on boot" |
63 | default y |
64 | depends on INIT |
65 | help |
66 | Prevent init from logging some messages to the console during boot. |
67 | |
68 | config FEATURE_INIT_COREDUMPS |
69 | bool "Support dumping core for child processes (debugging only)" |
70 | default n |
71 | depends on INIT |
72 | help |
73 | If this option is enabled and the file /.init_enable_core |
74 | exists, then init will call setrlimit() to allow unlimited |
75 | core file sizes. If this option is disabled, processes |
76 | will not generate any core files. |
77 | |
78 | config FEATURE_INITRD |
79 | bool "Support running init from within an initrd (not initramfs)" |
80 | default y |
81 | depends on INIT |
82 | help |
83 | Legacy support for running init under the old-style initrd. Allows |
84 | the name linuxrc to act as init, and it doesn't assume init is PID 1. |
85 | |
86 | This does not apply to initramfs, which runs /init as PID 1 and |
87 | requires no special support. |
88 | |
89 | config HALT |
90 | bool "poweroff, halt, and reboot" |
91 | default n |
92 | help |
93 | Stop all processes and either halt, reboot, or power off the system. |
94 | |
95 | config MESG |
96 | bool "mesg" |
97 | default n |
98 | help |
99 | Mesg controls access to your terminal by others. It is typically |
100 | used to allow or disallow other users to write to your terminal |
101 | |
102 | endmenu |