From 61bc3f1268a1aec4525dfa268fb0cc4f68e08136 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 13 Dec 2023 11:15:43 +0100 Subject: [PATCH] Update 00-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh index f65efed01..48b81f966 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh @@ -32,6 +32,9 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN sed -i "6a pull-filter ignore \"route-ipv6\"" "$file" sed -i "6a pull-filter ignore \"ifconfig-ipv6\"" "$file" + # Correct paths + sed -i "s=/etc/openvpn=/config/openvpn=g" "$file" + # Check proto if grep -q "proto" "$file"; then if [ -f /data/tdp ]; then