Update 93-openvpn.sh

This commit is contained in:
Alexandre
2022-05-03 13:40:56 +02:00
committed by GitHub
parent 854b728b28
commit 6113974824

View File

@@ -94,10 +94,11 @@ if bashio::config.true 'openvpn_enabled'; then
fi fi
# Modify ovpn config # Modify ovpn config
if ! grep -q route-nopull /etc/openvpn/config.ovpn; then sed -i 's|exec /usr/sbin/openvpn |exec /usr/sbin/openvpn --route-nopull |g' /etc/services.d/qbittorrent/run
echo "... adding route-nopull to your config.ovpn" #if ! grep -q route-nopull /etc/openvpn/config.ovpn; then
echo "route-nopull" >>/etc/openvpn/config.ovpn # echo "... adding route-nopull to your config.ovpn"
fi # echo "route-nopull" >>/etc/openvpn/config.ovpn
#fi
else else