aboutsummaryrefslogtreecommitdiff
path: root/net/tac_plus4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tac_plus4/Makefile')
-rw-r--r--net/tac_plus4/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile
index 491b88a89b9a..e6b03f3714f8 100644
--- a/net/tac_plus4/Makefile
+++ b/net/tac_plus4/Makefile
@@ -29,9 +29,7 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/tac_plus.conf.example ${PREFIX}/etc/
@if [ ! -f ${PREFIX}/etc/rc.d/tac_plus.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/tac_plus.sh startup file."; \
- ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tac_plus.sh; \
- ${ECHO} "[ -x ${PREFIX}/sbin/tac_plus -a -f ${PREFIX}/etc/tac_plus.conf ] && ${PREFIX}/sbin/tac_plus -C ${PREFIX}/etc/tac_plus.conf && echo -n ' tac_plus'" >> ${PREFIX}/etc/rc.d/tac_plus.sh; \
- chmod 751 ${PREFIX}/etc/rc.d/tac_plus.sh; \
+ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/tac_plus.sh ${PREFIX}/etc/rc.d/tac_plus.sh; \
fi
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/tac_plus