diff options
author | Thomas Schaefer <tom@tomschaefer.org> | 2011-10-02 19:55:56 -0400 |
---|---|---|
committer | Thomas Schaefer <tom@tomschaefer.org> | 2011-10-02 19:55:56 -0400 |
commit | 26e504fbacb47031869a7ab204bcd54e54315c15 (patch) | |
tree | 5f801f70fd682e4eb68fd4160a36da4ea9cb1e42 /config/countryblock/countryblock.tmp | |
parent | 7dda215e41a7deb3a6e1a7b314114ef52af8d4bf (diff) | |
download | pfsense-packages-26e504fbacb47031869a7ab204bcd54e54315c15.tar.gz pfsense-packages-26e504fbacb47031869a7ab204bcd54e54315c15.tar.bz2 pfsense-packages-26e504fbacb47031869a7ab204bcd54e54315c15.zip |
Remove email and create user backup
Diffstat (limited to 'config/countryblock/countryblock.tmp')
-rw-r--r-- | config/countryblock/countryblock.tmp | 5 |
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> |