Replace current verbose GPL stuff in libbb/*.c with one-line GPL boilerplate.
[oweals/busybox.git] / init / Config.in
index eb42113863a77bcdecb79f5dee4bd414528fd0e7..8b9179124554289b5b72fc5fa2084cf5e6d9ee40 100644 (file)
@@ -11,22 +11,41 @@ config CONFIG_INIT
        help
          init is the first program run when the system boots.
 
        help
          init is the first program run when the system boots.
 
+config CONFIG_DEBUG_INIT
+       bool "debugging aid"
+       default n
+       depends on CONFIG_INIT
+       help
+         Turn this on to disable all the dangerous
+         rebooting stuff when debugging.
+
 config CONFIG_FEATURE_USE_INITTAB
 config CONFIG_FEATURE_USE_INITTAB
-       bool "  Support reading an inittab file?"
+       bool "Support reading an inittab file"
        default y
        depends on CONFIG_INIT
        help
          Allow init to read an inittab file when the system boot.
 
        default y
        depends on CONFIG_INIT
        help
          Allow init to read an inittab file when the system boot.
 
-config CONFIG_FEATURE_INITRD
-       bool "  Support running init from within an initrd?"
+config CONFIG_FEATURE_INIT_SCTTY
+       bool "Support running commands with a controlling-tty"
+       default n
+       depends on CONFIG_INIT
+       help
+         If this option is enabled a command starting with hyphen (-)
+         is run in its own session (setsid(2)) and possibly with a
+         controlling tty (TIOCSCTTY).  This is not the traditional init
+         behavour, but is often what you want in an embedded system where
+         the console is only accessed during development or for maintenance.
+
+config CONFIG_FEATURE_EXTRA_QUIET
+       bool "Be _extra_ quiet on boot"
        default y
        depends on CONFIG_INIT
        help
        default y
        depends on CONFIG_INIT
        help
-         Allow init to be called from an initrd as linuxrc.
+         Prevent init from logging some messages to the console during boot.
 
 config CONFIG_FEATURE_INIT_COREDUMPS
 
 config CONFIG_FEATURE_INIT_COREDUMPS
-       bool "  Support dumping core for child processes (debugging only)?"
+       bool "Support dumping core for child processes (debugging only)"
        default n
        depends on CONFIG_INIT
        help
        default n
        depends on CONFIG_INIT
        help
@@ -35,63 +54,30 @@ config CONFIG_FEATURE_INIT_COREDUMPS
          core file sizes.  If this option is disabled, processes
          will not generate any core files.
 
          core file sizes.  If this option is disabled, processes
          will not generate any core files.
 
-config CONFIG_FEATURE_EXTRA_QUIET
-       bool "  Should init be _extra_ quiet on boot?"
-       default y
-       depends on CONFIG_INIT
-       help
-         Prevent init from logging some messages to the console
-         during boot.
 
 
-config CONFIG_HALT
-       bool "halt"
-       default y
-       help
-         Stop all processes and halt the system.
 
 
-config CONFIG_POWEROFF
-       bool "poweroff"
-       default y
-       help
-         Stop all processes and (try to) power off the system.
-
-config CONFIG_REBOOT
-       bool "reboot"
+config CONFIG_FEATURE_INITRD
+       bool "Support running init from within an initrd (not initramfs)"
        default y
        default y
+       depends on CONFIG_INIT
        help
        help
-         Stop all processes and reboot the system.
-
-config CONFIG_MINIT
-       bool "minit"
-       default n
-       depends on ! CONFIG_INIT
-       help
-         Minimal init, based on minit v0.9.1.  This is a simple
-         init replacement that handles starting/stopping services,
-         and service dependencies.  See http://www.fefe.de/minit/
-         for additional information.
+         Legacy support for running init under the old-style initrd.  Allows
+         the name linuxrc to act as init, and it doesn't assume init is PID 1.
 
 
-config CONFIG_PIDFILEHACK
-       bool "pidfilehack"
-       default y
-       depends on CONFIG_MINIT
-       help
-         pidfilehack is used by minit to run servers.
+         This does not apply to initramfs, which runs /init as PID 1 and
+         requires no special support.
 
 
-config CONFIG_MSVC
-       bool "msvc"
+config CONFIG_HALT
+       bool "poweroff, halt, and reboot"
        default y
        default y
-       depends on CONFIG_MINIT
        help
        help
-         msvc is used to start and stop processes controlled by minit
+         Stop all processes and either halt, reboot, or power off the system.
 
 config CONFIG_MESG
        bool "mesg"
        default y
        help
 
 config CONFIG_MESG
        bool "mesg"
        default y
        help
-         Mesg  controls  the  access to your terminal by others.  It
-         is typically used to allow or disallow other users to write
-         to your  terminal
+         Mesg controls access to your terminal by others.  It is typically
+         used to allow or disallow other users to write to your terminal
 
 endmenu
 
 endmenu
-