Bangladesh is unlikely to fight against any country for now but if there is a war with India for example. Pakistan doesn't need to provide logistical support to Bangladesh. If India attacks Dhaka, Pakistan responds by attacking Gujarat, Delhi or Rajasthan (although they will likely attack Punjab).
If Turkey fights Israel, Bangladesh will not be able to provide any military support to Turkey but they might be able to engage Israel's ally (India), in case India wants to help Israel.... or they will be available for diplomatic support. All depends on the opponent.