mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #1701 from tim-moody/hotspot-fix
hostapd fails to start if wifi connected to wan
This commit is contained in:
commit
8bb1fa003d
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
||||
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
|
||||
# shut down wlan0 in case connected to network
|
||||
ip link set wlan0 down
|
||||
systemctl enable hostapd
|
||||
#systemctl enable dnsmasq
|
||||
systemctl daemon-reload
|
||||
|
|
Loading…
Add table
Reference in a new issue