瀏覽代碼

Merge pull request #93 from amendlik/freebsd11-printlastlog

PrintLastLog missing in FreeBSD 11.0
master
Niels Abspoel 7 年之前
父節點
當前提交
0913827c82
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      openssh/files/sshd_config

+ 1
- 1
openssh/files/sshd_config 查看文件

@@ -146,7 +146,7 @@
{{ option_default_uncommented('X11DisplayOffset', '10') }}
{{ option_default_uncommented('PrintMotd', 'no') }}
{# Bug in FreeBSD 10.3 (?) See https://lists.freebsd.org/pipermail/freebsd-stable/2016-April/084501.html #}
{% if not (salt['grains.get']('os') == 'FreeBSD' and salt['grains.get']('osrelease') == '10.3') -%}
{% if not (salt['grains.get']('os') == 'FreeBSD' and salt['grains.get']('osrelease')|float >= 10.3) -%}
{{ option_default_uncommented('PrintLastLog', 'yes') }}
{% endif -%}
{{ option_default_uncommented('TCPKeepAlive', 'yes') }}

Loading…
取消
儲存