diff options
author | Brian Feldman <green@FreeBSD.org> | 1999-11-20 03:42:05 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 1999-11-20 03:42:05 +0000 |
commit | 7382aa363a15021264f0fc99f4d50e0762b580df (patch) | |
tree | af086cb6d364a466242b96525ddf3bee421036af /security/openssh/pkg-plist | |
parent | Update 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-plist | 1 |
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 |