Update 00-openvpn.sh

This commit is contained in:
Alexandre
2023-12-13 11:15:43 +01:00
committed by GitHub
parent e43ed8e867
commit 61bc3f1268

View File

@@ -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