diff options
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" + } + } +} |