Config.in 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. # DO NOT EDIT. This file is generated from Config.src
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see scripts/kbuild/config-language.txt.
  5. #
  6. menu "Init Utilities"
  7. config BUSYBOX_BOOTCHARTD
  8. bool "bootchartd"
  9. default n
  10. help
  11. bootchartd is commonly used to profile the boot process
  12. for the purpose of speeding it up. In this case, it is started
  13. by the kernel as the init process. This is configured by adding
  14. the init=/sbin/bootchartd option to the kernel command line.
  15. It can also be used to monitor the resource usage of a specific
  16. application or the running system in general. In this case,
  17. bootchartd is started interactively by running bootchartd start
  18. and stopped using bootchartd stop.
  19. config BUSYBOX_FEATURE_BOOTCHARTD_BLOATED_HEADER
  20. bool "Compatible, bloated header"
  21. default y
  22. depends on BUSYBOX_BOOTCHARTD
  23. help
  24. Create extended header file compatible with "big" bootchartd.
  25. "Big" bootchartd is a shell script and it dumps some
  26. "convenient" info int the header, such as:
  27. title = Boot chart for `hostname` (`date`)
  28. system.uname = `uname -srvm`
  29. system.release = `cat /etc/DISTRO-release`
  30. system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
  31. system.kernel.options = `cat /proc/cmdline`
  32. This data is not mandatory for bootchart graph generation,
  33. and is considered bloat. Nevertheless, this option
  34. makes bootchartd applet to dump a subset of it.
  35. config BUSYBOX_FEATURE_BOOTCHARTD_CONFIG_FILE
  36. bool "Support bootchartd.conf"
  37. default y
  38. depends on BUSYBOX_BOOTCHARTD
  39. help
  40. Enable reading and parsing of $PWD/bootchartd.conf
  41. and /etc/bootchartd.conf files.
  42. config BUSYBOX_HALT
  43. bool "halt"
  44. default y
  45. help
  46. Stop all processes and either halt, reboot, or power off the system.
  47. config BUSYBOX_POWEROFF
  48. bool "poweroff"
  49. default y
  50. help
  51. Stop all processes and power off the system.
  52. config BUSYBOX_REBOOT
  53. bool "reboot"
  54. default y
  55. help
  56. Stop all processes and reboot the system.
  57. config BUSYBOX_FEATURE_WAIT_FOR_INIT
  58. bool "Before signaling init, make sure it is ready for it"
  59. default y
  60. depends on BUSYBOX_HALT || BUSYBOX_POWEROFF || BUSYBOX_REBOOT
  61. help
  62. In rare cases, poweroff may be commanded by firmware to OS
  63. even before init process exists. On Linux, this spawns
  64. "/sbin/poweroff" very early. This option adds code
  65. which checks that init is ready to receive poweroff
  66. commands. Code size increase of ~80 bytes.
  67. config BUSYBOX_FEATURE_CALL_TELINIT
  68. bool "Call telinit on shutdown and reboot"
  69. default n
  70. depends on BUSYBOX_HALT && !BUSYBOX_INIT
  71. help
  72. Call an external program (normally telinit) to facilitate
  73. a switch to a proper runlevel.
  74. This option is only available if you selected halt and friends,
  75. but did not select init.
  76. config BUSYBOX_TELINIT_PATH
  77. string "Path to telinit executable"
  78. default "/sbin/telinit"
  79. depends on BUSYBOX_FEATURE_CALL_TELINIT
  80. help
  81. When busybox halt and friends have to call external telinit
  82. to facilitate proper shutdown, this path is to be used when
  83. locating telinit executable.
  84. config BUSYBOX_INIT
  85. bool "init"
  86. default y
  87. depends on !ADK_PACKAGE_SIMPLEINIT
  88. select BUSYBOX_FEATURE_SYSLOG
  89. help
  90. init is the first program run when the system boots.
  91. config BUSYBOX_LINUXRC
  92. bool "Support running init from within an initrd (not initramfs)"
  93. default n
  94. select BUSYBOX_FEATURE_SYSLOG
  95. help
  96. Legacy support for running init under the old-style initrd. Allows
  97. the name linuxrc to act as init, and it doesn't assume init is PID 1.
  98. This does not apply to initramfs, which runs /init as PID 1 and
  99. requires no special support.
  100. config BUSYBOX_FEATURE_USE_INITTAB
  101. bool "Support reading an inittab file"
  102. default y
  103. depends on BUSYBOX_INIT
  104. help
  105. Allow init to read an inittab file when the system boot.
  106. config BUSYBOX_FEATURE_KILL_REMOVED
  107. bool "Support killing processes that have been removed from inittab"
  108. default n
  109. depends on BUSYBOX_FEATURE_USE_INITTAB
  110. help
  111. When respawn entries are removed from inittab and a SIGHUP is
  112. sent to init, this option will make init kill the processes
  113. that have been removed.
  114. config BUSYBOX_FEATURE_KILL_DELAY
  115. int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
  116. range 0 1024
  117. default 0
  118. depends on BUSYBOX_FEATURE_KILL_REMOVED
  119. help
  120. With nonzero setting, init sends TERM, forks, child waits N
  121. seconds, sends KILL and exits. Setting it too high is unwise
  122. (child will hang around for too long and could actually kill
  123. the wrong process!)
  124. config BUSYBOX_FEATURE_INIT_SCTTY
  125. bool "Run commands with leading dash with controlling tty"
  126. default y
  127. depends on BUSYBOX_INIT
  128. help
  129. If this option is enabled, init will try to give a controlling
  130. tty to any command which has leading hyphen (often it's "-/bin/sh").
  131. More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
  132. If device attached to STDIN_FILENO can be a ctty but is not yet
  133. a ctty for other session, it will become this process' ctty.
  134. This is not the traditional init behavour, but is often what you want
  135. in an embedded system where the console is only accessed during
  136. development or for maintenance.
  137. NB: using cttyhack applet may work better.
  138. config BUSYBOX_FEATURE_INIT_SYSLOG
  139. bool "Enable init to write to syslog"
  140. default y
  141. depends on BUSYBOX_INIT
  142. config BUSYBOX_FEATURE_INIT_QUIET
  143. bool "Be quiet on boot (no 'init started:' message)"
  144. default y
  145. depends on BUSYBOX_INIT || BUSYBOX_LINUXRC
  146. config BUSYBOX_FEATURE_EXTRA_QUIET
  147. bool "Be _extra_ quiet on boot"
  148. default y
  149. depends on BUSYBOX_INIT
  150. help
  151. Prevent init from logging some messages to the console during boot.
  152. config BUSYBOX_FEATURE_INIT_COREDUMPS
  153. bool "Support dumping core for child processes (debugging only)"
  154. default n
  155. depends on BUSYBOX_INIT
  156. help
  157. If this option is enabled and the file /.init_enable_core
  158. exists, then init will call setrlimit() to allow unlimited
  159. core file sizes. If this option is disabled, processes
  160. will not generate any core files.
  161. config BUSYBOX_INIT_TERMINAL_TYPE
  162. string "Initial terminal type"
  163. default "linux"
  164. depends on BUSYBOX_INIT
  165. help
  166. This is the initial value set by init for the TERM environment
  167. variable. This variable is used by programs which make use of
  168. extended terminal capabilities.
  169. Note that on Linux, init attempts to detect serial terminal and
  170. sets TERM to "vt102" if one is found.
  171. config BUSYBOX_FEATURE_INIT_MODIFY_CMDLINE
  172. bool "Modify the command-line to \"init\""
  173. default n
  174. depends on BUSYBOX_INIT || BUSYBOX_LINUXRC
  175. help
  176. When launched as PID 1 and after parsing its arguments, init
  177. wipes all the arguments but argv[0] and rewrites argv[0] to
  178. contain only "init", so that its command-line appears solely as
  179. "init" in tools such as ps.
  180. If this option is set to Y, init will keep its original behavior,
  181. otherwise, all the arguments including argv[0] will be preserved,
  182. be they parsed or ignored by init.
  183. The original command-line used to launch init can then be
  184. retrieved in /proc/1/cmdline on Linux, for example.
  185. config BUSYBOX_MESG
  186. bool "mesg"
  187. default n
  188. help
  189. Mesg controls access to your terminal by others. It is typically
  190. used to allow or disallow other users to write to your terminal
  191. config BUSYBOX_FEATURE_MESG_ENABLE_ONLY_GROUP
  192. bool "Enable writing to tty only by group, not by everybody"
  193. default y
  194. depends on BUSYBOX_MESG
  195. help
  196. Usually, ttys are owned by group "tty", and "write" tool is
  197. setgid to this group. This way, "mesg y" only needs to enable
  198. "write by owning group" bit in tty mode.
  199. If you set this option to N, "mesg y" will enable writing
  200. by anybody at all. This is not recommended.
  201. endmenu