summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pagekitec/root/etc
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-03-16 22:44:37 +0000
committerKarl Palsson <karlp@tweak.net.au>2018-03-16 22:59:46 +0000
commitcc00b01c270ff48897a279cfc507e3dc758a2d30 (patch)
tree159030819eeb388f571864fcde8d21773062a4b7 /applications/luci-app-pagekitec/root/etc
parentb2fbfedc7e421968c65b0002182fdd0064a3edfa (diff)
luci-app-pagekitec: new package
Adds a simple interface to the basic functionality of pagekite services. Signed-off-by: Karl Palsson <karlp@tweak.net.au>
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 0000000000..95d7e9ec8f
--- /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