luci-app-watchat: fix ucitrack file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
e6f30bb7f3
commit
cc4fa13fb5
1 changed files with 4 additions and 3 deletions
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
add ucitrack system
|
delete ucitrack.@watchcat[-1]
|
||||||
set ucitrack.@system[-1].init=watchcat
|
add ucitrack watchcat
|
||||||
commit ucitrack
|
set ucitrack.@watchcat[-1].init=watchcat
|
||||||
|
commit ucitrack
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
rm -f /tmp/luci-indexcache
|
rm -f /tmp/luci-indexcache
|
||||||
|
|
Loading…
Reference in a new issue