init: remove superfluous forks and messing up with argv[0]
[platform/upstream/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 INIT
9         bool "init"
10         default n
11         select FEATURE_SYSLOG
12         help
13           init is the first program run when the system boots.
14
15 config DEBUG_INIT
16         bool "debugging aid"
17         default n
18         depends on INIT
19         help
20           Turn this on to disable all the dangerous
21           rebooting stuff when debugging.
22
23 config FEATURE_USE_INITTAB
24         bool "Support reading an inittab file"
25         default y
26         depends on INIT
27         help
28           Allow init to read an inittab file when the system boot.
29
30 config FEATURE_INIT_SCTTY
31         bool "Support running commands with a controlling-tty"
32         default n
33         depends on 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           NB: using cttyhack applet may work better.
41
42 config FEATURE_INIT_SYSLOG
43         bool "Enable init to write to syslog"
44         default n
45         depends on INIT
46
47 config FEATURE_EXTRA_QUIET
48         bool "Be _extra_ quiet on boot"
49         default y
50         depends on INIT
51         help
52           Prevent init from logging some messages to the console during boot.
53
54 config FEATURE_INIT_COREDUMPS
55         bool "Support dumping core for child processes (debugging only)"
56         default n
57         depends on INIT
58         help
59           If this option is enabled and the file /.init_enable_core
60           exists, then init will call setrlimit() to allow unlimited
61           core file sizes.  If this option is disabled, processes
62           will not generate any core files.
63
64
65
66 config FEATURE_INITRD
67         bool "Support running init from within an initrd (not initramfs)"
68         default y
69         depends on INIT
70         help
71           Legacy support for running init under the old-style initrd.  Allows
72           the name linuxrc to act as init, and it doesn't assume init is PID 1.
73
74           This does not apply to initramfs, which runs /init as PID 1 and
75           requires no special support.
76
77 config HALT
78         bool "poweroff, halt, and reboot"
79         default y
80         help
81           Stop all processes and either halt, reboot, or power off the system.
82
83 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