Commit c6a99b93 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

[enh] renew cert when using old config

parent ccc2303a
...@@ -44,6 +44,6 @@ sudo yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json ...@@ -44,6 +44,6 @@ sudo yunohost app fetchlist -n neutrinet -u https://neutrinet.be/apps.json
install_renew_cert install_renew_cert
# vpn is not running, let's assume for now that this mean that the vpn is broken # vpn is not running, let's assume for now that this mean that the vpn is broken
if [ ! "$((ip -4 addr show tun0 | grep 'inet 80.67.181.') || echo '')" ]; then if [ ! "$(grep '^port 1194' /etc/openvpn/client.conf)" ]; then
renew_cert renew_cert
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment