Config.in 3.1 KB

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