2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
13 init is the first program run when the system boots.
20 Turn this on to disable all the dangerous
21 rebooting stuff when debugging.
23 config FEATURE_USE_INITTAB
24 bool "Support reading an inittab file"
28 Allow init to read an inittab file when the system boot.
30 config FEATURE_KILL_REMOVED
31 bool "Support killing processes that have been removed from inittab"
33 depends on FEATURE_USE_INITTAB
35 When respawn entries are removed from inittab and a SIGHUP is
36 sent to init, this feature will kill the processes that have
39 config FEATURE_KILL_DELAY
40 int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
44 With nonzero setting, init sends TERM, forks, child waits N
45 seconds, sends KILL and exits. Setting it too high is unwise
46 (child will hang around for too long and can actually kill
49 config FEATURE_INIT_SCTTY
50 bool "Support running commands with a controlling-tty"
54 If this option is enabled a command starting with hyphen (-)
55 is run in its own session (setsid(2)) and possibly with a
56 controlling tty (TIOCSCTTY). This is not the traditional init
57 behavour, but is often what you want in an embedded system where
58 the console is only accessed during development or for maintenance.
59 NB: using cttyhack applet may work better.
61 config FEATURE_INIT_SYSLOG
62 bool "Enable init to write to syslog"
66 config FEATURE_EXTRA_QUIET
67 bool "Be _extra_ quiet on boot"
71 Prevent init from logging some messages to the console during boot.
73 config FEATURE_INIT_COREDUMPS
74 bool "Support dumping core for child processes (debugging only)"
78 If this option is enabled and the file /.init_enable_core
79 exists, then init will call setrlimit() to allow unlimited
80 core file sizes. If this option is disabled, processes
81 will not generate any core files.
86 bool "Support running init from within an initrd (not initramfs)"
90 Legacy support for running init under the old-style initrd. Allows
91 the name linuxrc to act as init, and it doesn't assume init is PID 1.
93 This does not apply to initramfs, which runs /init as PID 1 and
94 requires no special support.
97 bool "poweroff, halt, and reboot"
100 Stop all processes and either halt, reboot, or power off the system.
106 Mesg controls access to your terminal by others. It is typically
107 used to allow or disallow other users to write to your terminal