summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-02-11 19:41:31 +0000
committerHannu Nyman <hannu.nyman@iki.fi>2017-07-05 23:16:07 +0300
commit6fbf4c7dae6180ffc3a64046f1f4aa68db650d8b (patch)
tree8d019ad653302b757b132f40cbf77c0cfba676c8 /applications
parent8955523f04854f231b6396f645cae30ca4663d99 (diff)
luci-app-miniupnpd: restore missing luci install file
Restore luci indexcache handling incorrect removed in https://github.com/openwrt/luci/commit/387a06bb73462312c075e53ce9e6002d4af09e92 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> (cherry picked from commit 5ef9a3a0097530001db4d3ee317dcd80bdd7f7ca)
Diffstat (limited to 'applications')
-rwxr-xr-xapplications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp b/applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp
new file mode 100755
index 000000000..a338c75d3
--- /dev/null
+++ b/applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp
@@ -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