blob: a3584aaf52d6862a965736b6e327af7173139bfe [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
15 bool " Support reading an inittab file?"
16 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
21config CONFIG_FEATURE_INITRD
22 bool " Support running init from within an initrd?"
23 default y
24 depends on CONFIG_INIT
25 help
Eric Andersen65e20a32003-07-05 07:52:35 +000026 Allow init to be called from an initrd as linuxrc.
Eric Andersenc9f20d92002-12-05 08:41:41 +000027
28config CONFIG_FEATURE_INIT_COREDUMPS
29 bool " Support dumping core for child processes (debugging only)?"
Eric Andersen02462222003-07-22 09:41:39 +000030 default n
Eric Andersenc9f20d92002-12-05 08:41:41 +000031 depends on CONFIG_INIT
32 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000033 If this option is enabled and the file /.init_enable_core
34 exists, then init will call setrlimit() to allow unlimited
35 core file sizes. If this option is disabled, processes
36 will not generate any core files.
Eric Andersenc9f20d92002-12-05 08:41:41 +000037
Mike Frysinger95ef1652005-07-06 04:39:08 +000038config CONFIG_FEATURE_INIT_SWAPON
39 bool " Should init run swapon if short on memory?"
40 default y
41 depends on CONFIG_INIT
42 help
43 If the system has less than one megabyte of total memory, init
44 will run '/sbin/swapon -a' to add swap memory.
45
Paul Fox41a72ec2005-08-01 16:43:13 +000046config CONFIG_FEATURE_INIT_SCTTY
47 bool " Support running commands with a controlling-tty?"
48 default n
49 depends on CONFIG_INIT
50 help
51 If this option is enabled a command starting with hyphen (-)
52 is run in its own session (setsid(2)) and possibly with a
53 controlling tty (TIOCSCTTY). This is not the traditional init
54 behavour, but is often what you want in an embedded system where
55 the console is only accessed during development or for maintenance.
56
Eric Andersenc9f20d92002-12-05 08:41:41 +000057config CONFIG_FEATURE_EXTRA_QUIET
58 bool " Should init be _extra_ quiet on boot?"
59 default y
60 depends on CONFIG_INIT
61 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000062 Prevent init from logging some messages to the console
63 during boot.
Eric Andersenc9f20d92002-12-05 08:41:41 +000064
Eric Andersenc9f20d92002-12-05 08:41:41 +000065config CONFIG_HALT
66 bool "halt"
67 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000068 help
Eric Andersen02462222003-07-22 09:41:39 +000069 Stop all processes and halt the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000070
71config CONFIG_POWEROFF
72 bool "poweroff"
73 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000074 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000075 Stop all processes and (try to) power off the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000076
77config CONFIG_REBOOT
78 bool "reboot"
79 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000080 help
Eric Andersenfb0c6af2003-07-14 19:18:43 +000081 Stop all processes and reboot the system.
Eric Andersenc9f20d92002-12-05 08:41:41 +000082
Eric Andersenc9f20d92002-12-05 08:41:41 +000083config CONFIG_MESG
84 bool "mesg"
85 default y
86 help
Eric Andersen88c916b2003-10-22 09:58:56 +000087 Mesg controls access to your terminal by others. It is typically
88 used to allow or disallow other users to write to your terminal
Eric Andersenc9f20d92002-12-05 08:41:41 +000089
90endmenu
91