Update 00-openvpn.sh

This commit is contained in:
Alexandre
2023-12-13 16:43:53 +01:00
committed by GitHub
parent 6596f15662
commit 17b31e1243

View File

@@ -19,6 +19,9 @@ if [[ "$(bashio::config "VPN_ENABLED")" == "yes" ]] && [[ "$(bashio::config "VPN
for file in /config/openvpn/*.ovpn; do
if [ -f "$file" ]; then
# Convert to unix
dos2unix "$file"
# Remove route-nopull
if grep -q route-nopull "$file"; then
echo "... removing route-nopull from $file"