luci/applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp
Yousong Zhou ed11130b84 luci-app-upnp: fix setting ucitrack init option
Fixes FS#693

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-04-15 11:51:55 +08:00

11 lines
186 B
Bash
Executable file

#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@upnpd[-1]
add ucitrack upnpd
set ucitrack.@upnpd[-1].init=miniupnpd
commit ucitrack
EOF
rm -f /tmp/luci-indexcache
exit 0