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 | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 41 | config FEATURE_EXTRA_QUIET |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 42 | bool "Be _extra_ quiet on boot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 43 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 44 | depends on INIT |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 45 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 46 | Prevent init from logging some messages to the console during boot. |
| 47 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 48 | config FEATURE_INIT_COREDUMPS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 49 | bool "Support dumping core for child processes (debugging only)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 50 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 51 | depends on INIT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 52 | help |
| 53 | If this option is enabled and the file /.init_enable_core |
| 54 | exists, then init will call setrlimit() to allow unlimited |
| 55 | core file sizes. If this option is disabled, processes |
| 56 | will not generate any core files. |
| 57 | |
| 58 | |
| 59 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 60 | config FEATURE_INITRD |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 61 | bool "Support running init from within an initrd (not initramfs)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 62 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 63 | depends on INIT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 64 | help |
| 65 | Legacy support for running init under the old-style initrd. Allows |
| 66 | the name linuxrc to act as init, and it doesn't assume init is PID 1. |
| 67 | |
| 68 | This does not apply to initramfs, which runs /init as PID 1 and |
| 69 | requires no special support. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 70 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 71 | config HALT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 72 | bool "poweroff, halt, and reboot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 73 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 74 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 75 | Stop all processes and either halt, reboot, or power off the system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 76 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 77 | config MESG |
Mike Frysinger | f51d206 | 2005-09-24 23:14:11 +0000 | [diff] [blame] | 78 | bool "mesg" |
| 79 | default y |
| 80 | help |
| 81 | Mesg controls access to your terminal by others. It is typically |
| 82 | used to allow or disallow other users to write to your terminal |
| 83 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 84 | endmenu |