1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

always support Ethernet-to-Internet on RPi: use discovered_wireless_iface (not iiab_wireless_lan_iface) to toggle AP

This commit is contained in:
A Holt 2017-12-28 19:28:20 -05:00 committed by GitHub
parent 5261301482
commit 2d6d510e63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,9 +37,11 @@ require dhcp_server_identifier
# Generate Stable Private IPv6 Addresses instead of hardware based ones
slaac private
# IIAB
{% if is_rpi %}
#denyinterfaces {% if iiab_wireless_lan_iface is defined %} {{ iiab_wireless_lan_iface }} {% endif %}
# IIAB - always support Ethernet-to-Internet on RPi
{% if is_rpi and manually_toggle_AP %}
#denyinterfaces {% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }} {% endif %}
{% elif is_rpi %}
denyinterfaces {% if discovered_wireless_iface != "none" %} {{ discovered_wireless_iface }} {% endif %}
{% else %}
denyinterfaces {% if iiab_wireless_lan_iface is defined %} {{ iiab_wireless_lan_iface }} {% endif %} {% if iiab_wired_lan_iface is defined %} {{ iiab_wired_lan_iface }} {% endif %}
{% endif %}