From 117d79ec02446f360e71adba748bf2addabea9aa Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 5 Mar 2010 11:33:43 -0800 Subject: [PATCH] Remove duplicate declaration Signed-off-by: Tom Eastep --- Shorewall6/lib.common | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/Shorewall6/lib.common b/Shorewall6/lib.common index aaf420924..57f18a64a 100644 --- a/Shorewall6/lib.common +++ b/Shorewall6/lib.common @@ -328,32 +328,6 @@ chain_exists() # $1 = chain name 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 #