mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
can't start hostapd when ap0 is in use needs reboot
This commit is contained in:
parent
f83e615b40
commit
8751b33271
1 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: hostapd
|
name: hostapd
|
||||||
state: restarted
|
state: restarted
|
||||||
when: iiab_wireless_lan_iface is defined and hostapd_enabled and discovered_wireless_iface != iiab_wan_iface
|
# when: iiab_wireless_lan_iface is defined and hostapd_enabled and discovered_wireless_iface != iiab_wan_iface
|
||||||
|
when: hostapd_enabled and iiab_wireless_lan_iface is defined and discovered_wireless_iface == iiab_wireless_lan_iface
|
||||||
|
|
||||||
- name: Start named service
|
- name: Start named service
|
||||||
systemd:
|
systemd:
|
||||||
|
@ -79,6 +80,6 @@
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ dhcp_service2 }}"
|
name: "{{ dhcp_service2 }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
when: not no_net_restart
|
when: not no_net_restart and discovered_wireless_iface == "none"
|
||||||
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
|
#when: (iiab_network_mode != "Appliance") # Sufficient b/c br0 exists thanks to /etc/network/interfaces.d/iiab
|
||||||
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface
|
#when: iiab_network_mode != "Appliance" and iiab_wan_iface != discovered_wireless_iface
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue