summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xopensshd.init.in2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e477a8fc3..41c272ec9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120091121
2 - (tim) [opensshd.init.in] If PidFile is set in sshd_config, use it.
3 Bug 1628. OK dtucker@
4
120091120 520091120
2 - (djm) [ssh-rand-helper.c] Print error and usage() when passed command- 6 - (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
3 line arguments as none are supported. Exit when passed unrecognised 7 line arguments as none are supported. Exit when passed unrecognised
diff --git a/opensshd.init.in b/opensshd.init.in
index c36c5c88a..d0aff7794 100755
--- a/opensshd.init.in
+++ b/opensshd.init.in
@@ -14,6 +14,8 @@ piddir=@piddir@
14 14
15SSHD=$prefix/sbin/sshd 15SSHD=$prefix/sbin/sshd
16PIDFILE=$piddir/sshd.pid 16PIDFILE=$piddir/sshd.pid
17PidFile=`grep "^PidFile" ${sysconfdir}/sshd_config | tr "=" " " | awk '{print $2}'`
18[ X$PidFile = X ] || PIDFILE=$PidFile
17SSH_KEYGEN=$prefix/bin/ssh-keygen 19SSH_KEYGEN=$prefix/bin/ssh-keygen
18HOST_KEY_RSA1=$sysconfdir/ssh_host_key 20HOST_KEY_RSA1=$sysconfdir/ssh_host_key
19HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key 21HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key