summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-polipo/root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-polipo/root/etc')
-rwxr-xr-x[-rw-r--r--]applications/luci-polipo/root/etc/uci-defaults/luci-polipo6
1 files changed, 5 insertions, 1 deletions
diff --git a/applications/luci-polipo/root/etc/uci-defaults/luci-polipo b/applications/luci-polipo/root/etc/uci-defaults/luci-polipo
index 8a033f8c35..0c570630da 100644..100755
--- a/applications/luci-polipo/root/etc/uci-defaults/luci-polipo
+++ b/applications/luci-polipo/root/etc/uci-defaults/luci-polipo
@@ -1,7 +1,11 @@
#!/bin/sh
-uci batch <<-EOF
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@polipo[-1]
add ucitrack polipo
set ucitrack.@polipo[-1].init=polipo
commit ucitrack
EOF
+
+rm -f /tmp/luci-indexcache
+exit 0