summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/root/etc/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-p2pblock/root/etc/uci-defaults')
-rw-r--r--applications/luci-p2pblock/root/etc/uci-defaults/luci-p2pblock7
1 files changed, 7 insertions, 0 deletions
diff --git a/applications/luci-p2pblock/root/etc/uci-defaults/luci-p2pblock b/applications/luci-p2pblock/root/etc/uci-defaults/luci-p2pblock
new file mode 100644
index 0000000000..7b5c8dc1b1
--- /dev/null
+++ b/applications/luci-p2pblock/root/etc/uci-defaults/luci-p2pblock
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+uci batch <<-EOF
+ add ucitrack freifunk_p2pblock
+ set ucitrack.@freifunk_p2pblock[-1].init=freifunk-p2pblock
+ commit ucitrack
+EOF