From 29f7cf16e56c269f45184677dfaa472499622fdb Mon Sep 17 00:00:00 2001 From: Christian Schoenebeck Date: Sat, 24 Jan 2015 10:38:54 +0100 Subject: 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 --- .../luci-app-privoxy/root/etc/uci-defaults/luci-privoxy | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 applications/luci-app-privoxy/root/etc/uci-defaults/luci-privoxy (limited to 'applications/luci-app-privoxy/root') 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 -- cgit v1.2.3