mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
core120: Call openvpnctrl with full path
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user