From c9e12f17217343f9cc29ed1b9236dac285b57646 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 26 Jan 2017 14:47:53 -0800 Subject: 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 --- .../root/etc/uci-defaults/40_luci-simple-adblock | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock (limited to 'applications/luci-app-simple-adblock/root/etc/uci-defaults') 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 -- cgit v1.2.3