raspap-webgui-mirror/installers/enablelog.sh

4 lines
124 B
Bash
Raw Normal View History

#!/bin/bash
/bin/sed -i 's|#DAEMON_OPTS=""|DAEMON_OPTS=" -f /tmp/hostapd.log"|' /etc/default/hostapd
touch /tmp/hostapd.log