summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/openssh/files/sshd.rc6')
-rw-r--r--net-misc/openssh/files/sshd.rc64
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/openssh/files/sshd.rc6 b/net-misc/openssh/files/sshd.rc6
index dd8ca28ba4b8..ec598cee8822 100644
--- a/net-misc/openssh/files/sshd.rc6
+++ b/net-misc/openssh/files/sshd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.14 2005/04/20 02:08:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.15 2005/08/20 03:46:44 vapier Exp $
depend() {
use logger dns
@@ -19,6 +19,8 @@ checkconfig() {
return 1
fi
+ /usr/sbin/sshd -t || return 1
+
gen_keys
}