1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

needs space or the next line is combined

This commit is contained in:
Jerry Vonau 2017-11-06 18:22:11 -06:00
parent 991f1e87b8
commit 9fe05cbfd4
3 changed files with 6 additions and 5 deletions

View file

@ -1,6 +1,7 @@
# Basic configuration
interface={% if iiab_wireless_lan_iface is defined %} {{ iiab_wireless_lan_iface }} {% endif %}
interface={% if iiab_wireless_lan_iface is defined %}{{ iiab_wireless_lan_iface }}{% endif %}
ssid={{ host_ssid }}
channel={{ host_channel }}
{%if iiab_lan_iface == "br0" %}

View file

@ -5,7 +5,8 @@
################# LANCONTROLLER ###################
auto br0
iface br0 inet manual
bridge_ports {% if iiab_wireless_lan_iface is defined %} {{ iiab_wireless_lan_iface }} {% endif %} {% if iiab_wired_lan_iface is defined %} {{ iiab_wired_lan_iface }} {% endif %}
bridge_ports {% if iiab_wireless_lan_iface is defined %}{{ iiab_wireless_lan_iface }}{% endif %} {% if iiab_wired_lan_iface is defined %} {{ iiab_wired_lan_iface }}{% endif %}
bridge_maxwait 0
dns-nameservers 127.0.0.1
dns-search {{ iiab_domain }}

View file

@ -9,9 +9,8 @@ iface br0 inet manual
{% else %}
iface br0 inet static
{% endif %}
{% if iiab_wired_lan_iface != "none" %}
bridge_ports {{ iiab_wired_lan_iface }}
{% endif %}
bridge_ports {% if iiab_wireless_lan_iface is defined %}{{ iiab_wireless_lan_iface }} {% endif %}{% if iiab_wired_lan_iface is defined %}{{ iiab_wired_lan_iface }}{% endif %}
bridge_maxwait 0
{% if dhcpcd_result != "enabled" %}
address {{ lan_ip }}