From 235399c0dda1572d807fe5b3b006868e09c9f1cb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 11 Dec 2023 16:39:28 +0100 Subject: [PATCH] Update 01-openvpn.sh --- qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh b/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh index b41df6f39..f07058281 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/01-openvpn.sh @@ -10,7 +10,7 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN # If there is a config file, add nopull if [ -n "$(ls -A /config/openvpn 2>/dev/null)" ]; then - for file in /config/openvpn/*; do + for file in /config/openvpn/*.ovpn; do if [ -f "$file" ]; then if ! grep -q route-nopull "$file"; then echo "... adding route-nopull to $file"