mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
don't use test-wifi for hostapd start
This commit is contained in:
parent
25bd5a9b3c
commit
323e5c7372
2 changed files with 1 additions and 11 deletions
|
@ -155,7 +155,7 @@
|
|||
enabled: yes
|
||||
daemon_reload: yes
|
||||
with_items:
|
||||
# - hostapd.service
|
||||
- hostapd.service
|
||||
- clone-wifi.service
|
||||
- wifi-test.service
|
||||
when: hostapd_enabled and wifi_up_down
|
||||
|
|
|
@ -69,15 +69,5 @@ if [ $CHAN -ne $HOSTAPD ]; then
|
|||
if [ $NETPLAN -eq 1 ]; then
|
||||
systemctl restart netplan-wpa-$IFACE.service
|
||||
fi
|
||||
else
|
||||
#we started it stop it now, dhcpcd should launch it's version anyway
|
||||
# if [ $RASPBIAN -eq 1 ]; then
|
||||
# systemctl stop wpa_supplicant
|
||||
# fi
|
||||
# firmware might force the need to restart anyway
|
||||
# systemctl stop wpa_supplicant
|
||||
systemctl start hostapd
|
||||
# systemctl start wpa_supplicant
|
||||
fi
|
||||
systemctl start dnsmasq.service
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue