1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Reassociate client iface in AP-STA, thx @mp035

This commit is contained in:
billz 2021-02-02 04:28:19 +00:00
parent 3b0ce8aa3b
commit 23de56b8e7

View File

@ -118,5 +118,13 @@ if [ $OPENVPNENABLED -eq 1 ]; then
systemctl start openvpn-client@client
fi
# @mp035 found that the wifi client interface would stop every 8 seconds
# for about 16 seconds. Reassociating seems to solve this
if [ "${config[WifiAPEnable]}" = 1 ]; then
echo "Reassociating wifi client interface..."
sleep "${seconds}"
wpa_cli -i ${config[WifiManaged]} reassociate
fi
echo "RaspAP service start DONE"