Skip to content

Commit

Permalink
Update 00-openvpn.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 13, 2023
1 parent 6596f15 commit 17b31e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 17b31e1

Please sign in to comment.