Update 93-openvpn.sh

This commit is contained in:
Alexandre
2022-06-16 20:17:06 +02:00
committed by GitHub
parent ae3ab7c72c
commit 9200e4db38

View File

@@ -97,10 +97,10 @@ if bashio::config.true 'openvpn_enabled'; then
fi
# Modify ovpn config
if ! grep -q route-nopull /etc/openvpn/config.ovpn; then
echo "... adding route-nopull to your config.ovpn"
sed -i "1a route-nopull" /etc/openvpn/config.ovpn
fi
#if ! grep -q route-nopull /etc/openvpn/config.ovpn; then
# echo "... adding route-nopull to your config.ovpn"
# sed -i "1a route-nopull" /etc/openvpn/config.ovpn
#fi
else