diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-22 09:41:39 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-07-22 09:41:39 +0000 |
commit | 932734db6ba4f5aa3830833f70aa99e03a453525 (patch) | |
tree | a254319c3697e8f1493373cd1148a6aa1e74a6a6 /init/Config.in | |
parent | fa8cf20631cf02ae3e6b0db95a494261df1aee27 (diff) | |
download | busybox-w32-932734db6ba4f5aa3830833f70aa99e03a453525.tar.gz busybox-w32-932734db6ba4f5aa3830833f70aa99e03a453525.tar.bz2 busybox-w32-932734db6ba4f5aa3830833f70aa99e03a453525.zip |
Support reboot, halt, and poweroff independent of busybox init.
Simplify and fixup some logic.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@7091 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init/Config.in')
-rw-r--r-- | init/Config.in | 9 |
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 | ||
28 | config CONFIG_FEATURE_INIT_COREDUMPS | 28 | config 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 | ||
47 | config CONFIG_HALT | 46 | config 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 | ||
54 | config CONFIG_POWEROFF | 52 | config 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 | ||
61 | config CONFIG_REBOOT | 58 | config 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 | ||
68 | config CONFIG_MINIT | 64 | config 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, |