Update start.sh

This commit is contained in:
MarkusMcNugen
2018-02-03 02:24:26 -05:00
committed by GitHub
parent cf14db0fd3
commit 777f66097b

View File

@@ -20,16 +20,7 @@ else
chmod 644 /root/.config/qBittorrent/qBittorrent.conf chmod 644 /root/.config/qBittorrent/qBittorrent.conf
fi 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 trap trap_handler SIGINT SIGTERM SIGHUP
echo "[info] Starting qBittorrent daemon..." echo "[info] Starting qBittorrent daemon..."
/usr/bin/qbittorrent-nox -d &&; wait /usr/bin/qbittorrent-nox -d &&