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