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 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Init Utilities"
7
8config CONFIG_INIT
9 bool "init"
10 default n
11 help
12 Please submit a patch to add help text for this item.
13
14config CONFIG_FEATURE_USE_INITTAB
15 bool " Support reading an inittab file?"
16 default y
17 depends on CONFIG_INIT
18 help
19 Please submit a patch to add help text for this item.
20
21config CONFIG_FEATURE_INITRD
22 bool " Support running init from within an initrd?"
23 default y
24 depends on CONFIG_INIT
25 help
26 Please submit a patch to add help text for this item.
27
28config CONFIG_FEATURE_INIT_COREDUMPS
29 bool " Support dumping core for child processes (debugging only)?"
30 default y
31 depends on CONFIG_INIT
32 help
33 Please submit a patch to add help text for this item.
34
35config CONFIG_FEATURE_EXTRA_QUIET
36 bool " Should init be _extra_ quiet on boot?"
37 default y
38 depends on CONFIG_INIT
39 help
40 Please submit a patch to add help text for this item.
41
42# Some apps that are meaningless without BusyBox running as init
43config CONFIG_HALT
44 bool "halt"
45 default y
46 depends on CONFIG_INIT
47 help
48 Please submit a patch to add help text for this item.
49
50config CONFIG_POWEROFF
51 bool "poweroff"
52 default y
53 depends on CONFIG_INIT
54 help
55 Please submit a patch to add help text for this item.
56
57config CONFIG_REBOOT
58 bool "reboot"
59 default y
60 depends on CONFIG_INIT
61 help
62 Please submit a patch to add help text for this item.
63
64# Should start-stop-daemon be moved under debianutils?
65config CONFIG_START_STOP_DAEMON
66 bool "start-stop-daemon"
67 default y
68 help
69 Please submit a patch to add help text for this item.
70
71config CONFIG_MESG
72 bool "mesg"
73 default y
74 help
75 Please submit a patch to add help text for this item.
76
77endmenu
78
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 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Init Utilities'
8
9
10bool 'init' CONFIG_INIT
11if [ "$CONFIG_INIT" = "y" ]; then
12 bool ' Support reading an inittab file?' CONFIG_FEATURE_USE_INITTAB
13 bool ' Support running init from within an initrd?' CONFIG_FEATURE_INITRD
14 bool ' Support dumping core for child processes (debugging only)?' CONFIG_FEATURE_INIT_COREDUMPS
15 bool ' Should init be _extra_ quiet on boot?' CONFIG_FEATURE_EXTRA_QUIET
16
17 # Some more apps that are meaningless without BusyBox running as init
18 bool 'halt' CONFIG_HALT
19 bool 'poweroff' CONFIG_POWEROFF
20 bool 'reboot' CONFIG_REBOOT
21fi
22
23bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON
24bool 'mesg' CONFIG_MESG
25
26endmenu
27