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:
parent
f5f3e17583
commit
8c764acbca
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue