mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 09:00:25 +00:00
allow raspap to read hostapd log without elevated privileges
This commit is contained in:
parent
9dcea9c97a
commit
9182c5509c
1 changed files with 2 additions and 0 deletions
|
@ -1,2 +1,4 @@
|
|||
#!/bin/bash
|
||||
/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 a new issue