From cae1597033d394f6e446aa87d76162a07fe43c0e Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 8 Jul 2007 19:42:04 +0000 Subject: [PATCH] Add LITEDIR fix to /sbin/shorewall git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6813 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-common/shorewall | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Shorewall-common/shorewall b/Shorewall-common/shorewall index 6665f0c05..3cb4f1e4e 100755 --- a/Shorewall-common/shorewall +++ b/Shorewall-common/shorewall @@ -1479,10 +1479,13 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin MUTEX_TIMEOUT= SHAREDIR=/usr/share/shorewall -VARDIR=/var/lib/shorewall CONFDIR=/etc/shorewall export PRODUCT="Shorewall" +[ -f ${CONFDIR}/vardir ] && . ${CONFDIR}/vardir + +[ -n "${VARDIR:=/var/lib/shorewall}" ] + FIREWALL=$SHAREDIR/firewall LIBRARIES="$SHAREDIR/lib.base $SHAREDIR/lib.cli" VERSION_FILE=$SHAREDIR/version