update busybox menuconfig to 1.1.1, should fix the "missing reboot" bug
[openwrt.git] / package / busybox / config / 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 BUSYBOX_CONFIG_INIT
9         bool "init"
10         default y
11         help
12           init is the first program run when the system boots.
13
14 config BUSYBOX_CONFIG_FEATURE_USE_INITTAB
15         bool "  Support reading an inittab file"
16         default y
17         depends on BUSYBOX_CONFIG_INIT
18         help
19           Allow init to read an inittab file when the system boot.
20
21 config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY
22         bool "  Support running commands with a controlling-tty"
23         default n
24         depends on BUSYBOX_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
32 config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET
33         bool "  Be _extra_ quiet on boot"
34         default n
35         depends on BUSYBOX_CONFIG_INIT
36         help
37           Prevent init from logging some messages to the console during boot.
38
39 config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
40         bool "  Support dumping core for child processes (debugging only)"
41         default n
42         depends on BUSYBOX_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
51 config BUSYBOX_CONFIG_FEATURE_INITRD
52         bool "  Support running init from within an initrd (not initramfs)"
53         default n
54         depends on BUSYBOX_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.
61
62 config BUSYBOX_CONFIG_HALT
63         bool "poweroff, halt, and reboot"
64         default y
65         help
66           Stop all processes and either halt, reboot, or power off the system.
67
68 config BUSYBOX_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
75         default y
76         help
77           Stop all processes and (try to) power off the system.
78
79 endmenu
80