summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-radicale/root/etc/uci-defaults/luci-radicale
blob: 333ca65f45abe0a6e7e755cc14f1bfc9ef4e5a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# no longer needed for "Save and Apply" to restart radicale
# luci-app-radicale calls /etc/init.d/radicale reload
uci -q batch <<-EOF >/dev/null
	delete ucitrack.@radicale[-1]
	commit ucitrack
EOF

rm -f /tmp/luci-indexcache

exit 0