Config.in 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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 "poweroff, halt, and reboot"
  44. default y
  45. help
  46. Stop all processes and either halt, reboot, or power off the system.
  47. config BUSYBOX_FEATURE_CALL_TELINIT
  48. bool "Call telinit on shutdown and reboot"
  49. default n
  50. depends on BUSYBOX_HALT && !BUSYBOX_INIT
  51. help
  52. Call an external program (normally telinit) to facilitate
  53. a switch to a proper runlevel.
  54. This option is only available if you selected halt and friends,
  55. but did not select init.
  56. config BUSYBOX_TELINIT_PATH
  57. string "Path to telinit executable"
  58. default "/sbin/telinit"
  59. depends on BUSYBOX_FEATURE_CALL_TELINIT
  60. help
  61. When busybox halt and friends have to call external telinit
  62. to facilitate proper shutdown, this path is to be used when
  63. locating telinit executable.
  64. config BUSYBOX_INIT
  65. bool "init"
  66. default y
  67. depends on !ADK_PACKAGE_SIMPLEINIT
  68. select BUSYBOX_FEATURE_SYSLOG
  69. help
  70. init is the first program run when the system boots.
  71. config BUSYBOX_FEATURE_USE_INITTAB
  72. bool "Support reading an inittab file"
  73. default y
  74. depends on BUSYBOX_INIT
  75. help
  76. Allow init to read an inittab file when the system boot.
  77. config BUSYBOX_FEATURE_KILL_REMOVED
  78. bool "Support killing processes that have been removed from inittab"
  79. default n
  80. depends on BUSYBOX_FEATURE_USE_INITTAB
  81. help
  82. When respawn entries are removed from inittab and a SIGHUP is
  83. sent to init, this option will make init kill the processes
  84. that have been removed.
  85. config BUSYBOX_FEATURE_KILL_DELAY
  86. int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
  87. range 0 1024
  88. default 0
  89. depends on BUSYBOX_FEATURE_KILL_REMOVED
  90. help
  91. With nonzero setting, init sends TERM, forks, child waits N
  92. seconds, sends KILL and exits. Setting it too high is unwise
  93. (child will hang around for too long and could actually kill
  94. the wrong process!)
  95. config BUSYBOX_FEATURE_INIT_SCTTY
  96. bool "Run commands with leading dash with controlling tty"
  97. default y
  98. depends on BUSYBOX_INIT
  99. help
  100. If this option is enabled, init will try to give a controlling
  101. tty to any command which has leading hyphen (often it's "-/bin/sh").
  102. More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
  103. If device attached to STDIN_FILENO can be a ctty but is not yet
  104. a ctty for other session, it will become this process' ctty.
  105. This is not the traditional init behavour, but is often what you want
  106. in an embedded system where the console is only accessed during
  107. development or for maintenance.
  108. NB: using cttyhack applet may work better.
  109. config BUSYBOX_FEATURE_INIT_SYSLOG
  110. bool "Enable init to write to syslog"
  111. default y
  112. depends on BUSYBOX_INIT
  113. config BUSYBOX_FEATURE_EXTRA_QUIET
  114. bool "Be _extra_ quiet on boot"
  115. default y
  116. depends on BUSYBOX_INIT
  117. help
  118. Prevent init from logging some messages to the console during boot.
  119. config BUSYBOX_FEATURE_INIT_COREDUMPS
  120. bool "Support dumping core for child processes (debugging only)"
  121. default n
  122. depends on BUSYBOX_INIT
  123. help
  124. If this option is enabled and the file /.init_enable_core
  125. exists, then init will call setrlimit() to allow unlimited
  126. core file sizes. If this option is disabled, processes
  127. will not generate any core files.
  128. config BUSYBOX_FEATURE_INITRD
  129. bool "Support running init from within an initrd (not initramfs)"
  130. default n
  131. depends on BUSYBOX_INIT
  132. help
  133. Legacy support for running init under the old-style initrd. Allows
  134. the name linuxrc to act as init, and it doesn't assume init is PID 1.
  135. This does not apply to initramfs, which runs /init as PID 1 and
  136. requires no special support.
  137. config BUSYBOX_INIT_TERMINAL_TYPE
  138. string "Initial terminal type"
  139. default "linux"
  140. depends on BUSYBOX_INIT
  141. help
  142. This is the initial value set by init for the TERM environment
  143. variable. This variable is used by programs which make use of
  144. extended terminal capabilities.
  145. Note that on Linux, init attempts to detect serial terminal and
  146. sets TERM to "vt102" if one is found.
  147. config BUSYBOX_MESG
  148. bool "mesg"
  149. default n
  150. help
  151. Mesg controls access to your terminal by others. It is typically
  152. used to allow or disallow other users to write to your terminal
  153. config BUSYBOX_FEATURE_MESG_ENABLE_ONLY_GROUP
  154. bool "Enable writing to tty only by group, not by everybody"
  155. default y
  156. depends on BUSYBOX_MESG
  157. help
  158. Usually, ttys are owned by group "tty", and "write" tool is
  159. setgid to this group. This way, "mesg y" only needs to enable
  160. "write by owning group" bit in tty mode.
  161. If you set this option to N, "mesg y" will enable writing
  162. by anybody at all. This is not recommended.
  163. endmenu