summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-p2pblock/root
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-07 20:06:23 +0000
commit74fd320885823ababc05c3962dadb96f615c02ed (patch)
treec09b37aacaab65d1bb7163318cc162f279f4c3ba /applications/luci-p2pblock/root
parent22a9d2ba01f0794f894f7eb0849dfab8915aec1f (diff)
applications: add luci-p2pblock, frontend for freifunk-p2pblock
Diffstat (limited to 'applications/luci-p2pblock/root')
-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 000000000..7b5c8dc1b
--- /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