summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-bcp38/root
diff options
context:
space:
mode:
authordanrl <mail@danrl.com>2017-02-15 10:55:41 +0100
committerdanrl <mail@danrl.com>2017-02-15 14:38:10 +0100
commit85ed192e3d1e94fcb90e49272d918a748b9e8d54 (patch)
tree457ee1cb3a580223739ddad21badc77c1169f1df /applications/luci-app-bcp38/root
parentdea880ef7229a846b60ffcb98931cb4d58afe8ea (diff)
luci-app-bcp38: added bcp38 application
This application was moved from the packages repository to luci. Signed-off-by: Dan Luedtke <mail@danrl.com>
Diffstat (limited to 'applications/luci-app-bcp38/root')
-rwxr-xr-xapplications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp3811
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp38 b/applications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp38
new file mode 100755
index 000000000..c204236e3
--- /dev/null
+++ b/applications/luci-app-bcp38/root/etc/uci-defaults/60_luci-bcp38
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@bcp38[-1]
+ add ucitrack bcp38
+ add_list ucitrack.@bcp38[0].affects=firewall
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0