summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/root/etc/uci-defaults/40_luci-banip
blob: adb22da91d6991518c5da84f55f8e065b8ec99cc (plain)
1
2
3
4
5
6
7
8
9
10
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