From 6811edb3d9fe289190fbc7337d372027a655daf8 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 14 Jan 2011 17:48:44 +0000 Subject: applications: revise uci-defaults scripts --- applications/luci-upnp/root/etc/uci-defaults/luci-upnp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'applications/luci-upnp') diff --git a/applications/luci-upnp/root/etc/uci-defaults/luci-upnp b/applications/luci-upnp/root/etc/uci-defaults/luci-upnp index 3165b07b9..fe22a3e3c 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 -- cgit v1.2.3