summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/root/etc/uci-defaults
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2017-01-26 14:47:53 -0800
committerStan Grishin <stangri@melmac.net>2017-03-11 21:34:12 -0800
commitc9e12f17217343f9cc29ed1b9236dac285b57646 (patch)
treef51681a92cb52c08da1241d3871fb229a56070c8 /applications/luci-app-simple-adblock/root/etc/uci-defaults
parenta7c5c018b6782f4160410981c723c82db9762ff7 (diff)
luci-app-simple-adblock: initial commit of companion package to simple-adblock
luci-app-simple-adblock: bumped version number to match main package 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-adblock10
1 files changed, 10 insertions, 0 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
new file mode 100644
index 0000000000..3b7137e026
--- /dev/null
+++ b/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock
@@ -0,0 +1,10 @@
+#!/bin/sh
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@simple-adblock[-1]
+ add ucitrack simple-adblock
+ set ucitrack.@simple-adblock[-1].init=simple-adblock
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0