Expunge the g_sbindir variable

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-10-01 06:55:48 -07:00
parent 749e239d15
commit a8e9296473
9 changed files with 2 additions and 11 deletions

View File

@ -39,7 +39,6 @@ if [ -z "$g_readrc" ]; then
. /usr/share/shorewall/shorewallrc
g_sharedir="$SHAREDIR"/$g_program
g_sbindir="$SBINDIR"
g_perllib="$PERLLIBDIR"
g_confdir="$CONFDIR"/$g_program
g_readrc=1

View File

@ -31,7 +31,6 @@ if [ -z "$g_readrc" ]; then
. /usr/share/shorewall/shorewallrc
g_sharedir="$SHAREDIR"/$g_program
g_sbindir="$SBINDIR"
g_perllib="$PERLLIBDIR"
g_confdir="$CONFDIR"/$g_program
g_readrc=1
@ -886,14 +885,14 @@ show_command() {
echo "CONFIG_PATH=$CONFIG_PATH"
echo "VARDIR=$VARDIR"
echo "LIBEXEC=${LIBEXECDIR}"
echo "SBINDIR=$g_sbindir"
echo "SBINDIR=${SBINDIR}"
echo "CONFDIR=${CONFDIR}"
[ -n "$g_lite" ] && [ ${VARDIR} != /var/lib/$g_program ] && echo "LITEDIR=${VARDIR}"
else
echo "Default CONFIG_PATH is $CONFIG_PATH"
echo "Default VARDIR is /var/lib/$g_program"
echo "LIBEXEC is ${LIBEXECDIR}"
echo "SBINDIR is $g_sbindir"
echo "SBINDIR is ${SBINDIR}"
echo "CONFDIR is ${CONFDIR}"
[ -n "$g_lite" ] && [ ${VARDIR} != /var/lib/$g_program ] && echo "LITEDIR is ${VARDIR}"
fi

View File

@ -54,7 +54,6 @@ g_program=shorewall-lite
. /usr/share/shorewall/shorewallrc
g_sharedir="$SHAREDIR"/shorewall-lite
g_sbindir="$SBINDIR"
g_confdir="$CONFDIR"/shorewall-lite
g_readrc=1

View File

@ -34,7 +34,6 @@ PRODUCT=shorewall-lite
g_program=$PRODUCT
g_sharedir="$SHAREDIR"/shorewall-lite
g_sbindir="$SBINDIR"
g_confdir="$CONFDIR"/shorewall-lite
g_readrc=1

View File

@ -40,7 +40,6 @@ fi
g_program=$PRODUCT
g_sharedir="$SHAREDIR/shorewall"
g_sbindir="$SBINDIR"
g_perllib="$PERLLIBDIR"
g_confdir="$CONFDIR/$PRODUCT"
g_readrc=1

View File

@ -34,7 +34,6 @@ PRODUCT=shorewall
g_program=$PRODUCT
g_sharedir="$SHAREDIR"/shorewall
g_sbindir="$SBINDIR"
g_perllib="$PERLLIBDIR"
g_confdir="$CONFDIR"/shorewall
g_readrc=1

View File

@ -53,7 +53,6 @@ g_program=shorewall6-lite
. /usr/share/shorewall/shorewallrc
g_sharedir="$SHAREDIR"/shorewall6-lite
g_sbindir="$SBINDIR"
g_confdir="$CONFDIR"/shorewall6-lite
g_readrc=1

View File

@ -34,7 +34,6 @@ PRODUCT=shorewall6-lite
g_program=$PRODUCT
g_sharedir="$SHAREDIR"/shorewall6-lite
g_sbindir="$SBINDIR"
g_confdir="$CONFDIR"/shorewall6-lite
g_readrc=1

View File

@ -34,7 +34,6 @@ PRODUCT=shorewall6
g_program=$PRODUCT
g_sharedir="$SHAREDIR"/shorewall6
g_sbindir="$SBINDIR"
g_perllib="$PERLLIBDIR"
g_confdir="$CONFDIR"/shorewall6
g_readrc=1