diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index ef935d1..73a4507 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -20,16 +20,7 @@ else chmod 644 /root/.config/qBittorrent/qBittorrent.conf fi -while true; do - if [ -c /dev/net/tun ]; - exec /bin/bash /etc/qbittorrent/iptables.sh - break - else - sleep 1 - fi -done - trap trap_handler SIGINT SIGTERM SIGHUP echo "[info] Starting qBittorrent daemon..." -/usr/bin/qbittorrent-nox -d &&; wait +/usr/bin/qbittorrent-nox -d &&