diff options
author | Richard Yu <yurichard3839@gmail.com> | 2020-01-18 22:21:02 +0800 |
---|---|---|
committer | Richard Yu <yurichard3839@gmail.com> | 2020-01-19 03:01:05 +0800 |
commit | a9cff9e6314f2e2b5c3e77b6c2375bfd174e9a64 (patch) | |
tree | 54cfb5b674670f6adf48b5d2288143b22a369f03 /applications/luci-app-transmission/root | |
parent | de6415af24f5759c79e621a39bd1543ca84d0030 (diff) |
luci-app-transmission: port to client side
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Diffstat (limited to 'applications/luci-app-transmission/root')
-rw-r--r-- | applications/luci-app-transmission/root/etc/uci-defaults/40_luci-transmission | 11 | ||||
-rw-r--r-- | applications/luci-app-transmission/root/usr/share/luci/menu.d/luci-app-transmission.json | 9 |
2 files changed, 9 insertions, 11 deletions
diff --git a/applications/luci-app-transmission/root/etc/uci-defaults/40_luci-transmission b/applications/luci-app-transmission/root/etc/uci-defaults/40_luci-transmission deleted file mode 100644 index 08dc71997..000000000 --- a/applications/luci-app-transmission/root/etc/uci-defaults/40_luci-transmission +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -uci -q batch <<-EOF >/dev/null - delete ucitrack.@transmission[-1] - add ucitrack transmission - set ucitrack.@transmission[-1].init=transmission - commit ucitrack -EOF - -rm -f /tmp/luci-indexcache -exit 0 diff --git a/applications/luci-app-transmission/root/usr/share/luci/menu.d/luci-app-transmission.json b/applications/luci-app-transmission/root/usr/share/luci/menu.d/luci-app-transmission.json new file mode 100644 index 000000000..0eff2ad33 --- /dev/null +++ b/applications/luci-app-transmission/root/usr/share/luci/menu.d/luci-app-transmission.json @@ -0,0 +1,9 @@ +{ + "admin/services/transmission": { + "title": "Transmission", + "action": { + "type": "view", + "path": "transmission" + } + } +} |