diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/dhcpd.conf.debian.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/dhcpd.conf.debian.erb b/templates/dhcpd.conf.debian.erb index 64318c8..f193fab 100644 --- a/templates/dhcpd.conf.debian.erb +++ b/templates/dhcpd.conf.debian.erb @@ -14,7 +14,9 @@ ddns-update-style <%= @ddns_update %>; <%= @opts.join(";\n") %>; <% end -%> +<% if @log_facility != '' -%> # Use this to send dhcp log messages to a different log file (you also # have to hack syslog.conf to complete the redirection). -<% unless @log_facility != '' -%>log-facility <%= @log_facility %>;<%- end -%> +log-facility <%= @log_facility %>; +<%- end -%> |