From 22daae915831ac5e2ef655f9959ec073e0fc4ee4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 24 Sep 2010 16:23:57 +0200 Subject: [PATCH] strongswan: cleaned up settings when 'prefix_auto=1' (no need to check non-exisiting variables) --- security/strongswan/strongswan.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/security/strongswan/strongswan.conf b/security/strongswan/strongswan.conf index 8989a5f03..1058ae476 100644 --- a/security/strongswan/strongswan.conf +++ b/security/strongswan/strongswan.conf @@ -14,12 +14,8 @@ # --- SDE-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ] ; then - if [ "$ROCKCFG_PKG_STRONGSWAN_PREFIX" ] ; then - prefix="$ROCKCFG_PKG_STRONGSWAN_PREFIX" - else - prefix="opt/strongswan" - fi - set_confopt + prefix="opt/strongswan" + set_confopt fi # checking if we can enable CRL fetching using HTTP