- (tim) [opensshd.init.in] If PidFile is set in sshd_config, use it.

Bug 1628. OK dtucker@
This commit is contained in:
Tim Rice 2009-11-20 19:32:15 -08:00
parent 409661f0d9
commit 53e9974007
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
20091121
- (tim) [opensshd.init.in] If PidFile is set in sshd_config, use it.
Bug 1628. OK dtucker@
20091120
- (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
line arguments as none are supported. Exit when passed unrecognised

View File

@ -14,6 +14,8 @@ piddir=@piddir@
SSHD=$prefix/sbin/sshd
PIDFILE=$piddir/sshd.pid
PidFile=`grep "^PidFile" ${sysconfdir}/sshd_config | tr "=" " " | awk '{print $2}'`
[ X$PidFile = X ] || PIDFILE=$PidFile
SSH_KEYGEN=$prefix/bin/ssh-keygen
HOST_KEY_RSA1=$sysconfdir/ssh_host_key
HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key