mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update 00-openvpn.sh
This commit is contained in:
@@ -26,10 +26,7 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid ipv6
|
# Avoid ipv6
|
||||||
sed -i "/route-ipv6/d" "$file"
|
sed -i "/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"
|
|
||||||
|
|
||||||
# Correct paths
|
# Correct paths
|
||||||
sed -i "s=/etc/openvpn=/config/openvpn=g" "$file"
|
sed -i "s=/etc/openvpn=/config/openvpn=g" "$file"
|
||||||
|
|||||||
Reference in New Issue
Block a user