diff --git a/network/openvpn/openvpn.conf b/network/openvpn/openvpn.conf index d81293f11..f2fcc7814 100644 --- a/network/openvpn/openvpn.conf +++ b/network/openvpn/openvpn.conf @@ -17,3 +17,8 @@ var_append confopt ' ' "--enable-password-save" # iproute2 support pkginstalled iproute2 && var_append confopt ' ' "--enable-iproute2" + +if ! pkginstalled lzo ; then + var_append confopt ' ' "--disable-lzo" + echo_warning "LZO Compression Support disabled! (lzo package not installed)" +fi