1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

allow raspap to read hostapd log without elevated privileges

This commit is contained in:
glaszig 2019-08-20 22:15:38 +02:00
parent 9dcea9c97a
commit 9182c5509c

View File

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