Config.in 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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 FEATURE_USE_INITTAB
  13. bool "Support reading an inittab file"
  14. default y
  15. depends on INIT
  16. help
  17. Allow init to read an inittab file when the system boot.
  18. config FEATURE_KILL_REMOVED
  19. bool "Support killing processes that have been removed from inittab"
  20. default y
  21. depends on 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 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 FEATURE_INIT_SCTTY
  36. bool "Run commands with leading dash with controlling tty"
  37. default n
  38. depends on 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 FEATURE_INIT_SYSLOG
  50. bool "Enable init to write to syslog"
  51. default n
  52. depends on INIT
  53. config FEATURE_EXTRA_QUIET
  54. bool "Be _extra_ quiet on boot"
  55. default y
  56. depends on INIT
  57. help
  58. Prevent init from logging some messages to the console during boot.
  59. config FEATURE_INIT_COREDUMPS
  60. bool "Support dumping core for child processes (debugging only)"
  61. default n
  62. depends on 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. config FEATURE_INITRD
  69. bool "Support running init from within an initrd (not initramfs)"
  70. default y
  71. depends on INIT
  72. help
  73. Legacy support for running init under the old-style initrd. Allows
  74. the name linuxrc to act as init, and it doesn't assume init is PID 1.
  75. This does not apply to initramfs, which runs /init as PID 1 and
  76. requires no special support.
  77. config HALT
  78. bool "poweroff, halt, and reboot"
  79. default n
  80. help
  81. Stop all processes and either halt, reboot, or power off the system.
  82. config MESG
  83. bool "mesg"
  84. default n
  85. help
  86. Mesg controls access to your terminal by others. It is typically
  87. used to allow or disallow other users to write to your terminal
  88. endmenu