blob: 8b9179124554289b5b72fc5fa2084cf5e6d9ee40 [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
11 help
Eric Andersen65e20a32003-07-05 07:52:35 +000012 init is the first program run when the system boots.
Eric Andersenc9f20d92002-12-05 08:41:41 +000013
Bernhard Reutner-Fischer35e1a072006-05-29 13:08:35 +000014config CONFIG_DEBUG_INIT
15 bool "debugging aid"
16 default n
17 depends on CONFIG_INIT
18 help
19 Turn this on to disable all the dangerous
20 rebooting stuff when debugging.
21
Eric Andersenc9f20d92002-12-05 08:41:41 +000022config CONFIG_FEATURE_USE_INITTAB
Rob Landley2ec922e2006-04-13 23:22:16 +000023 bool "Support reading an inittab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +000024 default y
25 depends on CONFIG_INIT
26 help
Eric Andersen65e20a32003-07-05 07:52:35 +000027 Allow init to read an inittab file when the system boot.
Eric Andersenc9f20d92002-12-05 08:41:41 +000028
Paul Fox41a72ec2005-08-01 16:43:13 +000029config CONFIG_FEATURE_INIT_SCTTY
Rob Landley2ec922e2006-04-13 23:22:16 +000030 bool "Support running commands with a controlling-tty"
Paul Fox41a72ec2005-08-01 16:43:13 +000031 default n
32 depends on CONFIG_INIT
33 help
34 If this option is enabled a command starting with hyphen (-)
35 is run in its own session (setsid(2)) and possibly with a
36 controlling tty (TIOCSCTTY). This is not the traditional init
37 behavour, but is often what you want in an embedded system where
38 the console is only accessed during development or for maintenance.
39
Eric Andersenc9f20d92002-12-05 08:41:41 +000040config CONFIG_FEATURE_EXTRA_QUIET
Rob Landley2ec922e2006-04-13 23:22:16 +000041 bool "Be _extra_ quiet on boot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000042 default y
43 depends on CONFIG_INIT
44 help
Rob Landley64612912006-01-30 08:31:37 +000045 Prevent init from logging some messages to the console during boot.
46
47config CONFIG_FEATURE_INIT_COREDUMPS
Rob Landley2ec922e2006-04-13 23:22:16 +000048 bool "Support dumping core for child processes (debugging only)"
Rob Landley64612912006-01-30 08:31:37 +000049 default n
50 depends on CONFIG_INIT
51 help
52 If this option is enabled and the file /.init_enable_core
53 exists, then init will call setrlimit() to allow unlimited
54 core file sizes. If this option is disabled, processes
55 will not generate any core files.
56
57
58
59config CONFIG_FEATURE_INITRD
Rob Landley2ec922e2006-04-13 23:22:16 +000060 bool "Support running init from within an initrd (not initramfs)"
Rob Landley64612912006-01-30 08:31:37 +000061 default y
62 depends on CONFIG_INIT
63 help
64 Legacy support for running init under the old-style initrd. Allows
65 the name linuxrc to act as init, and it doesn't assume init is PID 1.
66
67 This does not apply to initramfs, which runs /init as PID 1 and
68 requires no special support.
Eric Andersenc9f20d92002-12-05 08:41:41 +000069
Eric Andersenc9f20d92002-12-05 08:41:41 +000070config CONFIG_HALT
Rob Landley64612912006-01-30 08:31:37 +000071 bool "poweroff, halt, and reboot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000072 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000073 help
Rob Landley64612912006-01-30 08:31:37 +000074 Stop all processes and either halt, reboot, or power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000075
Mike Frysingerf51d2062005-09-24 23:14:11 +000076config CONFIG_MESG
77 bool "mesg"
78 default y
79 help
80 Mesg controls access to your terminal by others. It is typically
81 used to allow or disallow other users to write to your terminal
82
Eric Andersenc9f20d92002-12-05 08:41:41 +000083endmenu