mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02: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 \"route-ipv6\"" "$file"
|
||||||
sed -i "6a pull-filter ignore \"ifconfig-ipv6\"" "$file"
|
sed -i "6a pull-filter ignore \"ifconfig-ipv6\"" "$file"
|
||||||
|
|
||||||
|
# Correct paths
|
||||||
|
sed -i "s=/etc/openvpn=/config/openvpn=g" "$file"
|
||||||
|
|
||||||
# Check proto
|
# Check proto
|
||||||
if grep -q "proto" "$file"; then
|
if grep -q "proto" "$file"; then
|
||||||
if [ -f /data/tdp ]; then
|
if [ -f /data/tdp ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user