mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
adjust systemd.j2
This commit is contained in:
parent
4d8fe7fd46
commit
312f5a99ee
1 changed files with 1 additions and 6 deletions
|
@ -10,7 +10,7 @@ iface br0 inet manual
|
|||
iface br0 inet static
|
||||
{% endif %}
|
||||
{% if discovered_lan_iface != "none" %}
|
||||
bridge_ports {{ discovered_lan_iface }}
|
||||
bridge_ports {{ iiab_wired_lan_iface }}
|
||||
{% endif %}
|
||||
bridge_maxwait 0
|
||||
{% if dhcpcd_result != "enabled" %}
|
||||
|
@ -28,11 +28,6 @@ iface br0 inet static
|
|||
{% if dhcpcd_result == "enabled" or wan_in_interfaces == "true" %}
|
||||
# client or user defined
|
||||
{% endif %}
|
||||
{% if dhcpcd_result == "enabled" and is_rpi == "true" %}
|
||||
#cover rpi
|
||||
#auto {{ iiab_wan_iface }}
|
||||
#iface {{ iiab_wan_iface }} inet manual
|
||||
{% endif %}
|
||||
{% if dhcpcd_result != "enabled" and wan_in_interfaces == "false" %}
|
||||
#cover butt
|
||||
auto {{ iiab_wan_iface }}
|
||||
|
|
Loading…
Reference in a new issue