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