update busybox menuconfig for the latest version
[openwrt/svn-archive/archive.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 select BUSYBOX_CONFIG_FEATURE_SYSLOG
12 help
13 init is the first program run when the system boots.
14
15 config BUSYBOX_CONFIG_DEBUG_INIT
16 bool "debugging aid"
17 default n
18 depends on BUSYBOX_CONFIG_INIT
19 help
20 Turn this on to disable all the dangerous
21 rebooting stuff when debugging.
22
23 config BUSYBOX_CONFIG_FEATURE_USE_INITTAB
24 bool "Support reading an inittab file"
25 default y
26 depends on BUSYBOX_CONFIG_INIT
27 help
28 Allow init to read an inittab file when the system boot.
29
30 config BUSYBOX_CONFIG_FEATURE_INIT_SCTTY
31 bool "Support running commands with a controlling-tty"
32 default n
33 depends on BUSYBOX_CONFIG_INIT
34 help
35 If this option is enabled a command starting with hyphen (-)
36 is run in its own session (setsid(2)) and possibly with a
37 controlling tty (TIOCSCTTY). This is not the traditional init
38 behavour, but is often what you want in an embedded system where
39 the console is only accessed during development or for maintenance.
40
41 config BUSYBOX_CONFIG_FEATURE_EXTRA_QUIET
42 bool "Be _extra_ quiet on boot"
43 default n
44 depends on BUSYBOX_CONFIG_INIT
45 help
46 Prevent init from logging some messages to the console during boot.
47
48 config BUSYBOX_CONFIG_FEATURE_INIT_COREDUMPS
49 bool "Support dumping core for child processes (debugging only)"
50 default n
51 depends on BUSYBOX_CONFIG_INIT
52 help
53 If this option is enabled and the file /.init_enable_core
54 exists, then init will call setrlimit() to allow unlimited
55 core file sizes. If this option is disabled, processes
56 will not generate any core files.
57
58
59
60 config BUSYBOX_CONFIG_FEATURE_INITRD
61 bool "Support running init from within an initrd (not initramfs)"
62 default n
63 depends on BUSYBOX_CONFIG_INIT
64 help
65 Legacy support for running init under the old-style initrd. Allows
66 the name linuxrc to act as init, and it doesn't assume init is PID 1.
67
68 This does not apply to initramfs, which runs /init as PID 1 and
69 requires no special support.
70
71 config BUSYBOX_CONFIG_HALT
72 bool "poweroff, halt, and reboot"
73 default y
74 help
75 Stop all processes and either halt, reboot, or power off the system.
76
77 config BUSYBOX_CONFIG_MESG
78 bool "mesg"
79 default y
80 help
81 Mesg controls access to your terminal by others. It is typically
82 used to allow or disallow other users to write to your terminal
83
84 endmenu