implements pushing comp-lzo setting

This commit is contained in:
Denis Zamataev 2018-04-27 14:34:29 +03:00
parent 23120e4757
commit f75f2e17a3

View File

@ -369,6 +369,12 @@ fi
process_push_config "dhcp-option DNS $i" process_push_config "dhcp-option DNS $i"
done 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 [ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do
process_push_config "$i" process_push_config "$i"
done done