Load lib.proxyarp if 'proxyarp' option specified for an interface -- take 2

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4473 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-08-28 20:50:33 +00:00
parent 69df501a4c
commit b8a9da7e4b

View File

@ -1780,6 +1780,9 @@ lib_avail() # $1 = Name of the Library
[ -f ${SHAREDIR}/lib.$1 ]
}
#
# Strip the passed file. Return success if a) the stripped file is non-empty; or b) the library had been previously loaded
#
strip_file_and_lib_load() # $1 = logical file name, $2 = library to load if the stripped file is non-empty
{
local f=$(find_file $1)
@ -1791,7 +1794,7 @@ strip_file_and_lib_load() # $1 = logical file name, $2 = library to load if the
return 0
fi
return 1
eval test -n \"\$LIB_${2}_LOADED\"
}
#