diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-16 01:50:18 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-16 01:50:18 +0800 |
commit | a1e93258038e2fc3a0bd373eccbd5a7fcd5c36e8 (patch) | |
tree | 049fdab46316a922380118101a0d25da9e24a04c /security/ssh2/Makefile | |
parent | 634cb784a969fe318c4ea6676b13a8849ec23005 (diff) | |
download | freebsd-ports-gnome-a1e93258038e2fc3a0bd373eccbd5a7fcd5c36e8.tar.gz freebsd-ports-gnome-a1e93258038e2fc3a0bd373eccbd5a7fcd5c36e8.tar.zst freebsd-ports-gnome-a1e93258038e2fc3a0bd373eccbd5a7fcd5c36e8.zip |
Install an sshd.sh startup file.
Diffstat (limited to 'security/ssh2/Makefile')
-rw-r--r-- | security/ssh2/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile index 3efa6a7ab589..bf74d708a5a0 100644 --- a/security/ssh2/Makefile +++ b/security/ssh2/Makefile @@ -3,7 +3,7 @@ # Date created: 30 Jul 1995 # Whom: torstenb@FreeBSD.ORG # -# $Id: Makefile,v 1.24 1996/06/08 20:50:42 ache Exp $ +# $Id: Makefile,v 1.25 1996/06/15 07:03:11 torstenb Exp $ # # Maximal ssh package requires YES values for # USE_PERL, USE_TCPWRAP @@ -89,6 +89,12 @@ post-install: @echo "If you are installing for the first time, do not forget to run:" @echo " ssh-keygen -b 1024 -f $(PREFIX)/etc/ssh_host_key -N '' " @echo "---------------------------------------------------------------" + @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 /usr/local/sbin/sshd ] && /usr/local/sbin/sshd && echo -n ' sshd'" >> ${PREFIX}/etc/rc.d/sshd.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/sshd.sh; \ + fi .include <bsd.port.mk> |