Workaround for logs permissions not sticking

This commit is contained in:
Taikuh
2020-03-10 05:08:26 +08:00
parent c44d58d51b
commit 4a85188a22
4 changed files with 4 additions and 11 deletions

View File

@@ -1,4 +1,3 @@
#!/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