diff options
Diffstat (limited to 'security/ssh/Makefile')
-rw-r--r-- | security/ssh/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile index 405a2e13bd50..e9c1640645cb 100644 --- a/security/ssh/Makefile +++ b/security/ssh/Makefile @@ -108,8 +108,8 @@ post-install: fi @if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/sshd.sh startup file."; \ - ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/sshd.sh; \ - ${ECHO} "[ -x ${PREFIX}/sbin/sshd ] && ${PREFIX}/sbin/sshd && ${ECHO} -n ' sshd'" >> ${PREFIX}/etc/rc.d/sshd.sh; \ + ${SED} -e 's+!!PREFIX!!+${PREFIX}+g' ${FILESDIR}/sshd.sh \ + > ${PREFIX}/etc/rc.d/sshd.sh \ ${CHMOD} 751 ${PREFIX}/etc/rc.d/sshd.sh; \ fi |