mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #634 from holta/master
3 minor fixes to regexp's in iiab-hotspot-on & iiab-hotspot-off
This commit is contained in:
commit
d3607dfc7e
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
sed -i -e "s/^denyinterfaces*/#denyinterfaces/" /etc/dhcpcd.conf
|
||||
sed -i -e "s/^denyinterfaces/#denyinterfaces/" /etc/dhcpcd.conf
|
||||
systemctl disable hostapd
|
||||
systemctl stop hostapd
|
||||
systemctl disable dhcpd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
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 dhcpd
|
||||
systemctl daemon-reload
|
||||
|
|
Loading…
Reference in a new issue