You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
300 B
Plaintext

1 year ago
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@qbittorrent[-1]
add ucitrack qbittorrent
set ucitrack.@qbittorrent[-1].init=qbittorrent
commit ucitrack
EOF
touch /etc/config/qbittorrent
chmod +x /etc/init.d/qbittorrent
/etc/init.d/qbittorrent start
rm -f /tmp/luci-indexcache
exit 0