summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-watchcat/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-16 16:49:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-16 16:49:04 +0000
commitca9314ee2203551fe2b28a976d7c6014b3b0957a (patch)
tree3ff3224577e9a46e14f7ab3060ec10ed27e30bd8 /applications/luci-watchcat/root
parentb6c98f9c579e8f18af57962d0e500b5b20bf6439 (diff)
New application for watchcat
Hi, This patch add a new luci-application for the watchcat package (in feeds/packages/utils). Chris
Diffstat (limited to 'applications/luci-watchcat/root')
-rw-r--r--applications/luci-watchcat/root/etc/uci-defaults/luci-watchcat10
1 files changed, 10 insertions, 0 deletions
diff --git a/applications/luci-watchcat/root/etc/uci-defaults/luci-watchcat b/applications/luci-watchcat/root/etc/uci-defaults/luci-watchcat
new file mode 100644
index 0000000000..8cdb8c7b9f
--- /dev/null
+++ b/applications/luci-watchcat/root/etc/uci-defaults/luci-watchcat
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ add ucitrack system
+ set ucitrack.@system[-1].init=watchcat
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0