From 9182c5509c3fece82bfa64216ef538eb46de931f Mon Sep 17 00:00:00 2001 From: glaszig Date: Tue, 20 Aug 2019 22:15:38 +0200 Subject: [PATCH] allow raspap to read hostapd log without elevated privileges --- installers/enablelog.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installers/enablelog.sh b/installers/enablelog.sh index 79f75546..9985d626 100755 --- a/installers/enablelog.sh +++ b/installers/enablelog.sh @@ -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