summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-privoxy/root
diff options
context:
space:
mode:
authorChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-01-24 10:38:54 +0100
committerChristian Schoenebeck <christian.schoenebeck@gmail.com>2015-01-24 10:38:54 +0100
commit29f7cf16e56c269f45184677dfaa472499622fdb (patch)
treec947bf5cf0aa02e031ef77f22a3e1f4b6b32945e /applications/luci-app-privoxy/root
parent40066a6799ba04cbf23c7752de6e83103a33ccad (diff)
luci-app-privoxy: move from openwrt/packages to openwrt/luci
* move from openwrt/packages to openwrt/luci * adaption to new LuCI subdirectory structure * fix error handling * modified version handling * fixed translations Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Diffstat (limited to 'applications/luci-app-privoxy/root')
-rwxr-xr-xapplications/luci-app-privoxy/root/etc/uci-defaults/luci-privoxy12
1 files changed, 12 insertions, 0 deletions
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 0000000000..3405479b54
--- /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