aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_post_install.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-04-30 16:14:29 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-04-30 16:14:29 -0400
commitf15023b3676134fe19fd67bcaa97d9d243698f5a (patch)
tree7ad8c658e44f250ca1e00a27f2da6b5a61de6c3d /config/suricata/suricata_post_install.php
parente92e5316b6452be27f6e4d6a10629562fbe160ee (diff)
downloadpfsense-packages-f15023b3676134fe19fd67bcaa97d9d243698f5a.tar.gz
pfsense-packages-f15023b3676134fe19fd67bcaa97d9d243698f5a.tar.bz2
pfsense-packages-f15023b3676134fe19fd67bcaa97d9d243698f5a.zip
Fix bug in cron task edit for 'rm_blocked' hosts
Diffstat (limited to 'config/suricata/suricata_post_install.php')
-rw-r--r--config/suricata/suricata_post_install.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/suricata/suricata_post_install.php b/config/suricata/suricata_post_install.php
index 4d5454d5..91866982 100644
--- a/config/suricata/suricata_post_install.php
+++ b/config/suricata/suricata_post_install.php
@@ -110,8 +110,8 @@ if ($config['installedpackages']['suricata']['config'][0]['forcekeepsettings'] =
suricata_create_rc();
// Set Log Limit, Block Hosts Time and Rules Update Time
- suricata_loglimit_install_cron();
-// suricata_rm_blocked_install_cron($config['installedpackages']['suricata']['config'][0]['rm_blocked'] != "never_b" ? true : false);
+ suricata_loglimit_install_cron(true);
+ suricata_rm_blocked_install_cron($config['installedpackages']['suricata']['config'][0]['rm_blocked'] != "never_b" ? true : false);
suricata_rules_up_install_cron($config['installedpackages']['suricata']['config'][0]['autoruleupdate'] != "never_up" ? true : false);
// Add the recurring jobs created above to crontab
@@ -138,7 +138,7 @@ if ($config['installedpackages']['suricata']['config'][0]['forcekeepsettings'] =
}
// Update Suricata package version in configuration
-$config['installedpackages']['suricata']['config'][0]['suricata_config_ver'] = "v0.3-BETA";
+$config['installedpackages']['suricata']['config'][0]['suricata_config_ver'] = "v1.0.1";
write_config();
// Done with post-install, so clear flag