forked from extern/shorewall_code
Handle PRODUCT correctly at run-time.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
188f05e130
commit
2050d566b8
@ -25,17 +25,17 @@
|
|||||||
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
||||||
#
|
#
|
||||||
################################################################################################
|
################################################################################################
|
||||||
g_program=shorewall-lite
|
PRODUCT=shorewall-lite
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
||||||
#
|
#
|
||||||
. /usr/share/shorewall/shorewallrc
|
. /usr/share/shorewall/shorewallrc
|
||||||
|
|
||||||
|
g_program=$PRODUCT
|
||||||
g_libexec="$LIBEXECDIR"
|
g_libexec="$LIBEXECDIR"
|
||||||
g_sharedir="$SHAREDIR"/shorewall-lite
|
g_sharedir="$SHAREDIR"/shorewall-lite
|
||||||
g_sbindir="$SBINDIR"
|
g_sbindir="$SBINDIR"
|
||||||
g_vardir="$VARDIR"
|
|
||||||
g_confdir="$CONFDIR"/shorewall-lite
|
g_confdir="$CONFDIR"/shorewall-lite
|
||||||
g_readrc=1
|
g_readrc=1
|
||||||
|
|
||||||
|
@ -25,18 +25,18 @@
|
|||||||
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
||||||
#
|
#
|
||||||
################################################################################################
|
################################################################################################
|
||||||
g_program=shorewall
|
PRODUCT=shorewall
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
||||||
#
|
#
|
||||||
. /usr/share/shorewall/shorewallrc
|
. /usr/share/shorewall/shorewallrc
|
||||||
|
|
||||||
|
g_program=$PRODUCT
|
||||||
g_libexec="$LIBEXECDIR"
|
g_libexec="$LIBEXECDIR"
|
||||||
g_sharedir="$SHAREDIR"/shorewall
|
g_sharedir="$SHAREDIR"/shorewall
|
||||||
g_sbindir="$SBINDIR"
|
g_sbindir="$SBINDIR"
|
||||||
g_perllib="$PERLLIBDIR"
|
g_perllib="$PERLLIBDIR"
|
||||||
g_vardir="$VARDIR"
|
|
||||||
g_confdir="$CONFDIR"/shorewall
|
g_confdir="$CONFDIR"/shorewall
|
||||||
g_readrc=1
|
g_readrc=1
|
||||||
|
|
||||||
|
@ -25,17 +25,17 @@
|
|||||||
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
||||||
#
|
#
|
||||||
################################################################################################
|
################################################################################################
|
||||||
g_program=shorewall6-lite
|
PRODUCT=shorewall6-lite
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
||||||
#
|
#
|
||||||
. /usr/share/shorewall/shorewallrc
|
. /usr/share/shorewall/shorewallrc
|
||||||
|
|
||||||
|
g_program=$PRODUCT
|
||||||
g_libexec="$LIBEXECDIR"
|
g_libexec="$LIBEXECDIR"
|
||||||
g_sharedir="$SHAREDIR"/shorewall6-lite
|
g_sharedir="$SHAREDIR"/shorewall6-lite
|
||||||
g_sbindir="$SBINDIR"
|
g_sbindir="$SBINDIR"
|
||||||
g_vardir="$VARDIR"
|
|
||||||
g_confdir="$CONFDIR"/shorewall6-lite
|
g_confdir="$CONFDIR"/shorewall6-lite
|
||||||
g_readrc=1
|
g_readrc=1
|
||||||
|
|
||||||
|
@ -25,18 +25,18 @@
|
|||||||
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
# For a list of supported commands, type 'shorewall help' or 'shorewall6 help'
|
||||||
#
|
#
|
||||||
################################################################################################
|
################################################################################################
|
||||||
g_program=shorewall6
|
PRODUCT=shorewall6
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
# This is modified by the installer when ${SHAREDIR} != /usr/share
|
||||||
#
|
#
|
||||||
. /usr/share/shorewall/shorewallrc
|
. /usr/share/shorewall/shorewallrc
|
||||||
|
|
||||||
|
g_program=$PRODUCT
|
||||||
g_libexec="$LIBEXECDIR"
|
g_libexec="$LIBEXECDIR"
|
||||||
g_sharedir="$SHAREDIR"/shorewall6
|
g_sharedir="$SHAREDIR"/shorewall6
|
||||||
g_sbindir="$SBINDIR"
|
g_sbindir="$SBINDIR"
|
||||||
g_perllib="$PERLLIBDIR"
|
g_perllib="$PERLLIBDIR"
|
||||||
g_vardir="$VARDIR"
|
|
||||||
g_confdir="$CONFDIR"/shorewall6
|
g_confdir="$CONFDIR"/shorewall6
|
||||||
g_readrc=1
|
g_readrc=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user