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:
parent
30ee7a2449
commit
61228a188e
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue