summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-02-13 10:30:13 +0200
committerGitHub <noreply@github.com>2017-02-13 10:30:13 +0200
commitafc7321c6a09c008f271794e0508fe5893ead991 (patch)
treecb1e30575fe699493afc020a277b8a1efb2276a9
parente28660c26a96ef3d48f995228600c796f133eb58 (diff)
parent5ef9a3a0097530001db4d3ee317dcd80bdd7f7ca (diff)
Merge pull request #1004 from kdarbyshirebryant/miniupnpluci
luci-app-miniupnpd: restore missing luci install file
-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