blob: c0ad5263df206fcc146f4ada50988a0021707257 [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 Vlasenko7d219aa2006-10-05 10:17:08 +000041config FEATURE_EXTRA_QUIET
Rob Landley2ec922e2006-04-13 23:22:16 +000042 bool "Be _extra_ quiet on boot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000043 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044 depends on INIT
Eric Andersenc9f20d92002-12-05 08:41:41 +000045 help
Rob Landley64612912006-01-30 08:31:37 +000046 Prevent init from logging some messages to the console during boot.
47
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000048config FEATURE_INIT_COREDUMPS
Rob Landley2ec922e2006-04-13 23:22:16 +000049 bool "Support dumping core for child processes (debugging only)"
Rob Landley64612912006-01-30 08:31:37 +000050 default n
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000051 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000052 help
53 If this option is enabled and the file /.init_enable_core
54 exists, then init will call setrlimit() to allow unlimited
55 core file sizes. If this option is disabled, processes
56 will not generate any core files.
57
58
59
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000060config FEATURE_INITRD
Rob Landley2ec922e2006-04-13 23:22:16 +000061 bool "Support running init from within an initrd (not initramfs)"
Rob Landley64612912006-01-30 08:31:37 +000062 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000063 depends on INIT
Rob Landley64612912006-01-30 08:31:37 +000064 help
65 Legacy support for running init under the old-style initrd. Allows
66 the name linuxrc to act as init, and it doesn't assume init is PID 1.
67
68 This does not apply to initramfs, which runs /init as PID 1 and
69 requires no special support.
Eric Andersenc9f20d92002-12-05 08:41:41 +000070
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000071config HALT
Rob Landley64612912006-01-30 08:31:37 +000072 bool "poweroff, halt, and reboot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000073 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000074 help
Rob Landley64612912006-01-30 08:31:37 +000075 Stop all processes and either halt, reboot, or power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000076
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077config MESG
Mike Frysingerf51d2062005-09-24 23:14:11 +000078 bool "mesg"
79 default y
80 help
81 Mesg controls access to your terminal by others. It is typically
82 used to allow or disallow other users to write to your terminal
83
Eric Andersenc9f20d92002-12-05 08:41:41 +000084endmenu