From e707599d2cd8af8a1464ce31ee89a5401d5df0e2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 28 Feb 2018 10:48:29 +0000 Subject: [PATCH] core120: Call openvpnctrl with full path Signed-off-by: Michael Tremer --- config/rootfiles/core/120/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2