diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-05-29 14:31:48 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-05-29 14:31:55 -0400 |
commit | 782d8d038eb18ef69afebd4ad156a91576b1a026 (patch) | |
tree | 4638ffa0cf3dbd58b04ab885ff932ac5c5129063 /config/ipblocklist/purgeip.tmp | |
parent | 3497cc1eaed13234ea8d274986a66cfc9635be91 (diff) | |
download | pfsense-packages-782d8d038eb18ef69afebd4ad156a91576b1a026.tar.gz pfsense-packages-782d8d038eb18ef69afebd4ad156a91576b1a026.tar.bz2 pfsense-packages-782d8d038eb18ef69afebd4ad156a91576b1a026.zip |
Update package for IP-Blocklist from Tom
Diffstat (limited to 'config/ipblocklist/purgeip.tmp')
-rwxr-xr-x | config/ipblocklist/purgeip.tmp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/ipblocklist/purgeip.tmp b/config/ipblocklist/purgeip.tmp index 3622797a..449cb262 100755 --- a/config/ipblocklist/purgeip.tmp +++ b/config/ipblocklist/purgeip.tmp @@ -4,12 +4,12 @@ $line = $_GET["line"]; //echo("$line"); //exec("more ips.ipfw > temp_ips.ipfw"); if ($line == 0) { - exec("rm ips.ipfw"); + exec("rm wlists.txt"); } else { - exec("sed $line'd' ips.ipfw > temp_ips.ipfw"); + exec("sed $line'd' wlists.txt > temp_wlists.txt"); } -exec("more temp_ips.ipfw > ips.ipfw"); -exec("rm temp_ips.ipfw"); +exec("more temp_wlists.txt > wlists.txt"); +exec("rm temp_wlists.txt"); ?> |