blob: 11374713364d47eddc8a252ebde96c253d54ec25 [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
14config CONFIG_FEATURE_USE_INITTAB
Rob Landley2ec922e2006-04-13 23:22:16 +000015 bool "Support reading an inittab file"
Eric Andersenc9f20d92002-12-05 08:41:41 +000016 default y
17 depends on CONFIG_INIT
18 help
Eric Andersen65e20a32003-07-05 07:52:35 +000019 Allow init to read an inittab file when the system boot.
Eric Andersenc9f20d92002-12-05 08:41:41 +000020
Paul Fox41a72ec2005-08-01 16:43:13 +000021config CONFIG_FEATURE_INIT_SCTTY
Rob Landley2ec922e2006-04-13 23:22:16 +000022 bool "Support running commands with a controlling-tty"
Paul Fox41a72ec2005-08-01 16:43:13 +000023 default n
24 depends on CONFIG_INIT
25 help
26 If this option is enabled a command starting with hyphen (-)
27 is run in its own session (setsid(2)) and possibly with a
28 controlling tty (TIOCSCTTY). This is not the traditional init
29 behavour, but is often what you want in an embedded system where
30 the console is only accessed during development or for maintenance.
31
Eric Andersenc9f20d92002-12-05 08:41:41 +000032config CONFIG_FEATURE_EXTRA_QUIET
Rob Landley2ec922e2006-04-13 23:22:16 +000033 bool "Be _extra_ quiet on boot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000034 default y
35 depends on CONFIG_INIT
36 help
Rob Landley64612912006-01-30 08:31:37 +000037 Prevent init from logging some messages to the console during boot.
38
39config CONFIG_FEATURE_INIT_COREDUMPS
Rob Landley2ec922e2006-04-13 23:22:16 +000040 bool "Support dumping core for child processes (debugging only)"
Rob Landley64612912006-01-30 08:31:37 +000041 default n
42 depends on CONFIG_INIT
43 help
44 If this option is enabled and the file /.init_enable_core
45 exists, then init will call setrlimit() to allow unlimited
46 core file sizes. If this option is disabled, processes
47 will not generate any core files.
48
49
50
51config CONFIG_FEATURE_INITRD
Rob Landley2ec922e2006-04-13 23:22:16 +000052 bool "Support running init from within an initrd (not initramfs)"
Rob Landley64612912006-01-30 08:31:37 +000053 default y
54 depends on CONFIG_INIT
55 help
56 Legacy support for running init under the old-style initrd. Allows
57 the name linuxrc to act as init, and it doesn't assume init is PID 1.
58
59 This does not apply to initramfs, which runs /init as PID 1 and
60 requires no special support.
Eric Andersenc9f20d92002-12-05 08:41:41 +000061
Eric Andersenc9f20d92002-12-05 08:41:41 +000062config CONFIG_HALT
Rob Landley64612912006-01-30 08:31:37 +000063 bool "poweroff, halt, and reboot"
Eric Andersenc9f20d92002-12-05 08:41:41 +000064 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000065 help
Rob Landley64612912006-01-30 08:31:37 +000066 Stop all processes and either halt, reboot, or power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000067
Mike Frysingerf51d2062005-09-24 23:14:11 +000068config CONFIG_MESG
69 bool "mesg"
70 default y
71 help
72 Mesg controls access to your terminal by others. It is typically
73 used to allow or disallow other users to write to your terminal
74
Eric Andersenc9f20d92002-12-05 08:41:41 +000075endmenu