From 2650d4a286435e9168a11b7081778f9af4029007 Mon Sep 17 00:00:00 2001 From: Christian Tawfik Date: Fri, 27 Nov 2015 15:03:35 +0100 Subject: [PATCH] COMP-lzo param is set in client config, if defined in server. --- bin/ovpn_getclient | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index bc32942..1c029c9 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -84,6 +84,10 @@ $OVPN_ADDITIONAL_CLIENT_CONFIG if [ -n "$OVPN_AUTH" ]; then echo "auth $OVPN_AUTH" fi + + if [ -n "$OVPN_COMP_LZO" ]; then + echo "comp-lzo" + fi } dir="$OPENVPN/clients/$cn"