Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-07-22 13:41:39 +0400
committerEric Andersen <andersen@codepoet.org>2003-07-22 13:41:39 +0400
commit0246222351a8787e2e726c2526d795440893859c (patch)
treea254319c3697e8f1493373cd1148a6aa1e74a6a6 /init/Config.in
parent85e5e72bc1acd9d58c11bde6e14c8270cd9f169f (diff)
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,