summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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