diff options
Diffstat (limited to 'applications/luci-app-upnp/root')
-rwxr-xr-x | applications/luci-app-upnp/root/etc/uci-defaults/40_luci-miniupnp | 11 |
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 0000000000..e9636f9a28 --- /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].init=miniupnpd + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |