raspap-webgui/installers/enablelog.sh

5 lines
151 B
Bash
Executable File

#!/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