mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
forget about pre-reboot AP usage
This commit is contained in:
parent
a95d476287
commit
845a961139
1 changed files with 3 additions and 3 deletions
|
@ -61,14 +61,14 @@
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway$
|
- name: Restart hostapd when WiFi is present but not when using WiFi as gateway
|
||||||
systemd:
|
systemd:
|
||||||
name: hostapd
|
name: hostapd
|
||||||
state: restarted
|
state: restarted
|
||||||
when: hostapd_enabled and (wifi_up_down or not no_net_restart)
|
when: hostapd_enabled and (wifi_up_down or not no_net_restart)
|
||||||
|
|
||||||
- name: Stop wpa_supplicant on Raspbian
|
#- name: Stop wpa_supplicant on Raspbian
|
||||||
shell: killall wpa_supplicant
|
# shell: killall wpa_supplicant
|
||||||
|
|
||||||
# now pick up denyinterfaces and respawn wpa_supplicant
|
# now pick up denyinterfaces and respawn wpa_supplicant
|
||||||
- name: Restart dhcpcd on Raspbian
|
- name: Restart dhcpcd on Raspbian
|
||||||
|
|
Loading…
Reference in a new issue