mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
dispatcher has a call to alter hostapd.conf
This commit is contained in:
parent
f79f4c0f46
commit
ff905ef5d8
2 changed files with 8 additions and 6 deletions
|
@ -36,6 +36,14 @@
|
|||
- { src: 'hostapd/hostapd.conf.j2', dest: '/etc/hostapd/hostapd.conf.iiab' }
|
||||
when: can_be_ap
|
||||
|
||||
- name: Enable & Restart networkd-dispatcher.service
|
||||
systemd:
|
||||
name: networkd-dispatcher
|
||||
state: restarted
|
||||
enabled: yes
|
||||
masked: no
|
||||
when: systemd_networkd_active
|
||||
|
||||
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway with wifi_up_down False
|
||||
systemd:
|
||||
name: hostapd
|
||||
|
|
|
@ -118,9 +118,3 @@
|
|||
enabled: yes
|
||||
masked: no
|
||||
|
||||
- name: Enable & Restart networkd-dispatcher.service
|
||||
systemd:
|
||||
name: networkd-dispatcher
|
||||
state: restarted
|
||||
enabled: yes
|
||||
masked: no
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue