aboutsummaryrefslogtreecommitdiffstats
path: root/config/ipblocklist/purgeip.tmp
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-22 14:16:21 -0500
committerjim-p <jimp@pfsense.org>2010-11-22 14:16:21 -0500
commit939869231e32f7daca780e92fab9c408f042dbae (patch)
tree557f301db8dbbc5f6a48012a3b82e089ba04228c /config/ipblocklist/purgeip.tmp
parent615ed859665abe96f9eb6d75a1904ce217bb5980 (diff)
downloadpfsense-packages-939869231e32f7daca780e92fab9c408f042dbae.tar.gz
pfsense-packages-939869231e32f7daca780e92fab9c408f042dbae.tar.bz2
pfsense-packages-939869231e32f7daca780e92fab9c408f042dbae.zip
Fix line endings. autocrlf is your friend.
Diffstat (limited to 'config/ipblocklist/purgeip.tmp')
-rw-r--r--config/ipblocklist/purgeip.tmp52
1 files changed, 26 insertions, 26 deletions
diff --git a/config/ipblocklist/purgeip.tmp b/config/ipblocklist/purgeip.tmp
index 6ce36dfe..b577b8af 100644
--- a/config/ipblocklist/purgeip.tmp
+++ b/config/ipblocklist/purgeip.tmp
@@ -1,26 +1,26 @@
-<?php
-$line = $_GET["line"];
-
-//echo("$line");
-//exec("more ips.ipfw > temp_ips.ipfw");
-if ($line == 0) {
- exec("rm wlists.txt");
- } else {
- exec("sed $line'd' wlists.txt > temp_wlists.txt");
- }
-exec("more temp_wlists.txt > wlists.txt");
-exec("rm temp_wlists.txt");
-
-
-?>
-<html>
-<HEAD>
-<SCRIPT language="JavaScript">
-<!--
-window.parent.location="ipblocklist.php";
-//-->
-</SCRIPT>
-</HEAD>
-
-
-</html> \ No newline at end of file
+<?php
+$line = $_GET["line"];
+
+//echo("$line");
+//exec("more ips.ipfw > temp_ips.ipfw");
+if ($line == 0) {
+ exec("rm wlists.txt");
+ } else {
+ exec("sed $line'd' wlists.txt > temp_wlists.txt");
+ }
+exec("more temp_wlists.txt > wlists.txt");
+exec("rm temp_wlists.txt");
+
+
+?>
+<html>
+<HEAD>
+<SCRIPT language="JavaScript">
+<!--
+window.parent.location="ipblocklist.php";
+//-->
+</SCRIPT>
+</HEAD>
+
+
+</html>