applying patch from bug 24:
[oweals/busybox.git] / init / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Init Utilities"
7
8 config CONFIG_INIT
9         bool "init"
10         default n
11         help
12           init is the first program run when the system boots.
13
14 config CONFIG_FEATURE_USE_INITTAB
15         bool "  Support reading an inittab file?"
16         default y
17         depends on CONFIG_INIT
18         help
19           Allow init to read an inittab file when the system boot.
20
21 config CONFIG_FEATURE_INITRD
22         bool "  Support running init from within an initrd?"
23         default y
24         depends on CONFIG_INIT
25         help
26           Allow init to be called from an initrd as linuxrc.
27
28 config CONFIG_FEATURE_INIT_COREDUMPS
29         bool "  Support dumping core for child processes (debugging only)?"
30         default n
31         depends on CONFIG_INIT
32         help
33           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.
37
38 config 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
46 config 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
57 config CONFIG_FEATURE_EXTRA_QUIET
58         bool "  Should init be _extra_ quiet on boot?"
59         default y
60         depends on CONFIG_INIT
61         help
62           Prevent init from logging some messages to the console
63           during boot.
64
65 config CONFIG_HALT
66         bool "halt"
67         default y
68         help
69           Stop all processes and halt the system.
70
71 config CONFIG_POWEROFF
72         bool "poweroff"
73         default y
74         help
75           Stop all processes and (try to) power off the system.
76
77 config CONFIG_REBOOT
78         bool "reboot"
79         default y
80         help
81           Stop all processes and reboot the system.
82
83 config CONFIG_MESG
84         bool "mesg"
85         default y
86         help
87           Mesg controls access to your terminal by others.  It is typically
88           used to allow or disallow other users to write to your terminal
89
90 endmenu
91