Merge pull request #1004 from kdarbyshirebryant/miniupnpluci
luci-app-miniupnpd: restore missing luci install file
This commit is contained in:
commit
afc7321c6a
1 changed files with 11 additions and 0 deletions
11
applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp
Executable file
11
applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
uci -q batch <<-EOF >/dev/null
|
||||||
|
delete ucitrack.@upnpd[-1]
|
||||||
|
add ucitrack upnpd
|
||||||
|
set ucitrack.@upnpd[-1]=miniupnpd
|
||||||
|
commit ucitrack
|
||||||
|
EOF
|
||||||
|
|
||||||
|
rm -f /tmp/luci-indexcache
|
||||||
|
exit 0
|
Loading…
Reference in a new issue