Merge pull request #278 from nmav/ocserv
[project/luci.git] / applications / luci-meshwizard / ipkg / postinst
index ac4e1d1..0599082 100644 (file)
@@ -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
 }
-