1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

systemd.j2 touchups

This commit is contained in:
Jerry Vonau 2017-11-02 14:35:55 -05:00
parent f5f3e17583
commit 8c764acbca

View file

@ -9,7 +9,7 @@ iface br0 inet manual
{% else %}
iface br0 inet static
{% endif %}
{% if discovered_lan_iface != "none" %}
{% if iiab_wired_lan_iface != "none" %}
bridge_ports {{ iiab_wired_lan_iface }}
{% endif %}
bridge_maxwait 0
@ -25,10 +25,10 @@ iface br0 inet static
{% if iiab_network_mode != "LanController" %}
################# GATEWAY or APPLIANCE #########################
# start dhcp clients
{% if dhcpcd_result == "enabled" or wan_in_interfaces == "true" %}
{% if dhcpcd_result == "enabled" or wan_in_interfaces %}
# client or user defined
{% endif %}
{% if dhcpcd_result != "enabled" and wan_in_interfaces == "false" %}
{% if dhcpcd_result != "enabled" and not wan_in_interfaces %}
#cover butt
auto {{ iiab_wan_iface }}
iface {{ iiab_wan_iface }} inet dhcp