luci-app-pagekitec: new package
[project/luci.git] / applications / luci-app-pagekitec / root / etc / uci-defaults / 40_luci-pagekitec
diff --git a/applications/luci-app-pagekitec/root/etc/uci-defaults/40_luci-pagekitec b/applications/luci-app-pagekitec/root/etc/uci-defaults/40_luci-pagekitec
new file mode 100755 (executable)
index 0000000..95d7e9e
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+       delete ucitrack.@pagekitec[-1]
+       add ucitrack pagekitec
+       set ucitrack.@pagekitec[-1].init=pagekitec
+       commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0