Config.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 y
  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. help
  31. With nonzero setting, init sends TERM, forks, child waits N
  32. seconds, sends KILL and exits. Setting it too high is unwise
  33. (child will hang around for too long and can actually kill
  34. wrong process!)
  35. config BUSYBOX_FEATURE_INIT_SCTTY
  36. bool "Run commands with leading dash with controlling tty"
  37. default n
  38. depends on BUSYBOX_INIT
  39. help
  40. If this option is enabled, init will try to give a controlling
  41. tty to any command which has leading hyphen (often it's "-/bin/sh").
  42. More precisely, init will do "ioctl(STDIN_FILENO, TIOCSCTTY, 0)".
  43. If device attached to STDIN_FILENO can be a ctty but is not yet
  44. a ctty for other session, it will become this process' ctty.
  45. This is not the traditional init behavour, but is often what you want
  46. in an embedded system where the console is only accessed during
  47. development or for maintenance.
  48. NB: using cttyhack applet may work better.
  49. config BUSYBOX_FEATURE_INIT_SYSLOG
  50. bool "Enable init to write to syslog"
  51. default y
  52. depends on BUSYBOX_INIT
  53. config BUSYBOX_FEATURE_EXTRA_QUIET
  54. bool "Be _extra_ quiet on boot"
  55. default n
  56. depends on BUSYBOX_INIT
  57. help
  58. Prevent init from logging some messages to the console during boot.
  59. config BUSYBOX_FEATURE_INIT_COREDUMPS
  60. bool "Support dumping core for child processes (debugging only)"
  61. default n
  62. depends on BUSYBOX_INIT
  63. help
  64. If this option is enabled and the file /.init_enable_core
  65. exists, then init will call setrlimit() to allow unlimited
  66. core file sizes. If this option is disabled, processes
  67. will not generate any core files.
  68. # you should never need this, breaks allconfig images
  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. #
  77. # This does not apply to initramfs, which runs /init as PID 1 and
  78. # requires no special support.
  79. config BUSYBOX_HALT
  80. bool "poweroff, halt, and reboot"
  81. default y
  82. help
  83. Stop all processes and either halt, reboot, or power off the system.
  84. config BUSYBOX_MESG
  85. bool "mesg"
  86. default n
  87. help
  88. Mesg controls access to your terminal by others. It is typically
  89. used to allow or disallow other users to write to your terminal
  90. endmenu