summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-watchcat
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-07-31 13:51:56 +0200
committerFlorian Eckert <fe@dev.tdt.de>2019-07-31 13:51:56 +0200
commitcc4fa13fb555f44381cfad9b2c3a5850ddd6b319 (patch)
tree7c3daf47c5b9a0fabd11cd8d0f1ff51f3eb6fac2 /applications/luci-app-watchcat
parente6f30bb7f39c67e1b2eaf312aa8d1f06e7b0a0ab (diff)
luci-app-watchat: fix ucitrack file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-watchcat')
-rw-r--r--applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat7
1 files changed, 4 insertions, 3 deletions
diff --git a/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat b/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
index 8cdb8c7b9f..6eb87210e0 100644
--- a/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
+++ b/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
@@ -1,9 +1,10 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
- add ucitrack system
- set ucitrack.@system[-1].init=watchcat
- commit ucitrack
+ delete ucitrack.@watchcat[-1]
+ add ucitrack watchcat
+ set ucitrack.@watchcat[-1].init=watchcat
+ commit ucitrack
EOF
rm -f /tmp/luci-indexcache