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 db4d2b5 commit 0c0c1cb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions qbittorrent/rootfs/etc/cont-init.d/00-openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN
fi

# Avoid ipv6
sed -i "/route-ipv6/d" "$file"
sed -i "/ifconfig-ipv6/d" "$file"
sed -i "6a pull-filter ignore \"route-ipv6\"" "$file"
sed -i "6a pull-filter ignore \"ifconfig-ipv6\"" "$file"
sed -i "/ipv6/d" "$file"

# Correct paths
sed -i "s=/etc/openvpn=/config/openvpn=g" "$file"
Expand Down

0 comments on commit 0c0c1cb

Please sign in to comment.