diff options
author | BBcan177 <bbcan177@gmail.com> | 2015-02-03 23:52:14 -0500 |
---|---|---|
committer | BBcan177 <bbcan177@gmail.com> | 2015-02-03 23:52:14 -0500 |
commit | 484a88e083e59348c7fa0cc9e33b1430f32e4e13 (patch) | |
tree | 3a3dc148997f3c1631d544e02149c78120983724 /config/pfblockerng/pfblockerng.php | |
parent | 23b21b4b325deb7b438d8f781d86a434778dfe21 (diff) | |
download | pfsense-packages-484a88e083e59348c7fa0cc9e33b1430f32e4e13.tar.gz pfsense-packages-484a88e083e59348c7fa0cc9e33b1430f32e4e13.tar.bz2 pfsense-packages-484a88e083e59348c7fa0cc9e33b1430f32e4e13.zip |
pfBlockerNG - Fix Force Cron Function
Changes:
1) When the User selects "Force Cron" and "no updates" are required, the
function doesn't complete properly, and didn't restore the Cron Task.
2) XMLRPC Sync add Maxmind "Annonymous Proxy and Satellite Providers"
Diffstat (limited to 'config/pfblockerng/pfblockerng.php')
-rw-r--r-- | config/pfblockerng/pfblockerng.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/pfblockerng/pfblockerng.php b/config/pfblockerng/pfblockerng.php index ca8a23a9..0ca3aa7d 100644 --- a/config/pfblockerng/pfblockerng.php +++ b/config/pfblockerng/pfblockerng.php @@ -418,13 +418,11 @@ if ($argv[1] == 'cron') { if ($pfb['update_cron']) { sync_package_pfblockerng("cron"); } else { - $log = "\n No Updates required. \n\n"; + sync_package_pfblockerng("noupdates"); + $log = "\n No Updates required.\n CRON PROCESS ENDED\n UPDATE PROCESS ENDED\n"; pfb_logger("{$log}","1"); } - $log = " CRON PROCESS ENDED [ NOW ]\n"; - pfb_logger("{$log}","1"); - # Call Log Mgmt Function // If Update GUI 'Manual view' is selected. Last output will be missed. So sleep for 5 secs. sleep(5); |