accesspoints: added toggle to disable public wifi
also disabled public wifi on ANS till offloader works
This commit is contained in:
parent
7244b53d6d
commit
e110320999
|
@ -98,6 +98,7 @@ ffl-ans-sw-access02
|
||||||
[site_ans:vars]
|
[site_ans:vars]
|
||||||
wifi_ssid="GU Arno-Nitzsche-Strasse"
|
wifi_ssid="GU Arno-Nitzsche-Strasse"
|
||||||
wifi_encryption=none
|
wifi_encryption=none
|
||||||
|
wifi_disabled=1
|
||||||
backoffice_wifi_ssid="GU Arno-Nitzsche-Strasse Backoffice"
|
backoffice_wifi_ssid="GU Arno-Nitzsche-Strasse Backoffice"
|
||||||
backoffice_wifi_encryption=psk2
|
backoffice_wifi_encryption=psk2
|
||||||
backoffice_wifi_psk="{{ lookup('passwordstore', 'wifi/GU_Arno-Nitzsche-Straße_Backoffice') }}"
|
backoffice_wifi_psk="{{ lookup('passwordstore', 'wifi/GU_Arno-Nitzsche-Straße_Backoffice') }}"
|
||||||
|
|
|
@ -20,6 +20,7 @@ config wifi-iface 'default_radio0'
|
||||||
{% if wifi_psk is defined %}
|
{% if wifi_psk is defined %}
|
||||||
option key '{{ wifi_psk }}'
|
option key '{{ wifi_psk }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
option disabled '{{ wifi_disabled | default(0) }}'
|
||||||
|
|
||||||
config wifi-iface 'backoffice_radio0'
|
config wifi-iface 'backoffice_radio0'
|
||||||
option device 'radio0'
|
option device 'radio0'
|
||||||
|
@ -53,6 +54,7 @@ config wifi-iface 'default_radio1'
|
||||||
{% if wifi_psk is defined %}
|
{% if wifi_psk is defined %}
|
||||||
option key '{{ wifi_psk }}'
|
option key '{{ wifi_psk }}'
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
option disabled '{{ wifi_disabled | default(0) }}'
|
||||||
|
|
||||||
config wifi-iface 'backoffice_radio1'
|
config wifi-iface 'backoffice_radio1'
|
||||||
option device 'radio1'
|
option device 'radio1'
|
||||||
|
|
Reference in New Issue