1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +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 %} {% else %}
iface br0 inet static iface br0 inet static
{% endif %} {% endif %}
{% if discovered_lan_iface != "none" %} {% if iiab_wired_lan_iface != "none" %}
bridge_ports {{ iiab_wired_lan_iface }} bridge_ports {{ iiab_wired_lan_iface }}
{% endif %} {% endif %}
bridge_maxwait 0 bridge_maxwait 0
@ -25,10 +25,10 @@ iface br0 inet static
{% if iiab_network_mode != "LanController" %} {% if iiab_network_mode != "LanController" %}
################# GATEWAY or APPLIANCE ######################### ################# GATEWAY or APPLIANCE #########################
# start dhcp clients # start dhcp clients
{% if dhcpcd_result == "enabled" or wan_in_interfaces == "true" %} {% if dhcpcd_result == "enabled" or wan_in_interfaces %}
# client or user defined # client or user defined
{% endif %} {% endif %}
{% if dhcpcd_result != "enabled" and wan_in_interfaces == "false" %} {% if dhcpcd_result != "enabled" and not wan_in_interfaces %}
#cover butt #cover butt
auto {{ iiab_wan_iface }} auto {{ iiab_wan_iface }}
iface {{ iiab_wan_iface }} inet dhcp iface {{ iiab_wan_iface }} inet dhcp