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

legacy support should not boot to AP on mode

This commit is contained in:
Jerry Vonau 2020-04-14 10:37:00 -05:00
parent 3912e6a1ef
commit 09c7c3e252

View file

@ -1,7 +1,7 @@
- name: Turn off hostapd when no wifi interface present or in "Appliance Mode"
- name: Turn off hostapd when not using ap0 and wifi gateway present
set_fact:
hostapd_enabled: False
when: iiab_wireless_lan_iface is undefined or iiab_network_mode == "Appliance"
when: not wifi_up_down and discovered_wireless_iface == iiab_wan_iface
- name: Detect current Wifi channel
shell: iw {{ discovered_wireless_iface }} info | grep channel | cut -d' ' -f2