- (tim) [opensshd.init.in] If PidFile is set in sshd_config, use it.
Bug 1628. OK dtucker@
This commit is contained in:
parent
409661f0d9
commit
53e9974007
|
@ -1,3 +1,7 @@
|
||||||
|
20091121
|
||||||
|
- (tim) [opensshd.init.in] If PidFile is set in sshd_config, use it.
|
||||||
|
Bug 1628. OK dtucker@
|
||||||
|
|
||||||
20091120
|
20091120
|
||||||
- (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
|
- (djm) [ssh-rand-helper.c] Print error and usage() when passed command-
|
||||||
line arguments as none are supported. Exit when passed unrecognised
|
line arguments as none are supported. Exit when passed unrecognised
|
||||||
|
|
|
@ -14,6 +14,8 @@ piddir=@piddir@
|
||||||
|
|
||||||
SSHD=$prefix/sbin/sshd
|
SSHD=$prefix/sbin/sshd
|
||||||
PIDFILE=$piddir/sshd.pid
|
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
|
SSH_KEYGEN=$prefix/bin/ssh-keygen
|
||||||
HOST_KEY_RSA1=$sysconfdir/ssh_host_key
|
HOST_KEY_RSA1=$sysconfdir/ssh_host_key
|
||||||
HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key
|
HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key
|
||||||
|
|
Loading…
Reference in New Issue