From 645e8dfea0e0f5920516b8dbe6e4cefc929229b6 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 6 Dec 2011 15:39:18 -0800 Subject: [PATCH] Straighten out LITEDIR Signed-off-by: Tom Eastep --- Shorewall/lib.cli | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/lib.cli b/Shorewall/lib.cli index 37f460bbb..6cf0303b0 100644 --- a/Shorewall/lib.cli +++ b/Shorewall/lib.cli @@ -795,12 +795,12 @@ show_command() { echo "CONFIG_PATH=$CONFIG_PATH" echo "VARDIR=$VARDIR" echo "LIBEXEC=$g_libexec" - [ -n "$LITEDIR" ] && echo "LITEDIR=$LITEDIR" + [ -n "$g_lite" ] && ${VARDIR} ne /var/lib/$program && echo "LITEDIR=${VARDIR}" else echo "Default CONFIG_PATH is $CONFIG_PATH" - echo "Default VARDIR is $VARDIR" + echo "Default VARDIR is /var/lib/$g_program" echo "LIBEXEC is $g_libexec" - [ -n "$LITEDIR" ] && echo "LITEDIR is $LITEDIR" + [ -n "$g_lite" ] && [ ${VARDIR} != /var/lib/$g_program ] && echo "LITEDIR is ${VARDIR}" fi ;; chain)