Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config INIT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 9 | bool "init" |
| 10 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 11 | select FEATURE_SYSLOG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 12 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 13 | init is the first program run when the system boots. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 14 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 15 | config DEBUG_INIT |
Bernhard Reutner-Fischer | 35e1a07 | 2006-05-29 13:08:35 +0000 | [diff] [blame] | 16 | bool "debugging aid" |
| 17 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 18 | depends on INIT |
Bernhard Reutner-Fischer | 35e1a07 | 2006-05-29 13:08:35 +0000 | [diff] [blame] | 19 | help |
| 20 | Turn this on to disable all the dangerous |
| 21 | rebooting stuff when debugging. |
| 22 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 23 | config FEATURE_USE_INITTAB |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 24 | bool "Support reading an inittab file" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 25 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 26 | depends on INIT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 27 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 28 | Allow init to read an inittab file when the system boot. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 29 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 30 | config FEATURE_INIT_SCTTY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 31 | bool "Support running commands with a controlling-tty" |
Paul Fox | 41a72ec | 2005-08-01 16:43:13 +0000 | [diff] [blame] | 32 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 33 | depends on INIT |
Paul Fox | 41a72ec | 2005-08-01 16:43:13 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | ccd412d | 2007-03-05 19:55:30 +0000 | [diff] [blame] | 41 | config FEATURE_INIT_SYSLOG |
| 42 | bool "Enable init to write to syslog" |
| 43 | default n |
| 44 | depends on INIT |
| 45 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 46 | config FEATURE_EXTRA_QUIET |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 47 | bool "Be _extra_ quiet on boot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 48 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 49 | depends on INIT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 50 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 51 | Prevent init from logging some messages to the console during boot. |
| 52 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 53 | config FEATURE_INIT_COREDUMPS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 54 | bool "Support dumping core for child processes (debugging only)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 55 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 56 | depends on INIT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 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 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 65 | config FEATURE_INITRD |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 66 | bool "Support running init from within an initrd (not initramfs)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 67 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 68 | depends on INIT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 75 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 76 | config HALT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 77 | bool "poweroff, halt, and reboot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 78 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 79 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 80 | Stop all processes and either halt, reboot, or power off the system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 81 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 82 | config MESG |
Mike Frysinger | f51d206 | 2005-09-24 23:14:11 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 89 | endmenu |