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 | |
| 8 | config CONFIG_INIT |
| 9 | bool "init" |
| 10 | default n |
| 11 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 12 | init is the first program run when the system boots. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 13 | |
Bernhard Reutner-Fischer | 35e1a07 | 2006-05-29 13:08:35 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 22 | config CONFIG_FEATURE_USE_INITTAB |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 23 | bool "Support reading an inittab file" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 24 | default y |
| 25 | depends on CONFIG_INIT |
| 26 | help |
Eric Andersen | 65e20a3 | 2003-07-05 07:52:35 +0000 | [diff] [blame] | 27 | Allow init to read an inittab file when the system boot. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 28 | |
Paul Fox | 41a72ec | 2005-08-01 16:43:13 +0000 | [diff] [blame] | 29 | config CONFIG_FEATURE_INIT_SCTTY |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 30 | bool "Support running commands with a controlling-tty" |
Paul Fox | 41a72ec | 2005-08-01 16:43:13 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 40 | config CONFIG_FEATURE_EXTRA_QUIET |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 41 | bool "Be _extra_ quiet on boot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 42 | default y |
| 43 | depends on CONFIG_INIT |
| 44 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 45 | Prevent init from logging some messages to the console during boot. |
| 46 | |
| 47 | config CONFIG_FEATURE_INIT_COREDUMPS |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 48 | bool "Support dumping core for child processes (debugging only)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 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 |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 60 | bool "Support running init from within an initrd (not initramfs)" |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 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. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 69 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 70 | config CONFIG_HALT |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 71 | bool "poweroff, halt, and reboot" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 72 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 73 | help |
Rob Landley | 6461291 | 2006-01-30 08:31:37 +0000 | [diff] [blame] | 74 | Stop all processes and either halt, reboot, or power off the system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 75 | |
Mike Frysinger | f51d206 | 2005-09-24 23:14:11 +0000 | [diff] [blame] | 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 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 83 | endmenu |