blob: 318f523a0dca436a4681fd8688fc3f583e689b05 [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Init Utilities"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config INIT
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "init"
10 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000011 select FEATURE_SYSLOG
Eric Andersenc9f20d92002-12-05 08:41:41 +000012 help
Eric Andersen65e20a32003-07-05 07:52:35 +000013 init is the first program run when the system boots.
Eric Andersenc9f20d92002-12-05 08:41:41 +000014
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015config DEBUG_INIT
Bernhard Reutner-Fischer35e1a072006-05-29 13:08:35 +000016 bool "debugging aid"
17 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000018 depends on INIT
Bernhard Reutner-Fischer35e1a072006-05-29 13:08:35 +000019 help
20 Turn this on to disable all the dangerous
21 rebooting stuff when debugging.
22
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023config FEATURE_USE_INITTAB
Rob Landley2ec922e2006-04-13 23:22:16 +000024 bool "Support reading an inittab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +000025 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000026 depends on INIT
Eric Andersenc9f20d92002-12-05 08:41:41 +000027 help
Eric Andersen65e20a32003-07-05 07:52:35 +000028 Allow init to read an inittab file when the system boot.
Eric Andersenc9f20d92002-12-05 08:41:41 +000029
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000030config FEATURE_INIT_SCTTY
Rob Landley2ec922e2006-04-13 23:22:16 +000031 bool "Support running commands with a controlling-tty"
Paul Fox41a72ec2005-08-01 16:43:13 +000032 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000033 depends on INIT
Paul Fox41a72ec2005-08-01 16:43:13 +000034 help
35 If this option is enabled a command starting with hyphen (-)
36 is run in its own session (setsid(2)) and possibly with a
37 controlling tty (TIOCSCTTY). This is not the traditional init
38 behavour, but is often what you want in an embedded system where
39 the console is only accessed during development or for maintenance.
Denis Vlasenko2afabe82007-12-10 07:06:04 +000040 NB: using cttyhack applet may work better.
Paul Fox41a72ec2005-08-01 16:43:13 +000041
Denis Vlasenkoccd412d2007-03-05 19:55:30 +000042config FEATURE_INIT_SYSLOG
43 bool "Enable init to write to syslog"
44 default n
45 depends on INIT
46
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000047config FEATURE_EXTRA_QUIET
Rob Landley2ec922e2006-04-13 23:22:16 +000048 bool "Be _extra_ quiet on boot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000049 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000050 depends on INIT
Eric Andersenc9f20d92002-12-05 08:41:41 +000051 help
Rob Landley64612912006-01-30 08:31:37 +000052 Prevent init from logging some messages to the console during boot.
53
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000054config FEATURE_INIT_COREDUMPS
Rob Landley2ec922e2006-04-13 23:22:16 +000055 bool "Support dumping core for child processes (debugging only)"
Rob Landley64612912006-01-30 08:31:37 +000056 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000057 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000058 help
59 If this option is enabled and the file /.init_enable_core
60 exists, then init will call setrlimit() to allow unlimited
61 core file sizes. If this option is disabled, processes
62 will not generate any core files.
63
64
65
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000066config FEATURE_INITRD
Rob Landley2ec922e2006-04-13 23:22:16 +000067 bool "Support running init from within an initrd (not initramfs)"
Rob Landley64612912006-01-30 08:31:37 +000068 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000070 help
71 Legacy support for running init under the old-style initrd. Allows
72 the name linuxrc to act as init, and it doesn't assume init is PID 1.
73
74 This does not apply to initramfs, which runs /init as PID 1 and
75 requires no special support.
Eric Andersenc9f20d92002-12-05 08:41:41 +000076
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077config HALT
Rob Landley64612912006-01-30 08:31:37 +000078 bool "poweroff, halt, and reboot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000079 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000080 help
Rob Landley64612912006-01-30 08:31:37 +000081 Stop all processes and either halt, reboot, or power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000082
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000083config MESG
Mike Frysingerf51d2062005-09-24 23:14:11 +000084 bool "mesg"
85 default y
86 help
87 Mesg controls access to your terminal by others. It is typically
88 used to allow or disallow other users to write to your terminal
89
Eric Andersenc9f20d92002-12-05 08:41:41 +000090endmenu