summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2002-04-02 10:14:42 +0000
committerseb <seb@pkgsrc.org>2002-04-02 10:14:42 +0000
commitd64334720f10e30ba6ce5714604298f106477059 (patch)
tree2427838ee84f64db439b5a289034cb13dba63203 /security
parent89d684bf17c8734cf2bce2701cf15b037366a6c4 (diff)
downloadpkgsrc-d64334720f10e30ba6ce5714604298f106477059.tar.gz
Add a `keygen' "target" for non-rc.subr systems so sshd_precmd() actually works.
Diffstat (limited to 'security')
-rw-r--r--security/openssh/files/sshd.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/openssh/files/sshd.sh b/security/openssh/files/sshd.sh
index 43b637d08d1..e05a74d4d73 100644
--- a/security/openssh/files/sshd.sh
+++ b/security/openssh/files/sshd.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: sshd.sh,v 1.7 2002/02/05 04:17:32 jlam Exp $
+# $NetBSD: sshd.sh,v 1.8 2002/04/02 10:14:42 seb Exp $
#
# PROVIDE: sshd
# REQUIRE: DAEMON LOGIN
@@ -93,5 +93,8 @@ else
@ECHO@ "${name} is not running."
fi
;;
+ keygen)
+ eval ${keygen_cmd}
+ ;;
esac
fi