diff options
author | Dirk Brenken <dev@brenken.org> | 2018-11-11 14:59:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-11 14:59:39 +0100 |
commit | ad4c7b01532471ee09a04fc1ae288e6e15849a8b (patch) | |
tree | 1316dd64bdd25b71da9e12646a850ac42998c512 /applications/luci-app-banip/root | |
parent | be47cb741f488a14fb4b11a89c3a8b2e7b44d6cb (diff) | |
parent | e50021f77fbc593cee841a02ad66c4bfea072f9e (diff) |
Merge pull request #2264 from dibdot/banip
luci-app-banip: new package
Diffstat (limited to 'applications/luci-app-banip/root')
-rwxr-xr-x | applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip b/applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip new file mode 100755 index 0000000000..adb22da91d --- /dev/null +++ b/applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@banip[-1] + add ucitrack banip + set ucitrack.@banip[-1].init=banip + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |