From cc4fa13fb555f44381cfad9b2c3a5850ddd6b319 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 31 Jul 2019 13:51:56 +0200 Subject: [PATCH] luci-app-watchat: fix ucitrack file Signed-off-by: Florian Eckert --- .../root/etc/uci-defaults/40_luci-watchcat | 7 ++++--- 1 file 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 -- 2.30.2