summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2019-08-01 15:47:39 +0200
committerGitHub <noreply@github.com>2019-08-01 15:47:39 +0200
commitb20f000c85e7e10ffa4538a3240a9975d2b0d904 (patch)
tree845c45c62e4278df3e82f7b86372da0f8794a772 /applications
parent1fe45a934445378115bfd09a48136c23b0df3a63 (diff)
parentcc4fa13fb555f44381cfad9b2c3a5850ddd6b319 (diff)
Merge pull request #2939 from TDT-AG/pr/20190731-luci-app-watchat
luci-app-watchat: fix ucitrack file
Diffstat (limited to 'applications')
-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