luci/applications/luci-app-privoxy/root/etc/uci-defaults/40_luci-privoxy
Jo-Philipp Wich 8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00

12 lines
240 B
Bash
Executable file

#!/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