aboutsummaryrefslogtreecommitdiff
path: root/runlevels/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'runlevels/Makefile')
-rw-r--r--runlevels/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/runlevels/Makefile b/runlevels/Makefile
index 1573572e..468a3753 100644
--- a/runlevels/Makefile
+++ b/runlevels/Makefile
@@ -41,34 +41,24 @@ install:
if ! test -d "${SYSINITDIR}"; then \
${INSTALL} -d ${SYSINITDIR} || exit $$?; \
for x in ${SYSINIT}; do \
- if test -n "${PREFIX}"; then \
- grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \
- fi; \
- ln -snf ${PREFIX}/etc/init.d/"$$x" ${SYSINITDIR}/"$$x" || exit $$?; done \
+ ln -snf ${PREFIX}/etc/init.d/"$$x" ${SYSINITDIR}/"$$x" || exit $$?; \
+ done \
fi
if ! test -d "${BOOTDIR}"; then \
${INSTALL} -d ${BOOTDIR} || exit $$?; \
for x in ${BOOT}; do \
- if test -n "${PREFIX}"; then \
- grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \
- fi; \
ln -snf ${PREFIX}/etc/init.d/"$$x" ${BOOTDIR}/"$$x" || exit $$?; \
done \
fi
if ! test -d "${DEFAULTDIR}"; then \
${INSTALL} -d ${DEFAULTDIR} || exit $$?; \
for x in ${DEFAULT}; do \
- if test -n "${PREFIX}"; then \
- grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \
- fi; \
- ln -snf ${PREFIX}/etc/init.d/"$$x" ${DEFAULTDIR}/"$$x" || exit $$?; done \
+ ln -snf ${PREFIX}/etc/init.d/"$$x" ${DEFAULTDIR}/"$$x" || exit $$?; \
+ done \
fi
if ! test -d "${SHUTDOWNDIR}"; then \
${INSTALL} -d ${SHUTDOWNDIR} || exit $$?; \
for x in ${SHUTDOWN}; do \
- if test -n "${PREFIX}"; then \
- grep -q "keyword .*noprefix" ${INITDIR}/"$$x" && continue; \
- fi; \
ln -snf ${PREFIX}/etc/init.d/"$$x" ${SHUTDOWNDIR}/"$$x" || exit $$?; done \
fi