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:
commit
8c257a2926
2 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
|||
sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf
|
||||
systemctl disable hostapd
|
||||
systemctl stop hostapd
|
||||
systemctl disable dnsmasq
|
||||
systemctl stop dnsmasq
|
||||
#systemctl disable dnsmasq
|
||||
#systemctl stop dnsmasq
|
||||
systemctl daemon-reload
|
||||
systemctl restart dhcpcd
|
||||
systemctl restart networking
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
cp -f /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
||||
sed -i -e "s/^#denyinterfaces/denyinterfaces/" /etc/dhcpcd.conf
|
||||
systemctl enable hostapd
|
||||
systemctl enable dnsmasq
|
||||
#systemctl enable dnsmasq
|
||||
systemctl daemon-reload
|
||||
systemctl restart dhcpcd
|
||||
systemctl restart networking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue