| 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 | |
|---|
| 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 |
|---|
| 47 | bool "Be _extra_ quiet on boot" |
|---|
| 48 | default y |
|---|
| 49 | depends on INIT |
|---|
| 50 | help |
|---|
| 51 | Prevent init from logging some messages to the console during boot. |
|---|
| 52 | |
|---|
| 53 | config FEATURE_INIT_COREDUMPS |
|---|
| 54 | bool "Support dumping core for child processes (debugging only)" |
|---|
| 55 | default n |
|---|
| 56 | depends on INIT |
|---|
| 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 | |
|---|
| 65 | config FEATURE_INITRD |
|---|
| 66 | bool "Support running init from within an initrd (not initramfs)" |
|---|
| 67 | default y |
|---|
| 68 | depends on INIT |
|---|
| 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 | |
|---|
| 76 | config HALT |
|---|
| 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 | |
|---|
| 82 | config MESG |
|---|
| 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 |
|---|