aboutsummaryrefslogtreecommitdiffstats
path: root/config/countryblock/countryblock.tmp
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2011-10-04 15:56:17 +0200
committerMartin Fuchs <martin.fuchs@trendchiller.com>2011-10-04 15:56:17 +0200
commit221cb3e812db32a687b3f381bb74e9df61311872 (patch)
tree65a78497c87b43eaa18c28830dc957ce195ebdc4 /config/countryblock/countryblock.tmp
parent42b72a5b9995b92c6d6b5e8217484f3d8cd4559b (diff)
parente178ef94bf3930b9a9bc5e0f563bc0412ae1cee6 (diff)
downloadpfsense-packages-221cb3e812db32a687b3f381bb74e9df61311872.tar.gz
pfsense-packages-221cb3e812db32a687b3f381bb74e9df61311872.tar.bz2
pfsense-packages-221cb3e812db32a687b3f381bb74e9df61311872.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'config/countryblock/countryblock.tmp')
-rw-r--r--config/countryblock/countryblock.tmp5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/countryblock/countryblock.tmp b/config/countryblock/countryblock.tmp
index 0ddb4c5f..39ee6e64 100644
--- a/config/countryblock/countryblock.tmp
+++ b/config/countryblock/countryblock.tmp
@@ -60,6 +60,9 @@ if (count($_POST)>0) {
//mwexec("pfctl -t countryblock -T kill");
//mwexec("sed -i -e '/countryblock/d' /tmp/rules.debug");
mwexec("sh execute.sh");
+
+ //attempt to create a backup of countries.txt
+ mwexec("cp /usr/local/www/packages/countryblock/countries.txt /usr/local/www/packages/countryblock_bkup/countries.txt");
}
else {
@@ -118,7 +121,7 @@ else {
$tab_array[2] = array("Whitelist", false, "whitelist.php");
$tab_array[3] = array("Interfaces", false, "countryblock_if.php");
$tab_array[4] = array("Help", false, "help.php");
- $tab_array[5] = array("Email", false, "email.php");
+ //$tab_array[5] = array("Email", false, "email.php");
display_top_tabs($tab_array);
?>
</td></tr>