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:
parent
d1a7ab2b74
commit
cdc77b121c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue