1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
This commit is contained in:
Jerry Vonau 2023-04-19 10:44:39 -05:00
parent 5341cc6ca2
commit 3c3affb16a

View file

@ -13,8 +13,8 @@ if [ "$IFACE" == "{{ discovered_wireless_iface }}" ]; then
systemctl stop wpa_supplicant
systemctl restart hostapd
systemctl start wpa_supplicant
if [ -f /run/netplan/wpa-wlan0.conf ]; then
systemctl restart netplan-wpa-wlan0.service
if [ -f /run/netplan/wpa-$IFACE.conf ]; then
systemctl restart netplan-wpa-$IFACE.service
fi
else
echo "Upstream Channel greater than 13 or is the same - not changing hostapd.conf"