Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/etc/rc.d Pull up revision 1.10 (requested by itojun):
details: https://anonhg.NetBSD.org/src/rev/d022b4b8b7d8
branches: netbsd-1-5
changeset: 491028:d022b4b8b7d8
user: he <he%NetBSD.org@localhost>
date: Fri Mar 30 22:37:49 2001 +0000
description:
Pull up revision 1.10 (requested by itojun):
Auto-generate SSH protocol version 2 RSA key.
Use newer command syntax (``-t <type>'' instead of ``-d'').
(fix to previous)
diffstat:
etc/rc.d/sshd | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r b93eeb8156e6 -r d022b4b8b7d8 etc/rc.d/sshd
--- a/etc/rc.d/sshd Fri Mar 30 22:36:34 2001 +0000
+++ b/etc/rc.d/sshd Fri Mar 30 22:37:49 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: sshd,v 1.5.2.5 2001/03/30 22:36:34 he Exp $
+# $NetBSD: sshd,v 1.5.2.6 2001/03/30 22:37:49 he Exp $
#
# PROVIDE: sshd
@@ -44,7 +44,8 @@
sshd_precmd()
{
- if [ ! -f /etc/ssh_host_key -o ! -f /etc/ssh_host_dsa_key ]; then
+ if [ ! -f /etc/ssh_host_key -o ! -f /etc/ssh_host_dsa_key -o \
+ ! -f /etc/ssh_host_rsa_key ]; then
/etc/rc.d/sshd keygen
fi
}
Home |
Main Index |
Thread Index |
Old Index