mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
don't check for wifi slaves if wifi gateway
This commit is contained in:
parent
09c7c3e252
commit
7db1464b76
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
|
||||
- name: Checking if WiFi slave is active
|
||||
shell: brctl show br0 | grep {{ iiab_wireless_lan_iface }} | wc -l
|
||||
when: hostapd_enabled and iiab_wireless_lan_iface is defined and iiab_lan_iface == "br0"
|
||||
when: hostapd_enabled and discovered_wireless_iface != iiab_wan_iface and iiab_lan_iface == "br0"
|
||||
register: wifi_slave
|
||||
|
||||
- name: Restart hostapd if WiFi slave is inactive
|
||||
|
|
Loading…
Reference in a new issue