summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-banip/root
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-11-10 11:19:50 +0100
committerDirk Brenken <dev@brenken.org>2018-11-10 11:19:50 +0100
commite50021f77fbc593cee841a02ad66c4bfea072f9e (patch)
treea768ced11497e719dd048965f86e43c30107d25b /applications/luci-app-banip/root
parent40de466475a617f42d1f5cfa03d0342676e84c9b (diff)
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>
Diffstat (limited to 'applications/luci-app-banip/root')
-rwxr-xr-xapplications/luci-app-banip/root/etc/uci-defaults/40_luci-banip11
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