Config.in 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see scripts/kbuild/config-language.txt.
  4. #
  5. menu "Init Utilities"
  6. config BUSYBOX_BOOTCHARTD
  7. bool "bootchartd"
  8. default n
  9. help
  10. bootchartd is commonly used to profile the boot process
  11. for the purpose of speeding it up. In this case, it is started
  12. by the kernel as the init process. This is configured by adding
  13. the init=/sbin/bootchartd option to the kernel command line.
  14. It can also be used to monitor the resource usage of a specific
  15. application or the running system in general. In this case,
  16. bootchartd is started interactively by running bootchartd start
  17. and stopped using bootchartd stop.
  18. config BUSYBOX_FEATURE_BOOTCHARTD_BLOATED_HEADER
  19. bool "bootchartd"
  20. default y
  21. depends on BOOTCHARTD
  22. help
  23. Create extended header file compatible with "big" bootchartd.
  24. "Big" bootchartd is a shell script and it dumps some
  25. "convenient" info int the header, such as:
  26. title = Boot chart for `hostname` (`date`)
  27. system.uname = `uname -srvm`
  28. system.release = `cat /etc/DISTRO-release`
  29. system.cpu = `grep '^model name' /proc/cpuinfo | head -1` ($cpucount)
  30. system.kernel.options = `cat /proc/cmdline`
  31. This data is not mandatory for bootchart graph generation,
  32. and is considered bloat. Nevertheless, this option
  33. makes bootchartd applet to dump a subset of it.
  34. config BUSYBOX_FEATURE_BOOTCHARTD_CONFIG_FILE
  35. bool "bootchartd"
  36. default y
  37. depends on BOOTCHARTD
  38. help
  39. Enable reading and parsing of $PWD/bootchartd.conf
  40. and /etc/bootchartd.conf files.
  41. config BUSYBOX_INIT
  42. bool "init"
  43. default y
  44. select BUSYBOX_FEATURE_SYSLOG
  45. help
  46. init is the first program run when the system boots.
  47. config BUSYBOX_FEATURE_USE_INITTAB
  48. bool "Support reading an inittab file"
  49. default y
  50. depends on BUSYBOX_INIT
  51. help
  52. Allow init to read an inittab file when the system boot.
  53. config BUSYBOX_FEATURE_KILL_REMOVED
  54. bool "Support killing processes that have been removed from inittab"
  55. default n
  56. depends on BUSYBOX_FEATURE_USE_INITTAB
  57. help
  58. When respawn entries are removed from inittab and a SIGHUP is
  59. sent to init, this feature will kill the processes that have
  60. been removed.
  61. config BUSYBOX_FEATURE_KILL_DELAY
  62. int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
  63. range 0 1024
  64. default 0
  65. depends on BUSYBOX_FEATURE_KILL_REMOVED
  66. help
  67. With nonzero setting, init sends TERM, forks, child waits N
  68. seconds, sends KILL and exits. Setting it too high is unwise
  69. (child will hang around for too long and could actually kill
  70. the wrong process!)
  71. config BUSYBOX_FEATURE_INIT_SCTTY
  72. bool "Run commands with leading dash with controlling tty"
  73. default y
  74. depends on BUSYBOX_INIT
  75. help
  76. If this option is enabled, init will try to give a controlling
  77. tty to any command which has leading hyphen (often it's "-/bin/sh").
  78. More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
  79. If device attached to STDIN_FILENO can be a ctty but is not yet
  80. a ctty for other session, it will become this process' ctty.
  81. This is not the traditional init behavour, but is often what you want
  82. in an embedded system where the console is only accessed during
  83. development or for maintenance.
  84. NB: using cttyhack applet may work better.
  85. config BUSYBOX_FEATURE_INIT_SYSLOG
  86. bool "Enable init to write to syslog"
  87. default y
  88. depends on BUSYBOX_INIT
  89. config BUSYBOX_FEATURE_EXTRA_QUIET
  90. bool "Be _extra_ quiet on boot"
  91. default y
  92. depends on BUSYBOX_INIT
  93. help
  94. Prevent init from logging some messages to the console during boot.
  95. config BUSYBOX_FEATURE_INIT_COREDUMPS
  96. bool "Support dumping core for child processes (debugging only)"
  97. default n
  98. depends on BUSYBOX_INIT
  99. help
  100. If this option is enabled and the file /.init_enable_core
  101. exists, then init will call setrlimit() to allow unlimited
  102. core file sizes. If this option is disabled, processes
  103. will not generate any core files.
  104. config BUSYBOX_FEATURE_INITRD
  105. bool "Support running init from within an initrd (not initramfs)"
  106. default n
  107. depends on BUSYBOX_INIT
  108. help
  109. Legacy support for running init under the old-style initrd. Allows
  110. the name linuxrc to act as init, and it doesn't assume init is PID 1.
  111. This does not apply to initramfs, which runs /init as PID 1 and
  112. requires no special support.
  113. config BUSYBOX_HALT
  114. bool "poweroff, halt, and reboot"
  115. default y
  116. help
  117. Stop all processes and either halt, reboot, or power off the system.
  118. config BUSYBOX_FEATURE_CALL_TELINIT
  119. bool "Call telinit on shutdown and reboot"
  120. default n
  121. depends on BUSYBOX_HALT && !BUSYBOX_INIT
  122. help
  123. Call an external program (normally telinit) to facilitate
  124. a switch to a proper runlevel.
  125. This option is only available if you selected halt and friends,
  126. but did not select init.
  127. config BUSYBOX_TELINIT_PATH
  128. string "Path to telinit executable"
  129. default "/sbin/telinit"
  130. depends on BUSYBOX_FEATURE_CALL_TELINIT
  131. help
  132. When busybox halt and friends have to call external telinit
  133. to facilitate proper shutdown, this path is to be used when
  134. locating telinit executable.
  135. config BUSYBOX_MESG
  136. bool "mesg"
  137. default n
  138. help
  139. Mesg controls access to your terminal by others. It is typically
  140. used to allow or disallow other users to write to your terminal
  141. endmenu