summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp')
-rwxr-xr-xapplications/luci-app-upnp/root/etc/uci-defaults/luci-upnp9
1 files changed, 9 insertions, 0 deletions
diff --git a/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp b/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp
new file mode 100755
index 0000000000..fe22a3e3c1
--- /dev/null
+++ b/applications/luci-app-upnp/root/etc/uci-defaults/luci-upnp
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+/etc/init.d/miniupnpd enabled && {
+ /etc/init.d/miniupnpd stop
+ /etc/init.d/miniupnpd disable
+}
+
+rm -f /tmp/luci-indexcache
+exit 0