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