1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

iiab-hotspot-on|off - no reboot needed post install

This commit is contained in:
Jerry Vonau 2017-11-18 21:30:41 -05:00
parent 30ee7a2449
commit 61228a188e
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,7 @@
#!/bin/bash
sed -i -e "s/^denyinterfaces*/#denyinterfaces/" /etc/dhcpcd.conf
systemctl disable hostapd
systemctl stop hostapd
systemctl daemon-reload
systemctl restart dhcpcd
systemctl restart networking

View file

@ -1,3 +1,7 @@
#!/bin/bash
sed -i -e "s/#denyinterfaces*/denyinterfaces/" /etc/dhcpcd.conf
systemctl enable hostapd
systemctl daemon-reload
systemctl restart dhcpcd
systemctl restart networking
systemctl start hostapd