From cac41092e4180a8d16edacab0c8552585d94328b Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 22 Jul 2019 18:29:27 -0500 Subject: add ability for openrc-shutdown to communicate with sysvinit This fixes #315. --- src/rc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rc/Makefile') diff --git a/src/rc/Makefile b/src/rc/Makefile index ea4a8c81..982e7af1 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -14,7 +14,8 @@ SRCS+= rc-selinux.c endif ifeq (${OS},Linux) -SRCS+= kill_all.c openrc-init.c openrc-shutdown.c broadcast.c rc-wtmp.c +SRCS+= kill_all.c openrc-init.c openrc-shutdown.c rc-sysvinit.c broadcast.c \ + rc-wtmp.c endif CLEANFILES= version.h rc-selinux.o @@ -134,7 +135,7 @@ mountinfo: mountinfo.o _usage.o rc-misc.o openrc rc: rc.o rc-logger.o rc-misc.o rc-plugin.o _usage.o ${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} -openrc-shutdown: openrc-shutdown.o rc-misc.o _usage.o broadcast.o rc-wtmp.o +openrc-shutdown: openrc-shutdown.o rc-misc.o _usage.o broadcast.o rc-wtmp.o rc-sysvinit.o ${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD} openrc-run runscript: openrc-run.o _usage.o rc-misc.o rc-plugin.o -- cgit v1.2.3