From 21397e706356d6b6246317ebc94d0aee78fe6ce8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Apr 2021 15:52:45 +0200 Subject: [PATCH] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 #