aboutsummaryrefslogtreecommitdiffstats
path: root/config/pfblockerng
diff options
context:
space:
mode:
authorBBcan177 <bbcan177@gmail.com>2015-02-19 01:33:22 -0500
committerBBcan177 <bbcan177@gmail.com>2015-02-19 01:33:22 -0500
commitf3694e2170392cc89d14eabadfaded8ab7bca6d6 (patch)
treee631917fe37f1a889aa88b52e5ad5afcb37eb836 /config/pfblockerng
parent7a9603b71a68fd1edec153151ce78eff7a17b05f (diff)
downloadpfsense-packages-f3694e2170392cc89d14eabadfaded8ab7bca6d6.tar.gz
pfsense-packages-f3694e2170392cc89d14eabadfaded8ab7bca6d6.tar.bz2
pfsense-packages-f3694e2170392cc89d14eabadfaded8ab7bca6d6.zip
Revert "pfBlockerNG - Fix missing Start Hour code"
This reverts commit 7a9603b71a68fd1edec153151ce78eff7a17b05f.
Diffstat (limited to 'config/pfblockerng')
-rw-r--r--config/pfblockerng/pfblockerng.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/pfblockerng/pfblockerng.inc b/config/pfblockerng/pfblockerng.inc
index dbe0a7f5..df546963 100644
--- a/config/pfblockerng/pfblockerng.inc
+++ b/config/pfblockerng/pfblockerng.inc
@@ -440,8 +440,6 @@ function sync_package_pfblockerng($cron = "") {
$pfb['validate']= $pfb['config']['pfblocker_cb'];
# User Defined CRON Start Minute
$pfb['min'] = $pfb['config']['pfb_min'];
- # User Defined CRON Start Hour
- $pfb['hour'] = $pfb['config']['pfb_hour'];
# Reloads Existing Blocklists without Downloading New Lists
$pfb['reuse'] = $pfb['config']['pfb_reuse'];
# Enable OpenVPN AutoRules
@@ -2341,13 +2339,13 @@ function sync_package_pfblockerng($cron = "") {
# Define pfBlockerNG CRON Job
$pfb_cmd = "/usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php cron >> {$pfb['log']} 2>&1";
# $pfb['min'] ( User Defined Variable. Variable defined at start of Script )
- # $pfb['hour'] ( User Defined Variable. Variable defined at start of Script )
+ $pfb_hour = "*";
$pfb_mday = "*";
$pfb_month = "*";
$pfb_wday = "*";
$pfb_who = "root";
- install_cron_job($pfb_cmd, true, $pfb['min'], $pfb['hour'], $pfb_mday, $pfb_month, $pfb_wday, $pfb_who);
+ install_cron_job($pfb_cmd, true, $pfb['min'], $pfb_hour, $pfb_mday, $pfb_month, $pfb_wday, $pfb_who);
}
# Clear any existing pfBlockerNG MaxMind CRON Job