summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-watchcat/root/etc/uci-defaults/40_luci-watchcat
blob: 6eb87210e096052ea92ed6dcdb541d8061253b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

uci -q batch <<-EOF >/dev/null
	delete ucitrack.@watchcat[-1]
	add ucitrack watchcat
	set ucitrack.@watchcat[-1].init=watchcat
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache
exit 0