summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-meshwizard/ipkg/postinst
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-06-24 14:29:20 +0000
committerManuel Munz <freifunk@somakoma.de>2011-06-24 14:29:20 +0000
commit8df0c46d125edcc01dbacf2773f58fe8a4cba44a (patch)
tree5eb020e97119e4ec0c41c7ac5ea7b33159b921c4 /applications/luci-meshwizard/ipkg/postinst
parent0394e75a561291037a765942715c5641cc170604 (diff)
contrib/meshwizard: set ucitrack entry properly
Diffstat (limited to 'applications/luci-meshwizard/ipkg/postinst')
-rw-r--r--applications/luci-meshwizard/ipkg/postinst6
1 files changed, 1 insertions, 5 deletions
diff --git a/applications/luci-meshwizard/ipkg/postinst b/applications/luci-meshwizard/ipkg/postinst
index ac4e1d1222..0599082efe 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
}
-