Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/init/Config.in
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/init/Config.in
r1765 r2725 1 # DO NOT EDIT. This file is generated from Config.src 1 2 # 2 3 # For a description of the syntax of this configuration file, … … 6 7 menu "Init Utilities" 7 8 9 config BOOTCHARTD 10 bool "bootchartd" 11 default y 12 help 13 bootchartd is commonly used to profile the boot process 14 for the purpose of speeding it up. In this case, it is started 15 by the kernel as the init process. This is configured by adding 16 the init=/sbin/bootchartd option to the kernel command line. 17 18 It can also be used to monitor the resource usage of a specific 19 application or the running system in general. In this case, 20 bootchartd is started interactively by running bootchartd start 21 and stopped using bootchartd stop. 22 23 config FEATURE_BOOTCHARTD_BLOATED_HEADER 24 bool "Compatible, bloated header" 25 default y 26 depends on BOOTCHARTD 27 help 28 Create extended header file compatible with "big" bootchartd. 29 "Big" bootchartd is a shell script and it dumps some 30 "convenient" info int the header, such as: 31 title = Boot chart for `hostname` (`date`) 32 system.uname = `uname -srvm` 33 system.release = `cat /etc/DISTRO-release` 34 system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount) 35 system.kernel.options = `cat /proc/cmdline` 36 This data is not mandatory for bootchart graph generation, 37 and is considered bloat. Nevertheless, this option 38 makes bootchartd applet to dump a subset of it. 39 40 config FEATURE_BOOTCHARTD_CONFIG_FILE 41 bool "Support bootchartd.conf" 42 default y 43 depends on BOOTCHARTD 44 help 45 Enable reading and parsing of $PWD/bootchartd.conf 46 and /etc/bootchartd.conf files. 47 config HALT 48 bool "poweroff, halt, and reboot" 49 default y 50 help 51 Stop all processes and either halt, reboot, or power off the system. 52 53 config FEATURE_CALL_TELINIT 54 bool "Call telinit on shutdown and reboot" 55 default y 56 depends on HALT && !INIT 57 help 58 Call an external program (normally telinit) to facilitate 59 a switch to a proper runlevel. 60 61 This option is only available if you selected halt and friends, 62 but did not select init. 63 64 config TELINIT_PATH 65 string "Path to telinit executable" 66 default "/sbin/telinit" 67 depends on FEATURE_CALL_TELINIT 68 help 69 When busybox halt and friends have to call external telinit 70 to facilitate proper shutdown, this path is to be used when 71 locating telinit executable. 8 72 config INIT 9 73 bool "init" 10 default n74 default y 11 75 select FEATURE_SYSLOG 12 76 help 13 77 init is the first program run when the system boots. 14 15 config DEBUG_INIT16 bool "debugging aid"17 default n18 depends on INIT19 help20 Turn this on to disable all the dangerous21 rebooting stuff when debugging.22 78 23 79 config FEATURE_USE_INITTAB … … 28 84 Allow init to read an inittab file when the system boot. 29 85 86 config FEATURE_KILL_REMOVED 87 bool "Support killing processes that have been removed from inittab" 88 default n 89 depends on FEATURE_USE_INITTAB 90 help 91 When respawn entries are removed from inittab and a SIGHUP is 92 sent to init, this option will make init kill the processes 93 that have been removed. 94 95 config FEATURE_KILL_DELAY 96 int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED 97 range 0 1024 98 default 0 99 depends on FEATURE_KILL_REMOVED 100 help 101 With nonzero setting, init sends TERM, forks, child waits N 102 seconds, sends KILL and exits. Setting it too high is unwise 103 (child will hang around for too long and could actually kill 104 the wrong process!) 105 30 106 config FEATURE_INIT_SCTTY 31 bool " Support running commands with a controlling-tty"32 default n107 bool "Run commands with leading dash with controlling tty" 108 default y 33 109 depends on INIT 34 110 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. 111 If this option is enabled, init will try to give a controlling 112 tty to any command which has leading hyphen (often it's "-/bin/sh"). 113 More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)". 114 If device attached to STDIN_FILENO can be a ctty but is not yet 115 a ctty for other session, it will become this process' ctty. 116 This is not the traditional init behavour, but is often what you want 117 in an embedded system where the console is only accessed during 118 development or for maintenance. 119 NB: using cttyhack applet may work better. 40 120 41 121 config FEATURE_INIT_SYSLOG 42 122 bool "Enable init to write to syslog" 43 default n123 default y 44 124 depends on INIT 45 125 … … 53 133 config FEATURE_INIT_COREDUMPS 54 134 bool "Support dumping core for child processes (debugging only)" 55 default n135 default y 56 136 depends on INIT 57 137 help 58 138 If this option is enabled and the file /.init_enable_core 59 139 exists, then init will call setrlimit() to allow unlimited 60 core file sizes. 140 core file sizes. If this option is disabled, processes 61 141 will not generate any core files. 62 63 64 142 65 143 config FEATURE_INITRD … … 68 146 depends on INIT 69 147 help 70 Legacy support for running init under the old-style initrd. 148 Legacy support for running init under the old-style initrd. Allows 71 149 the name linuxrc to act as init, and it doesn't assume init is PID 1. 72 150 … … 74 152 requires no special support. 75 153 76 config HALT 77 bool "poweroff, halt, and reboot" 78 default y 154 config INIT_TERMINAL_TYPE 155 string "Initial terminal type" 156 default "linux" 157 depends on INIT 79 158 help 80 Stop all processes and either halt, reboot, or power off the system. 159 This is the initial value set by init for the TERM environment 160 variable. This variable is used by programs which make use of 161 extended terminal capabilities. 81 162 163 Note that on Linux, init attempts to detect serial terminal and 164 sets TERM to "vt102" if one is found. 82 165 config MESG 83 166 bool "mesg" 84 167 default y 85 168 help 86 Mesg controls access to your terminal by others. 169 Mesg controls access to your terminal by others. It is typically 87 170 used to allow or disallow other users to write to your terminal 88 171
Note:
See TracChangeset
for help on using the changeset viewer.