summaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-31 00:42:57 +0200
committerDenys Vlasenko2016-03-31 00:42:57 +0200
commit52977a7d600c7db0f7c4935fd501427fd6b580d0 (patch)
tree9f5fdb91626f0201118e400cd16a72ce277e7932 /init/halt.c
parenta27dc33f976b15ccfe9180d652ed16579638c48c (diff)
downloadbusybox-52977a7d600c7db0f7c4935fd501427fd6b580d0.zip
busybox-52977a7d600c7db0f7c4935fd501427fd6b580d0.tar.gz
Rename FEATURE_INITRD to LINUXRC and make it separate, not an alias to init
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c
index ad12d91..572d751 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -135,7 +135,7 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
if (!(flags & 4)) { /* no -f */
//TODO: I tend to think that signalling linuxrc is wrong
// pity original author didn't comment on it...
- if (ENABLE_FEATURE_INITRD) {
+ if (ENABLE_LINUXRC) {
/* talk to linuxrc */
/* bbox init/linuxrc assumed */
pid_t *pidlist = find_pid_by_name("linuxrc");