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

Clarifying templates/hostapd/iiab-hotspot-off ?

This commit is contained in:
A Holt 2023-04-22 10:06:54 -04:00 committed by GitHub
parent d1a7ab2b74
commit cdc77b121c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ systemctl stop iiab-clone-wifi.service
echo " IIAB hotspot access point Disabled"
#exit 0
{% else %}
echo " IIAB hotspot access point Disabled"
{% if is_raspbian %}
# hotspot-off before ap0_updown
sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf
@ -29,7 +30,7 @@ systemctl restart dhcpcd
# ip link set dev wlan0 promisc on
#fi
{% else %}
#ubuntu
#ubuntu (or Mint, or pure Debian?)
if [ -f /etc/NetworkManager/conf.d/wifi-manage.conf ]; then
sed -i -e "s|managed=0|managed=1|" /etc/NetworkManager/conf.d/wifi-manage.conf
fi