diff options
Diffstat (limited to 'net/tdetect/Makefile')
| -rw-r--r-- | net/tdetect/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile index 9793bc94e3ae..30fb3f68db5f 100644 --- a/net/tdetect/Makefile +++ b/net/tdetect/Makefile @@ -28,10 +28,7 @@ do-install: post-install: @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \ - ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \ - ${ECHO} "ETHERNETDEV=ed0" >> ${PREFIX}/etc/rc.d/tdetect.sh; \ - ${ECHO} '[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect $$ETHERNETDEV && ${ECHO} -n " tdetect"' >> ${PREFIX}/etc/rc.d/tdetect.sh; \ - ${CHMOD} 750 ${PREFIX}/etc/rc.d/tdetect.sh; \ + ${INSTALL_SCRIPT} -m 750 ${FILESDIR}/tdetect.sh ${PREFIX}/etc/rc.d/tdetect.sh; \ ${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \ fi |
