Config.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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_INIT
  7. bool "init"
  8. default y
  9. select BUSYBOX_FEATURE_SYSLOG
  10. help
  11. init is the first program run when the system boots.
  12. config BUSYBOX_FEATURE_USE_INITTAB
  13. bool "Support reading an inittab file"
  14. default y
  15. depends on BUSYBOX_INIT
  16. help
  17. Allow init to read an inittab file when the system boot.
  18. config BUSYBOX_FEATURE_KILL_REMOVED
  19. bool "Support killing processes that have been removed from inittab"
  20. default n
  21. depends on BUSYBOX_FEATURE_USE_INITTAB
  22. help
  23. When respawn entries are removed from inittab and a SIGHUP is
  24. sent to init, this feature will kill the processes that have
  25. been removed.
  26. config BUSYBOX_FEATURE_KILL_DELAY
  27. int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
  28. range 0 1024
  29. default 0
  30. depends on BUSYBOX_FEATURE_KILL_REMOVED
  31. help
  32. With nonzero setting, init sends TERM, forks, child waits N
  33. seconds, sends KILL and exits. Setting it too high is unwise
  34. (child will hang around for too long and could actually kill
  35. the wrong process!)
  36. config BUSYBOX_FEATURE_INIT_SCTTY
  37. bool "Run commands with leading dash with controlling tty"
  38. default y
  39. depends on BUSYBOX_INIT
  40. help
  41. If this option is enabled, init will try to give a controlling
  42. tty to any command which has leading hyphen (often it's "-/bin/sh").
  43. More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
  44. If device attached to STDIN_FILENO can be a ctty but is not yet
  45. a ctty for other session, it will become this process' ctty.
  46. This is not the traditional init behavour, but is often what you want
  47. in an embedded system where the console is only accessed during
  48. development or for maintenance.
  49. NB: using cttyhack applet may work better.
  50. config BUSYBOX_FEATURE_INIT_SYSLOG
  51. bool "Enable init to write to syslog"
  52. default y
  53. depends on BUSYBOX_INIT
  54. config BUSYBOX_FEATURE_EXTRA_QUIET
  55. bool "Be _extra_ quiet on boot"
  56. default y
  57. depends on BUSYBOX_INIT
  58. help
  59. Prevent init from logging some messages to the console during boot.
  60. config BUSYBOX_FEATURE_INIT_COREDUMPS
  61. bool "Support dumping core for child processes (debugging only)"
  62. default n
  63. depends on BUSYBOX_INIT
  64. help
  65. If this option is enabled and the file /.init_enable_core
  66. exists, then init will call setrlimit() to allow unlimited
  67. core file sizes. If this option is disabled, processes
  68. will not generate any core files.
  69. config BUSYBOX_FEATURE_INITRD
  70. bool "Support running init from within an initrd (not initramfs)"
  71. default n
  72. depends on BUSYBOX_INIT
  73. help
  74. Legacy support for running init under the old-style initrd. Allows
  75. the name linuxrc to act as init, and it doesn't assume init is PID 1.
  76. This does not apply to initramfs, which runs /init as PID 1 and
  77. requires no special support.
  78. config BUSYBOX_HALT
  79. bool "poweroff, halt, and reboot"
  80. default y
  81. help
  82. Stop all processes and either halt, reboot, or power off the system.
  83. config BUSYBOX_FEATURE_CALL_TELINIT
  84. bool "Call telinit on shutdown and reboot"
  85. default n
  86. depends on BUSYBOX_HALT && !BUSYBOX_INIT
  87. help
  88. Call an external program (normally telinit) to facilitate
  89. a switch to a proper runlevel.
  90. This option is only available if you selected halt and friends,
  91. but did not select init.
  92. config BUSYBOX_TELINIT_PATH
  93. string "Path to telinit executable"
  94. default "/sbin/telinit"
  95. depends on BUSYBOX_FEATURE_CALL_TELINIT
  96. help
  97. When busybox halt and friends have to call external telinit
  98. to facilitate proper shutdown, this path is to be used when
  99. locating telinit executable.
  100. config BUSYBOX_MESG
  101. bool "mesg"
  102. default n
  103. help
  104. Mesg controls access to your terminal by others. It is typically
  105. used to allow or disallow other users to write to your terminal
  106. endmenu