From f75f2e17a3d11135ede6c02f2a2160bd623a6d67 Mon Sep 17 00:00:00 2001 From: Denis Zamataev Date: Fri, 27 Apr 2018 14:34:29 +0300 Subject: [PATCH] implements pushing comp-lzo setting --- bin/ovpn_genconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/ovpn_genconfig b/bin/ovpn_genconfig index 5142b3d..564fd30 100755 --- a/bin/ovpn_genconfig +++ b/bin/ovpn_genconfig @@ -369,6 +369,12 @@ fi process_push_config "dhcp-option DNS $i" done +if [ "$OVPN_COMP_LZO" == "0"]; then + process_push_config "comp-lzo no" + else + process_push_config "comp-lzo" +fi + [ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do process_push_config "$i" done