diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-11-28 02:02:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-11-28 02:02:50 +0000 |
commit | adcda2839df762ea76392a47b6c355cdde7a85d5 (patch) | |
tree | 0bf75af2dbb5ce83066e7baa00ecacec64eedb15 /etc/inc | |
parent | 1df82ad5a87c50efd8704320ff0ebce324b619c7 (diff) | |
download | pfsense-adcda2839df762ea76392a47b6c355cdde7a85d5.zip pfsense-adcda2839df762ea76392a47b6c355cdde7a85d5.tar.gz |
Change bogons update script frequency to 2am.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/config.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 8e59e2b..2999b64 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -1006,12 +1006,13 @@ function convert_config() { $cron_item_count = count($config['cron']['item']); for($x=0; $x<$cron_item_count; $x++) { if(stristr($config['cron']['item'][$x]['command'], "rc.update_bogons.sh")) { + if($config['cron']['item'][$x]['hour'] == "*" ) { $config['cron']['item'][$x]['hour'] = "2"; - write_config("Updated bogon update frequency to 2am"); + write_config("Updated bogon update frequency to 2am"); + } } } - if ($prev_version != $config['version']) write_config("Upgraded config version level from {$prev_version} to {$config['version']}"); } |