X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-app-privoxy%2Froot%2Fetc%2Fuci-defaults%2Fluci-privoxy;fp=applications%2Fluci-app-privoxy%2Froot%2Fetc%2Fuci-defaults%2Fluci-privoxy;h=3405479b543cb3049d0700e8899991737b9cc3b2;hp=0000000000000000000000000000000000000000;hb=29f7cf16e56c269f45184677dfaa472499622fdb;hpb=40066a6799ba04cbf23c7752de6e83103a33ccad diff --git a/applications/luci-app-privoxy/root/etc/uci-defaults/luci-privoxy b/applications/luci-app-privoxy/root/etc/uci-defaults/luci-privoxy new file mode 100755 index 000000000..3405479b5 --- /dev/null +++ b/applications/luci-app-privoxy/root/etc/uci-defaults/luci-privoxy @@ -0,0 +1,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