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

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

rm -f /tmp/luci-indexcache

exit 0