luci/applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip
Dirk Brenken e50021f77f luci-app-banip: new package
for details & LuCI screenshots see base package desprition/PR:
https://github.com/openwrt/packages/pull/7373

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-10 11:19:50 +01:00

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