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