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:
parent
3912e6a1ef
commit
09c7c3e252
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue