diff options
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 000000000..adb22da91 --- /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 |