PrintLastLog missing in FreeBSD 10.3

This commit is contained in:
Alexander Weidinger 2017-02-23 01:19:21 +01:00
parent 2db9253c45
commit 678cc9066c

View File

@ -145,7 +145,10 @@
{{ option('AllowTcpForwarding', 'yes') }} {{ option('AllowTcpForwarding', 'yes') }}
{{ option_default_uncommented('X11DisplayOffset', '10') }} {{ option_default_uncommented('X11DisplayOffset', '10') }}
{{ option_default_uncommented('PrintMotd', 'no') }} {{ 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') -%}
{{ option_default_uncommented('PrintLastLog', 'yes') }} {{ option_default_uncommented('PrintLastLog', 'yes') }}
{% endif -%}
{{ option_default_uncommented('TCPKeepAlive', 'yes') }} {{ option_default_uncommented('TCPKeepAlive', 'yes') }}
{{ option('UseLogin', 'no') }} {{ option('UseLogin', 'no') }}