mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Update 00-openvpn.sh
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user