raspap-webgui/installers/enablelog.sh

4 lines
124 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