aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipblocklist/purgeip.tmp
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-05-29 14:31:48 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-05-29 14:31:55 -0400
commit782d8d038eb18ef69afebd4ad156a91576b1a026 (patch)
tree4638ffa0cf3dbd58b04ab885ff932ac5c5129063 /config/ipblocklist/purgeip.tmp
parent3497cc1eaed13234ea8d274986a66cfc9635be91 (diff)
downloadpfsense-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-xconfig/ipblocklist/purgeip.tmp8
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");
?>