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