1
0
Fork 0
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:
A Holt 2017-12-27 13:35:59 -05:00 committed by GitHub
commit d3607dfc7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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