aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/Config.in78
-rw-r--r--init/config.in27
2 files changed, 78 insertions, 27 deletions
diff --git a/init/Config.in b/init/Config.in
new file mode 100644
index 000000000..90173c552
--- /dev/null
+++ b/init/Config.in
@@ -0,0 +1,78 @@
+#
+# For a description of the syntax of this configuration file,
+# see scripts/kbuild/config-language.txt.
+#
+
+menu "Init Utilities"
+
+config CONFIG_INIT
+ bool "init"
+ default n
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_USE_INITTAB
+ bool " Support reading an inittab file?"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_INITRD
+ bool " Support running init from within an initrd?"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_INIT_COREDUMPS
+ bool " Support dumping core for child processes (debugging only)?"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_FEATURE_EXTRA_QUIET
+ bool " Should init be _extra_ quiet on boot?"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+# Some apps that are meaningless without BusyBox running as init
+config CONFIG_HALT
+ bool "halt"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_POWEROFF
+ bool "poweroff"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_REBOOT
+ bool "reboot"
+ default y
+ depends on CONFIG_INIT
+ help
+ Please submit a patch to add help text for this item.
+
+# Should start-stop-daemon be moved under debianutils?
+config CONFIG_START_STOP_DAEMON
+ bool "start-stop-daemon"
+ default y
+ help
+ Please submit a patch to add help text for this item.
+
+config CONFIG_MESG
+ bool "mesg"
+ default y
+ help
+ Please submit a patch to add help text for this item.
+
+endmenu
+
diff --git a/init/config.in b/init/config.in
deleted file mode 100644
index 3688eaa10..000000000
--- a/init/config.in
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# For a description of the syntax of this configuration file,
-# see scripts/kbuild/config-language.txt.
-#
-
-mainmenu_option next_comment
-comment 'Init Utilities'
-
-
-bool 'init' CONFIG_INIT
-if [ "$CONFIG_INIT" = "y" ]; then
- bool ' Support reading an inittab file?' CONFIG_FEATURE_USE_INITTAB
- bool ' Support running init from within an initrd?' CONFIG_FEATURE_INITRD
- bool ' Support dumping core for child processes (debugging only)?' CONFIG_FEATURE_INIT_COREDUMPS
- bool ' Should init be _extra_ quiet on boot?' CONFIG_FEATURE_EXTRA_QUIET
-
- # Some more apps that are meaningless without BusyBox running as init
- bool 'halt' CONFIG_HALT
- bool 'poweroff' CONFIG_POWEROFF
- bool 'reboot' CONFIG_REBOOT
-fi
-
-bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON
-bool 'mesg' CONFIG_MESG
-
-endmenu
-