allow raspap to read hostapd log without elevated privileges
This commit is contained in:
parent
9dcea9c97a
commit
9182c5509c
|
@ -1,2 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/bin/sed -i 's|#DAEMON_OPTS=""|DAEMON_OPTS=" -f /tmp/hostapd.log"|' /etc/default/hostapd
|
/bin/sed -i 's|#DAEMON_OPTS=""|DAEMON_OPTS=" -f /tmp/hostapd.log"|' /etc/default/hostapd
|
||||||
|
touch /tmp/hostapd.log
|
||||||
|
chmod o+r /tmp/hostapd.log
|
||||||
|
|
Loading…
Reference in New Issue