mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-01 07:25:42 +02:00
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:
parent
8d9b1d50d1
commit
df3bded324
@ -28,23 +28,11 @@
|
|||||||
# $3 = Address family (4 o4 6)
|
# $3 = Address family (4 o4 6)
|
||||||
#
|
#
|
||||||
if [ "$3" = 6 ]; then
|
if [ "$3" = 6 ]; then
|
||||||
SHAREDIR=/usr/share/shorewall6
|
g_program=shorewall6
|
||||||
CONFDIR=/etc/shorewall6
|
|
||||||
g_product="Shorewall6"
|
|
||||||
g_family=6
|
|
||||||
g_tool=
|
|
||||||
g_basedir=/usr/share/shorewall
|
|
||||||
else
|
else
|
||||||
g_program=shorewall
|
g_program=shorewall
|
||||||
SHAREDIR=/usr/share/shorewall
|
|
||||||
CONFDIR=/etc/shorewall
|
|
||||||
g_product="Shorewall"
|
|
||||||
g_family=4
|
|
||||||
g_tool=
|
|
||||||
g_basedir=/usr/share/shorewall
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. /usr/share/shorewall/lib.base
|
|
||||||
. /usr/share/shorewall/lib.cli
|
. /usr/share/shorewall/lib.cli
|
||||||
|
|
||||||
CONFIG_PATH="$2"
|
CONFIG_PATH="$2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user