mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
softcode
This commit is contained in:
parent
5341cc6ca2
commit
3c3affb16a
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ if [ "$IFACE" == "{{ discovered_wireless_iface }}" ]; then
|
||||||
systemctl stop wpa_supplicant
|
systemctl stop wpa_supplicant
|
||||||
systemctl restart hostapd
|
systemctl restart hostapd
|
||||||
systemctl start wpa_supplicant
|
systemctl start wpa_supplicant
|
||||||
if [ -f /run/netplan/wpa-wlan0.conf ]; then
|
if [ -f /run/netplan/wpa-$IFACE.conf ]; then
|
||||||
systemctl restart netplan-wpa-wlan0.service
|
systemctl restart netplan-wpa-$IFACE.service
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Upstream Channel greater than 13 or is the same - not changing hostapd.conf"
|
echo "Upstream Channel greater than 13 or is the same - not changing hostapd.conf"
|
||||||
|
|
Loading…
Reference in a new issue