More splitting up of the product

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5828 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep
2007-04-03 16:26:05 +00:00
parent fe0bdf89e1
commit e6f78b92c9
6 changed files with 30 additions and 238 deletions

View File

@ -33,6 +33,8 @@ SHOREWALL_LIBVERSION=30402
[ -n "${VARDIR:=/var/lib/shorewall}" ]
[ -n "${SHAREDIR:=/usr/share/shorewall}" ]
[ -n "${CONFDIR:=/etc/shorewall}" ]
SHELLSHAREDIR=/usr/share/shorewall-shell
PERLSHAREDIR=/usr/share/shorewall-perl
#
# Message to stderr
@ -339,11 +341,8 @@ lib_load() # $1 = Name of the Library, $2 = Error Message heading if the library
eval loaded=\$LIB_${1}_LOADED
if [ -z "$loaded" ]; then
if [ "$SHOREWALL_COMPILER" = perl ]; then
eval LIB_${1}_LOADED=Yes
return
fi
[ -f $lib ] || lib=${SHELLSHAREDIR}/lib.$1
if [ -f $lib ]; then
progress_message "Loading library $lib..."
. $lib