From: Michael Tremer Date: Wed, 28 Feb 2018 10:48:29 +0000 (+0000) Subject: core120: Call openvpnctrl with full path X-Git-Tag: v2.19-core120~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e707599d2cd8af8a1464ce31ee89a5401d5df0e2;p=people%2Fstevee%2Fipfire-2.x.git core120: Call openvpnctrl with full path Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/120/update.sh b/config/rootfiles/core/120/update.sh index c420152d2a..d2fb326a67 100644 --- a/config/rootfiles/core/120/update.sh +++ b/config/rootfiles/core/120/update.sh @@ -47,7 +47,7 @@ ldconfig # Changed and new OpenVPN-2.4 directives will wrote to server.conf and renew CRL while update an core update if [ -e /var/ipfire/ovpn/server.conf ]; then - openvpnctrl -k + /usr/local/bin/openvpnctrl -k # Update configuration directives sed -i -e 's/script-security 3 system/script-security 3/' \ @@ -59,7 +59,7 @@ if [ -e /var/ipfire/ovpn/server.conf ]; then -out /var/ipfire/ovpn/crls/cacrl.pem \ -config /var/ipfire/ovpn/openssl/ovpn.cnf - openvpnctrl -s + /usr/local/bin/openvpnctrl -s fi # Start services