Simply getparams as a result of the new lib.cli variable-setting

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-01-25 20:41:08 -08:00
parent 8d9b1d50d1
commit df3bded324

View File

@ -28,23 +28,11 @@
# $3 = Address family (4 o4 6)
#
if [ "$3" = 6 ]; then
SHAREDIR=/usr/share/shorewall6
CONFDIR=/etc/shorewall6
g_product="Shorewall6"
g_family=6
g_tool=
g_basedir=/usr/share/shorewall
g_program=shorewall6
else
g_program=shorewall
SHAREDIR=/usr/share/shorewall
CONFDIR=/etc/shorewall
g_product="Shorewall"
g_family=4
g_tool=
g_basedir=/usr/share/shorewall
fi
. /usr/share/shorewall/lib.base
. /usr/share/shorewall/lib.cli
CONFIG_PATH="$2"