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

Merge pull request #1526 from holta/iiab-hotspot-off-keep-dnsmasq-running

iiab-hotspot-on & iiab-hotspot-off should keep dnsmasq running
This commit is contained in:
A Holt 2019-02-26 14:15:23 -05:00 committed by GitHub
commit 8c257a2926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,8 +2,8 @@
sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf
systemctl disable hostapd systemctl disable hostapd
systemctl stop hostapd systemctl stop hostapd
systemctl disable dnsmasq #systemctl disable dnsmasq
systemctl stop dnsmasq #systemctl stop dnsmasq
systemctl daemon-reload systemctl daemon-reload
systemctl restart dhcpcd systemctl restart dhcpcd
systemctl restart networking systemctl restart networking

View file

@ -2,7 +2,7 @@
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
systemctl enable hostapd systemctl enable hostapd
systemctl enable dnsmasq #systemctl enable dnsmasq
systemctl daemon-reload systemctl daemon-reload
systemctl restart dhcpcd systemctl restart dhcpcd
systemctl restart networking systemctl restart networking