diff options
Diffstat (limited to 'applications/luci-upnp/root')
-rwxr-xr-x | applications/luci-upnp/root/etc/uci-defaults/luci-upnp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/applications/luci-upnp/root/etc/uci-defaults/luci-upnp b/applications/luci-upnp/root/etc/uci-defaults/luci-upnp index 3165b07b99..fe22a3e3c1 100755 --- a/applications/luci-upnp/root/etc/uci-defaults/luci-upnp +++ b/applications/luci-upnp/root/etc/uci-defaults/luci-upnp @@ -1,3 +1,9 @@ #!/bin/sh -/etc/init.d/miniupnpd stop -/etc/init.d/miniupnpd disable + +/etc/init.d/miniupnpd enabled && { + /etc/init.d/miniupnpd stop + /etc/init.d/miniupnpd disable +} + +rm -f /tmp/luci-indexcache +exit 0 |