#!/bin/sh /etc/rc.common START=95 STOP=10 USE_PROCD=1 start_service() { [ "$(uci -q get qbittorrent.main.enabled)" = "1" ] || return 0 qbittorrentctl start } stop_service() { qbittorrentctl stop } restart() { qbittorrentctl restart } status() { qbittorrentctl status }