Merge pull request #2939 from TDT-AG/pr/20190731-luci-app-watchat

luci-app-watchat: fix ucitrack file
This commit is contained in:
Florian Eckert 2019-08-01 15:47:39 +02:00 committed by GitHub
commit b20f000c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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