From: Manuel Munz Date: Fri, 24 Jun 2011 14:29:20 +0000 (+0000) Subject: contrib/meshwizard: set ucitrack entry properly X-Git-Tag: 0.11.0~2002 X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=8df0c46d125edcc01dbacf2773f58fe8a4cba44a;p=project%2Fluci.git contrib/meshwizard: set ucitrack entry properly --- diff --git a/applications/luci-meshwizard/ipkg/postinst b/applications/luci-meshwizard/ipkg/postinst index ac4e1d122..0599082ef 100644 --- a/applications/luci-meshwizard/ipkg/postinst +++ b/applications/luci-meshwizard/ipkg/postinst @@ -1,8 +1,4 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - uci set ucitrack.meshwizard="meshwizard" - uci set ucitrack.meshwizard.exec="/etc/init.d/wizard restart" - uci commit - exit 0 + ( . /etc/uci-defaults/meshwizard ) && rm -f /etc/uci-defaults/meshwizard } - diff --git a/applications/luci-meshwizard/root/etc/uci-defaults/meshwizard b/applications/luci-meshwizard/root/etc/uci-defaults/meshwizard new file mode 100644 index 000000000..2154e9771 --- /dev/null +++ b/applications/luci-meshwizard/root/etc/uci-defaults/meshwizard @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <