summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-privoxy/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-25 12:36:50 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-01-25 12:36:50 +0100
commitc69bbad727370edbf69348024cfa7ffb7b48a6f1 (patch)
tree8844c069ab2715dcfaa9fd4b579651c7c10410e8 /applications/luci-app-privoxy/root
parent9feb1b8a7828cd025cb3bf8a0e58085cf1da64ca (diff)
parent29f7cf16e56c269f45184677dfaa472499622fdb (diff)
Merge pull request #308 from chris5560/master
luci-app-privoxy: move from openwrt/packages to openwrt/luci
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