accesspoints: expand backoffice wifis to all office locations

This commit is contained in:
Gregor Michels 2022-11-14 01:59:22 +01:00
parent 329b09bd9a
commit f791ad76ab
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ config wifi-iface 'backoffice_radio0'
option ssid '{{ backoffice_wifi_ssid }}'
option encryption '{{ backoffice_wifi_encryption }}'
option key '{{ backoffice_wifi_psk }}'
{% if location not in ['office-facility', 'office-social'] %}
{% if not location | regex_search('office-.*') %}
option disabled '1'
{% endif %}
@ -63,6 +63,6 @@ config wifi-iface 'backoffice_radio1'
option ssid '{{ backoffice_wifi_ssid }}'
option encryption '{{ backoffice_wifi_encryption }}'
option key '{{ backoffice_wifi_psk }}'
{% if location not in ['office-facility', 'office-social'] %}
{% if not location | regex_search('office-.*') %}
option disabled '1'
{% endif %}