summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorkim <kim>1999-06-20 19:47:31 +0000
committerkim <kim>1999-06-20 19:47:31 +0000
commite33bed3ce9ebb8ede7c69e0c65afa64ae555e3a7 (patch)
treefb5bc6f7a0cc8dbc07a3afae75c4ef610fb14423 /security
parentc97f7493c4ba356985051bc60d3dba6d2f9c6d7f (diff)
downloadpkgsrc-e33bed3ce9ebb8ede7c69e0c65afa64ae555e3a7.tar.gz
While sshd doesn't necessarily need a config file, it makes more
sense to check for the daemon config than the client config.
Diffstat (limited to 'security')
-rw-r--r--security/ssh/files/sshd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/ssh/files/sshd.sh b/security/ssh/files/sshd.sh
index bc940ca7306..7f89964346e 100644
--- a/security/ssh/files/sshd.sh
+++ b/security/ssh/files/sshd.sh
@@ -1,12 +1,12 @@
#!/bin/sh
#
-# $NetBSD: sshd.sh,v 1.1 1998/05/24 18:59:43 tron Exp $
+# $NetBSD: sshd.sh,v 1.2 1999/06/20 19:47:31 kim Exp $
#
if [ ! -f @SSH_CONF_DIR@/ssh_host_key ]
then
@PREFIX@/bin/ssh-keygen -f @SSH_CONF_DIR@/ssh_host_key -N ''
fi
-if [ -x @PREFIX@/sbin/sshd -a -f @SSH_CONF_DIR@/ssh_config ]
+if [ -x @PREFIX@/sbin/sshd -a -f @SSH_CONF_DIR@/sshd_config ]
then
@PREFIX@/sbin/sshd
echo -n ' sshd'