SmartAudio/package/luci/luci-app-minidlna/root/etc/uci-defaults/40_luci-minidlna

16 lines
250 B
Bash

#!/bin/sh
/etc/init.d/minidlna enabled && {
/etc/init.d/minidlna stop
/etc/init.d/minidlna disable
}
uci -q batch <<-EOF >/dev/null
delete ucitrack.minidlna
set ucitrack.minidlna=minidlna
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0