From e719d3ab01b18a4e2f98af999771316752abf08f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 27 Apr 2021 17:47:54 +0200 Subject: [PATCH] Update 93-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh index 86d75fc5c..5b2fc1040 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/93-openvpn.sh @@ -46,7 +46,6 @@ if bashio::config.true 'openvpn_enabled'; then # Bind tun0 sed -i "$LINE i\Connection\\\Interface=tun0" qBittorrent.conf sed -i "$LINE i\Connection\\\InterfaceName=tun0" qBittorrent.conf - sed -i "$LINE i\Connection\\\PortRangeMin=$1" qBittorrent.conf else bashio::log.error "qBittorrent config file doesn't exist, openvpn must be added manually to qbittorrent options " exit 1 @@ -57,7 +56,6 @@ else ################## # Ensure no redirection by removing the direction tag cd /config/qBittorrent/ - sed -i '/PortRangeMin/d' qBittorrent.conf sed -i '/Interface/d' qBittorrent.conf sed -i "$LINE i\Connection\\\Interface=" qBittorrent.conf sed -i "$LINE i\Connection\\\InterfaceName=" qBittorrent.conf