aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_post_install.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-05-02 07:09:34 +0000
committerErmal <eri@pfsense.org>2014-05-02 07:09:34 +0000
commit8aec99c2678dc2c7bd82ff068733ccc8459a779b (patch)
treec0a070c35362edcb09abd1e821bb71d9a968b93f /config/suricata/suricata_post_install.php
parentbb88eed5e00ea1064d61020e59349b83f4c633d1 (diff)
parent7bb99d97c33021c4e4cacb0b8dd739be5933c61f (diff)
downloadpfsense-packages-8aec99c2678dc2c7bd82ff068733ccc8459a779b.tar.gz
pfsense-packages-8aec99c2678dc2c7bd82ff068733ccc8459a779b.tar.bz2
pfsense-packages-8aec99c2678dc2c7bd82ff068733ccc8459a779b.zip
Merge pull request #654 from bmeeks8/suricata-1.0.1
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