mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
for the most part restart dnsmasq
This commit is contained in:
parent
5bd975db5e
commit
b1f6c8176e
1 changed files with 4 additions and 1 deletions
|
@ -81,10 +81,13 @@
|
|||
state: restarted
|
||||
when: hostapd_enabled and wifi_slave.stdout is defined and wifi_slave.stdout == 0
|
||||
|
||||
#both interfaces.d and systemd-networkd should have br0 available and Appliance lacks br0
|
||||
- name: User choice of dnsmasq or dhcpd - restarting {{ dhcp_service2 }}
|
||||
systemd:
|
||||
name: "{{ dhcp_service2 }}"
|
||||
state: restarted
|
||||
when: not no_net_restart and discovered_wireless_iface == "none"
|
||||
when: (not no_net_restart and not wifi_up_down) or wifi_up_down
|
||||
#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
|
||||
#keep an eye on legacy wifi installs where br0 is present but not 'online' with an ip address
|
||||
#due to hostapd didn't go to a carrier state. All others should get dnsmasq restarted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue