From 17b31e124368107879d605c04b7b0c8fcb92efbd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 13 Dec 2023 16:43:53 +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 ae485a169..a39bb58bb 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh @@ -19,6 +19,9 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN for file in /config/openvpn/*.ovpn; do if [ -f "$file" ]; then + # Convert to unix + dos2unix "$file" + # Remove route-nopull if grep -q route-nopull "$file"; then echo "... removing route-nopull from $file"