From a27ea72850ebecaf3a42f6d2437d3daf931637fd Mon Sep 17 00:00:00 2001 From: kim Date: Sun, 20 Jun 1999 19:47:31 +0000 Subject: While sshd doesn't necessarily need a config file, it makes more sense to check for the daemon config than the client config. --- security/ssh/files/sshd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'security/ssh') 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' -- cgit v1.2.3