aboutsummaryrefslogtreecommitdiff
path: root/init/Config.src
diff options
context:
space:
mode:
authorJeremie Koenig <jk@jk.fr.eu.org>2010-05-27 15:38:44 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-07-19 00:45:51 +0200
commit714674e4da3d92c5dd14e00ab30794a895b91eb4 (patch)
tree0d27bc73f1f2fe0175c5fc948451b86c52f9bb90 /init/Config.src
parentf812eace1863feeac64dc8af27f4ab0f98119618 (diff)
downloadbusybox-w32-714674e4da3d92c5dd14e00ab30794a895b91eb4.tar.gz
busybox-w32-714674e4da3d92c5dd14e00ab30794a895b91eb4.tar.bz2
busybox-w32-714674e4da3d92c5dd14e00ab30794a895b91eb4.zip
init,halt: portability improvements
* make init and halt use the same RB_* constants for reboot() * conditionalize the Linux-specific code Inspired by init.init.diff from the Debian kFreeBSD patches at: http://svn.debian.org/viewsvn/d-i/people/slackydeb/kfreebsd/busybox/1.14/debian Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init/Config.src')
-rw-r--r--init/Config.src2
1 files changed, 0 insertions, 2 deletions
diff --git a/init/Config.src b/init/Config.src
index a5e76be6a..590e29890 100644
--- a/init/Config.src
+++ b/init/Config.src
@@ -10,7 +10,6 @@ INSERT
10config INIT 10config INIT
11 bool "init" 11 bool "init"
12 default y 12 default y
13 depends on PLATFORM_LINUX
14 select FEATURE_SYSLOG 13 select FEATURE_SYSLOG
15 help 14 help
16 init is the first program run when the system boots. 15 init is the first program run when the system boots.
@@ -93,7 +92,6 @@ config FEATURE_INITRD
93config HALT 92config HALT
94 bool "poweroff, halt, and reboot" 93 bool "poweroff, halt, and reboot"
95 default y 94 default y
96 depends on PLATFORM_LINUX
97 help 95 help
98 Stop all processes and either halt, reboot, or power off the system. 96 Stop all processes and either halt, reboot, or power off the system.
99 97