aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-28 15:56:39 +0100
committerErmal <eri@pfsense.org>2013-01-28 15:56:39 +0100
commit95b583ca4bc7f23ae5cdb1e8891aff982db0cf4a (patch)
tree4853ac0b41dad85a7fdd1ed8e895f83f4f8e6b97 /config
parente6dbd1f2d78bb64b431983bc776982fc8813a4ea (diff)
downloadpfsense-packages-95b583ca4bc7f23ae5cdb1e8891aff982db0cf4a.tar.gz
pfsense-packages-95b583ca4bc7f23ae5cdb1e8891aff982db0cf4a.tar.bz2
pfsense-packages-95b583ca4bc7f23ae5cdb1e8891aff982db0cf4a.zip
Run update if settings are saved during reinstall
Diffstat (limited to 'config')
-rwxr-xr-xconfig/snort/snort.inc8
1 files changed, 1 insertions, 7 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 9f122d7d..ace1c89c 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -446,17 +446,11 @@ function snort_postinstall() {
if (file_exists('/usr/local/lib/snort/dynamicpreprocessor/lib_sfdynamic_preprocessor_example.so'))
exec('/bin/rm /usr/local/lib/snort/dynamicpreprocessor/lib_sfdynamic_preprocessor_example*');
- /*
- mwexec("/usr/sbin/chown -R snort:snort /var/log/snort", true);
- mwexec("/usr/sbin/chown -R snort:snort {$snortdir}", true);
- mwexec('/usr/sbin/chown -R snort:snort /usr/local/lib/snort', true);
- mwexec('/usr/sbin/chown snort:snort /tmp/snort*', true);
- */
-
/* remake saved settings */
if ($config['installedpackages']['snortglobal']['forcekeepsettings'] == 'on') {
update_status(gettext("Saved settings detected..."));
update_output_window(gettext("Please wait... rebuilding files..."));
+ @include_once("/usr/local/pkg/snort/snort_check_for_rule_updates.php");
sync_snort_package_config();
update_output_window(gettext("Finnished Rebuilding files..."));
}