aboutsummaryrefslogtreecommitdiff
path: root/security/ssh2
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-10-30 12:57:16 +0000
committerSteve Price <steve@FreeBSD.org>2000-10-30 12:57:16 +0000
commit1360caf6fe1d1adf821f2df9b26364637b93915e (patch)
treea0e5e962ba4f141f15451c74d7cdc312638d0064 /security/ssh2
parentb51b39faaa092062f68fe3297bc8a983b5004820 (diff)
downloadports-1360caf6fe1d1adf821f2df9b26364637b93915e.tar.gz
ports-1360caf6fe1d1adf821f2df9b26364637b93915e.zip
Notes
Diffstat (limited to 'security/ssh2')
-rw-r--r--security/ssh2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 002bf70252e9..dcec14d0a452 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -55,11 +55,13 @@ post-install:
.endfor
.endif
#
- @if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \
+ @if [ "`grep ssh /etc/inetd.conf|grep -v ^#ssh`" = "" ]; then \
+ if [ ! -f ${PREFIX}/etc/rc.d/sshd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/sshd.sh startup file."; \
${SED} -e 's+!!PREFIX!!+${PREFIX}+' < ${FILESDIR}/sshd.sh \
> ${PREFIX}/etc/rc.d/sshd.sh; \
${CHMOD} 751 ${PREFIX}/etc/rc.d/sshd.sh; \
+ fi; \
fi
.include <bsd.port.post.mk>