1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update iiab-hotspot-off

This commit is contained in:
A Holt 2018-01-10 23:47:39 -05:00 committed by GitHub
parent 91b0e4cf17
commit 2cd342f180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,5 +14,6 @@ systemctl restart networking
# https://github.com/iiab/iiab/issues/638#issuecomment-355455454
if grep -qi raspbian /etc/*release; then
ip link set dev wlan0 promisc on
sed -i -e "s/hostapd_enabled.*/hostapd_enabled = False/" /etc/iiab/iiab.ini
fi
sed -i -e "s/hostapd_enabled.*/hostapd_enabled = False/" /etc/iiab/iiab.ini