luci-app-qbittorrent: adapt to openwrt snapshot
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
parent
720b54e38c
commit
80dd45d424
@ -1,11 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
[ -f "/etc/config/ucitrack" ] && {
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete ucitrack.@qbittorrent[-1]
|
||||
add ucitrack qbittorrent
|
||||
set ucitrack.@qbittorrent[-1].init=qbittorrent
|
||||
commit ucitrack
|
||||
EOF
|
||||
}
|
||||
|
||||
rm -f /tmp/luci-indexcache*
|
||||
exit 0
|
||||
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"config": "qbittorrent",
|
||||
"init": "qbittorrent"
|
||||
}
|
Loading…
Reference in New Issue
Block a user