luci-app-upnp: fix setting ucitrack init option
[project/luci.git] / applications / luci-app-upnp / root / etc / uci-defaults / 40_luci-miniupnp
1 #!/bin/sh
2
3 uci -q batch <<-EOF >/dev/null
4         delete ucitrack.@upnpd[-1]
5         add ucitrack upnpd
6         set ucitrack.@upnpd[-1].init=miniupnpd
7         commit ucitrack
8 EOF
9
10 rm -f /tmp/luci-indexcache
11 exit 0