diff options
author | Tom Schaefer <tom@tomschaefer.org> | 2010-11-21 13:23:20 -0500 |
---|---|---|
committer | Tom Schaefer <tom@tomschaefer.org> | 2010-11-21 13:23:20 -0500 |
commit | 804faa20f16f436637addb9cad680b0cb0336361 (patch) | |
tree | 0bd8b05929813e1f966404a97d29c5c721128a3e /config/ipblocklist/convert-execute.sh | |
parent | 3a266d46b9baa0d7cdea3ae216ac9d20d31d7c70 (diff) | |
download | pfsense-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.sh | 5 |
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 |