diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index f0179a064..86d75fc5c 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -25,10 +25,8 @@ if bashio::config.true 'openvpn_enabled'; then chmod 600 /etc/openvpn/credentials sed -i 's/auth-user-pass.*/auth-user-pass \/etc\/openvpn\/credentials/g' /etc/openvpn/config.ovpn - bashio::log.info "openvpn correctly set, qbittorrent will run tunnelled through openvpn" - - sed -i "1a\/etc/openvpn/up-qbittorrent.sh \"\${4}\" &\n" /etc/openvpn/up.sh chmod +x /etc/openvpn/up.sh + bashio::log.info "openvpn correctly set, qbittorrent will run tunnelled through openvpn" ######################### # CONFIGURE QBITTORRENT #