Add new meshwizard (WIP)
[project/luci.git] / applications / luci-meshwizard / ipkg / postinst
diff --git a/applications/luci-meshwizard/ipkg/postinst b/applications/luci-meshwizard/ipkg/postinst
new file mode 100644 (file)
index 0000000..ac4e1d1
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+       uci set ucitrack.meshwizard="meshwizard"
+       uci set ucitrack.meshwizard.exec="/etc/init.d/wizard restart"
+       uci commit
+       exit 0
+}
+