From d5912c5b8072820f9fac17d6a3f0022ef1d92319 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 3 Mar 2007 16:05:30 +0000 Subject: [PATCH] * improved openvpn to disable lzo compression support and echo a warning if the lzo package is not installed git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20228 10447126-35f2-4685-b0cf-6dd780d3921f --- network/openvpn/openvpn.conf | 5 +++++ 1 file changed, 5 insertions(+) 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