Merge pull request #1818 from dibdot/lxc_fix
[project/luci.git] / applications / luci-app-privoxy / root / etc / uci-defaults / 40_luci-privoxy
1 #!/bin/sh
2
3 # no longer needed for "Save and Apply" to restart privoxy
4 # luci-app-privoxy calls /etc/init.d/privoxy reload
5 uci -q batch <<-EOF >/dev/null
6         delete ucitrack.@privoxy[-1]
7         commit ucitrack
8 EOF
9
10 rm -f /tmp/luci-indexcache
11
12 exit 0