summaryrefslogtreecommitdiff
path: root/security/openssh/pkg-plist
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-11-20 03:42:05 +0000
committerBrian Feldman <green@FreeBSD.org>1999-11-20 03:42:05 +0000
commit7382aa363a15021264f0fc99f4d50e0762b580df (patch)
treeaf086cb6d364a466242b96525ddf3bee421036af /security/openssh/pkg-plist
parentUpdate to 1.2.4 (diff)
Change around sshd.sh for the last time.
Notes
Notes: svn path=/head/; revision=23208
Diffstat (limited to '')
-rw-r--r--security/openssh/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/openssh/pkg-plist b/security/openssh/pkg-plist
index 5f2fb2c24945..4d10a5382c24 100644
--- a/security/openssh/pkg-plist
+++ b/security/openssh/pkg-plist
@@ -16,3 +16,4 @@ man/man1/ssh.1.gz
man/man8/sshd.8.gz
sbin/sshd
@exec if [ ! -f %D/etc/ssh_host_key ]; then echo ">> Generating a secret host key."; %D/bin/ssh-keygen -N "" -f %D/etc/ssh_host_key; fi
+@exec if [ ! -x %D/etc/rc.d/sshd.sh ]; then echo "#!/bin/sh" > %D/etc/rc.d/sshd.sh && exec echo "[ -x %D/sbin/sshd ] && exec %D/sbin/sshd" >> %D/etc/rc.d/sshd.sh && exec chmod 0555 %D/etc/rc.d/sshd.sh; fi