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