diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 17:48:44 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-14 17:48:44 +0000 |
commit | 6811edb3d9fe289190fbc7337d372027a655daf8 (patch) | |
tree | e9019876b2aff8b48a853ded274ece488247a6d5 /applications/luci-upnp/root/etc/uci-defaults | |
parent | ba949a84f61729b1cbfecd2780b9c4d5095c2d51 (diff) |
applications: revise uci-defaults scripts
Diffstat (limited to 'applications/luci-upnp/root/etc/uci-defaults')
-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 |