summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pagekitec/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-pagekitec/root/etc')
-rwxr-xr-xapplications/luci-app-pagekitec/root/etc/uci-defaults/40_luci-pagekitec11
1 files changed, 11 insertions, 0 deletions
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
index 000000000..95d7e9ec8
--- /dev/null
+++ b/applications/luci-app-pagekitec/root/etc/uci-defaults/40_luci-pagekitec
@@ -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