blob: 2a39d50e578384686aa12e010f9a4df375e7db52 [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
8config CONFIG_INIT
9 bool "init"
10 default n
Denis Vlasenko049d6b82006-09-07 06:02:39 +000011 select CONFIG_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
Bernhard Reutner-Fischer35e1a072006-05-29 13:08:35 +000015config CONFIG_DEBUG_INIT
16 bool "debugging aid"
17 default n
18 depends on CONFIG_INIT
19 help
20 Turn this on to disable all the dangerous
21 rebooting stuff when debugging.
22
Eric Andersenc9f20d92002-12-05 08:41:41 +000023config CONFIG_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
26 depends on CONFIG_INIT
27 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
Paul Fox41a72ec2005-08-01 16:43:13 +000030config CONFIG_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
33 depends on CONFIG_INIT
34 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000041config CONFIG_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
44 depends on CONFIG_INIT
45 help
Rob Landley64612912006-01-30 08:31:37 +000046 Prevent init from logging some messages to the console during boot.
47
48config CONFIG_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
51 depends on CONFIG_INIT
52 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
60config CONFIG_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
63 depends on CONFIG_INIT
64 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
Eric Andersenc9f20d92002-12-05 08:41:41 +000071config CONFIG_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
Mike Frysingerf51d2062005-09-24 23:14:11 +000077config CONFIG_MESG
78 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