aboutsummaryrefslogtreecommitdiff
path: root/init/Config.in
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-22 09:41:39 +0000
committerEric Andersen <andersen@codepoet.org>2003-07-22 09:41:39 +0000
commit0246222351a8787e2e726c2526d795440893859c (patch)
treea254319c3697e8f1493373cd1148a6aa1e74a6a6 /init/Config.in
parent85e5e72bc1acd9d58c11bde6e14c8270cd9f169f (diff)
downloadbusybox-w32-0246222351a8787e2e726c2526d795440893859c.tar.gz
busybox-w32-0246222351a8787e2e726c2526d795440893859c.tar.bz2
busybox-w32-0246222351a8787e2e726c2526d795440893859c.zip
Support reboot, halt, and poweroff independent of busybox init.
Simplify and fixup some logic. -Erik
Diffstat (limited to 'init/Config.in')
-rw-r--r--init/Config.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/init/Config.in b/init/Config.in
index c8c6a9cd6..af7aac833 100644
--- a/init/Config.in
+++ b/init/Config.in
@@ -27,7 +27,7 @@ config CONFIG_FEATURE_INITRD
27 27
28config CONFIG_FEATURE_INIT_COREDUMPS 28config CONFIG_FEATURE_INIT_COREDUMPS
29 bool " Support dumping core for child processes (debugging only)?" 29 bool " Support dumping core for child processes (debugging only)?"
30 default y 30 default n
31 depends on CONFIG_INIT 31 depends on CONFIG_INIT
32 help 32 help
33 If this option is enabled and the file /.init_enable_core 33 If this option is enabled and the file /.init_enable_core
@@ -43,31 +43,28 @@ config CONFIG_FEATURE_EXTRA_QUIET
43 Prevent init from logging some messages to the console 43 Prevent init from logging some messages to the console
44 during boot. 44 during boot.
45 45
46# Some apps that are meaningless without BusyBox running as init
47config CONFIG_HALT 46config CONFIG_HALT
48 bool "halt" 47 bool "halt"
49 default y 48 default y
50 depends on CONFIG_INIT
51 help 49 help
52 'halt' tells the kernel to stop all processes and halt the system. 50 Stop all processes and halt the system.
53 51
54config CONFIG_POWEROFF 52config CONFIG_POWEROFF
55 bool "poweroff" 53 bool "poweroff"
56 default y 54 default y
57 depends on CONFIG_INIT
58 help 55 help
59 Stop all processes and (try to) power off the system. 56 Stop all processes and (try to) power off the system.
60 57
61config CONFIG_REBOOT 58config CONFIG_REBOOT
62 bool "reboot" 59 bool "reboot"
63 default y 60 default y
64 depends on CONFIG_INIT
65 help 61 help
66 Stop all processes and reboot the system. 62 Stop all processes and reboot the system.
67 63
68config CONFIG_MINIT 64config CONFIG_MINIT
69 bool "minit" 65 bool "minit"
70 default n 66 default n
67 depends on ! CONFIG_INIT
71 help 68 help
72 Minimal init, based on minit v0.9.1. This is a simple 69 Minimal init, based on minit v0.9.1. This is a simple
73 init replacement that handles starting/stopping services, 70 init replacement that handles starting/stopping services,