summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>1999-06-20 19:47:31 +0000
committerkim <kim@pkgsrc.org>1999-06-20 19:47:31 +0000
commita27ea72850ebecaf3a42f6d2437d3daf931637fd (patch)
treefb5bc6f7a0cc8dbc07a3afae75c4ef610fb14423 /security/ssh
parentd4286f695aa0e88eca27d8ea3d76cc1203ce6dde (diff)
downloadpkgsrc-a27ea72850ebecaf3a42f6d2437d3daf931637fd.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/ssh')
-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'