summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/root/etc/uci-defaults
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-03-29 05:22:21 +0000
committerStan Grishin <stangri@melmac.net>2020-03-29 05:22:21 +0000
commit5bf31bb1ae2b8192080ebc317fec1dfeaf337e76 (patch)
tree2470888d078e6d3eff8eb61756f0dcf668bb9fb0 /applications/luci-app-simple-adblock/root/etc/uci-defaults
parente22d832b296066b16450c658e1af00be2f9e9926 (diff)
luci-app-simple-adblock: better status/error display
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-simple-adblock/root/etc/uci-defaults')
-rw-r--r--applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock6
1 files changed, 1 insertions, 5 deletions
diff --git a/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock b/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock
index 64b349e689..a1ecfcea24 100644
--- a/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock
+++ b/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock
@@ -1,7 +1,3 @@
#!/bin/sh
-uci -q batch <<-EOF >/dev/null
- delete ucitrack.@simple-adblock[-1]
- commit ucitrack
-EOF
-
+rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache;
exit 0