Skip to content

Commit f75f2e1

Browse files
committed
implements pushing comp-lzo setting
1 parent 23120e4 commit f75f2e1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/ovpn_genconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,12 @@ fi
369369
process_push_config "dhcp-option DNS $i"
370370
done
371371

372+
if [ "$OVPN_COMP_LZO" == "0"]; then
373+
process_push_config "comp-lzo no"
374+
else
375+
process_push_config "comp-lzo"
376+
fi
377+
372378
[ ${#OVPN_PUSH[@]} -gt 0 ] && for i in "${OVPN_PUSH[@]}"; do
373379
process_push_config "$i"
374380
done

0 commit comments

Comments
 (0)