summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-transmission/root/etc
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2012-04-15 20:26:10 +0000
committerManuel Munz <freifunk@somakoma.de>2012-04-15 20:26:10 +0000
commit84dadb80ab8b2af0f761c44d1cdc012ebc6d8a5b (patch)
tree602f20649f2a9c07286efe85ef90f84020982572 /applications/luci-transmission/root/etc
parent4525a7b59d1f4004896b4a09d1c71b77da2e75a6 (diff)
applications/transmission: Add support for transmission. Patch by Gabor Varga. #392
Diffstat (limited to 'applications/luci-transmission/root/etc')
-rw-r--r--applications/luci-transmission/root/etc/uci-defaults/luci-transmission11
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-transmission/root/etc/uci-defaults/luci-transmission b/applications/luci-transmission/root/etc/uci-defaults/luci-transmission
new file mode 100644
index 0000000000..456e8b89ac
--- /dev/null
+++ b/applications/luci-transmission/root/etc/uci-defaults/luci-transmission
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+uci -q batch <<-EOF >/dev/null
+ delete ucitrack.@tranmsmission[-1]
+ add ucitrack transmission
+ set ucitrack.@transmission[-1].init=transmission
+ commit ucitrack
+EOF
+
+rm -f /tmp/luci-indexcache
+exit 0