luci/applications/luci-app-simple-adblock/root/etc/uci-defaults/40_luci-simple-adblock
Stan Grishin c9e12f1721 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>
2017-03-11 21:34:12 -08:00

10 lines
217 B
Bash

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