for details & LuCI screenshots see base package desprition/PR: https://github.com/openwrt/packages/pull/7373 Signed-off-by: Dirk Brenken <dev@brenken.org>
11 lines
182 B
Bash
Executable file
11 lines
182 B
Bash
Executable file
#!/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
|