diff options
Diffstat (limited to 'opensshd.init.in')
-rwxr-xr-x | opensshd.init.in | 2 |
1 files changed, 2 insertions, 0 deletions
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 | ||
15 | SSHD=$prefix/sbin/sshd | 15 | SSHD=$prefix/sbin/sshd |
16 | PIDFILE=$piddir/sshd.pid | 16 | PIDFILE=$piddir/sshd.pid |
17 | PidFile=`grep "^PidFile" ${sysconfdir}/sshd_config | tr "=" " " | awk '{print $2}'` | ||
18 | [ X$PidFile = X ] || PIDFILE=$PidFile | ||
17 | SSH_KEYGEN=$prefix/bin/ssh-keygen | 19 | SSH_KEYGEN=$prefix/bin/ssh-keygen |
18 | HOST_KEY_RSA1=$sysconfdir/ssh_host_key | 20 | HOST_KEY_RSA1=$sysconfdir/ssh_host_key |
19 | HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key | 21 | HOST_KEY_DSA=$sysconfdir/ssh_host_dsa_key |