blob: 3987d8feeb6902d15fe9c74d6687e1ad0449e9d0 [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.
40
Denis Vlasenkoccd412d2007-03-05 19:55:30 +000041config FEATURE_INIT_SYSLOG
42 bool "Enable init to write to syslog"
43 default n
44 depends on INIT
45
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000046config FEATURE_EXTRA_QUIET
Rob Landley2ec922e2006-04-13 23:22:16 +000047 bool "Be _extra_ quiet on boot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000048 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000049 depends on INIT
Eric Andersenc9f20d92002-12-05 08:41:41 +000050 help
Rob Landley64612912006-01-30 08:31:37 +000051 Prevent init from logging some messages to the console during boot.
52
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000053config FEATURE_INIT_COREDUMPS
Rob Landley2ec922e2006-04-13 23:22:16 +000054 bool "Support dumping core for child processes (debugging only)"
Rob Landley64612912006-01-30 08:31:37 +000055 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000056 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000057 help
58 If this option is enabled and the file /.init_enable_core
59 exists, then init will call setrlimit() to allow unlimited
60 core file sizes. If this option is disabled, processes
61 will not generate any core files.
62
63
64
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000065config FEATURE_INITRD
Rob Landley2ec922e2006-04-13 23:22:16 +000066 bool "Support running init from within an initrd (not initramfs)"
Rob Landley64612912006-01-30 08:31:37 +000067 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000069 help
70 Legacy support for running init under the old-style initrd. Allows
71 the name linuxrc to act as init, and it doesn't assume init is PID 1.
72
73 This does not apply to initramfs, which runs /init as PID 1 and
74 requires no special support.
Eric Andersenc9f20d92002-12-05 08:41:41 +000075
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000076config HALT
Rob Landley64612912006-01-30 08:31:37 +000077 bool "poweroff, halt, and reboot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000078 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000079 help
Rob Landley64612912006-01-30 08:31:37 +000080 Stop all processes and either halt, reboot, or power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000081
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000082config MESG
Mike Frysingerf51d2062005-09-24 23:14:11 +000083 bool "mesg"
84 default y
85 help
86 Mesg controls access to your terminal by others. It is typically
87 used to allow or disallow other users to write to your terminal
88
Eric Andersenc9f20d92002-12-05 08:41:41 +000089endmenu