dhcp: Merge from parameterize branch

This commit is contained in:
Ossi Salmi 2016-04-18 15:15:31 +03:00
parent bd5ccf4211
commit 55c8b7bd5f
2 changed files with 48 additions and 75 deletions

View file

@ -1,6 +1,6 @@
<% if @operatingsystemrelease =~ /^6\./ -%>
DHCPDARGS="-chroot ${statedir} -lf /dhcpd.leases -pf /dhcpd.pid <%= @dhcp_server_interface %>"
DHCPDARGS="-chroot ${statedir} -lf /dhcpd.leases -pf /dhcpd.pid <%= @interface %>"
pidfile="${statedir}/dhcpd.pid"
<% else -%>
DHCPDARGS="<%= @dhcp_server_interface %>"
DHCPDARGS="<%= @interface %>"
<% end -%>