aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipblocklist/convert-execute.sh
diff options
context:
space:
mode:
authorTom Schaefer <tom@tomschaefer.org>2010-11-21 13:23:20 -0500
committerTom Schaefer <tom@tomschaefer.org>2010-11-21 13:23:20 -0500
commit804faa20f16f436637addb9cad680b0cb0336361 (patch)
tree0bd8b05929813e1f966404a97d29c5c721128a3e /config/ipblocklist/convert-execute.sh
parent3a266d46b9baa0d7cdea3ae216ac9d20d31d7c70 (diff)
downloadpfsense-packages-804faa20f16f436637addb9cad680b0cb0336361.tar.gz
pfsense-packages-804faa20f16f436637addb9cad680b0cb0336361.tar.bz2
pfsense-packages-804faa20f16f436637addb9cad680b0cb0336361.zip
Fixed 3.0 bug
Diffstat (limited to 'config/ipblocklist/convert-execute.sh')
-rw-r--r--config/ipblocklist/convert-execute.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/ipblocklist/convert-execute.sh b/config/ipblocklist/convert-execute.sh
index 0dddc42f..961015e0 100644
--- a/config/ipblocklist/convert-execute.sh
+++ b/config/ipblocklist/convert-execute.sh
@@ -30,7 +30,10 @@ Wfilelist="/usr/local/www/packages/ipblocklist/file_Wlist.txt"
for fileline in $(cat $filelist); do
iplist="/usr/local/www/packages/ipblocklist/lists/$fileline"
iplistout="/usr/local/www/packages/ipblocklist/lists/ipfw.ipfw"
-/usr/bin/perl convert.pl $iplist $iplistout
+if [ "$iplist" != "/usr/local/www/packages/ipblocklist/lists/ipfw.ipfw" ]; then
+ /usr/bin/perl /usr/local/www/packages/ipblocklist/convert.pl $iplist $iplistout
+ #echo "THIS JUST RAN"
+fi
done
#Whitelist