Remove duplicate declaration

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-03-05 11:33:43 -08:00
parent c8d8d75cae
commit 117d79ec02

View File

@ -328,32 +328,6 @@ chain_exists() # $1 = chain name
qt1 $IP6TABLES -L $1 -n qt1 $IP6TABLES -L $1 -n
} }
#
# Find a File -- For relative file name, look in each ${CONFIG_PATH} then ${CONFDIR}
#
find_file()
{
local saveifs
saveifs=
local directory
case $1 in
/*)
echo $1
;;
*)
for directory in $(split $CONFIG_PATH); do
if [ -f $directory/$1 ]; then
echo $directory/$1
return
fi
done
echo ${CONFDIR}/$1
;;
esac
}
# #
# Find the interface with the passed MAC address # Find the interface with the passed MAC address
# #