aboutsummaryrefslogtreecommitdiff
path: root/init/Config.in
diff options
context:
space:
mode:
authorGravatar Eric Andersen <andersen@codepoet.org>2003-07-22 09:41:39 +0000
committerGravatar Eric Andersen <andersen@codepoet.org>2003-07-22 09:41:39 +0000
commit0246222351a8787e2e726c2526d795440893859c (patch)
treea254319c3697e8f1493373cd1148a6aa1e74a6a6 /init/Config.in
parent85e5e72bc1acd9d58c11bde6e14c8270cd9f169f (diff)
downloadbusybox-0246222351a8787e2e726c2526d795440893859c.tar.gz
busybox-0246222351a8787e2e726c2526d795440893859c.tar.bz2
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
config CONFIG_FEATURE_INIT_COREDUMPS
bool " Support dumping core for child processes (debugging only)?"
- default y
+ default n
depends on CONFIG_INIT
help
If this option is enabled and the file /.init_enable_core
@@ -43,31 +43,28 @@ config CONFIG_FEATURE_EXTRA_QUIET
Prevent init from logging some messages to the console
during boot.
-# Some apps that are meaningless without BusyBox running as init
config CONFIG_HALT
bool "halt"
default y
- depends on CONFIG_INIT
help
- 'halt' tells the kernel to stop all processes and halt the system.
+ Stop all processes and halt the system.
config CONFIG_POWEROFF
bool "poweroff"
default y
- depends on CONFIG_INIT
help
Stop all processes and (try to) power off the system.
config CONFIG_REBOOT
bool "reboot"
default y
- depends on CONFIG_INIT
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,