aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-12 21:30:50 +0000
committerErmal <eri@pfsense.org>2012-06-12 21:30:50 +0000
commit423f9667123c847b76d021d514ef2b3fb443ac82 (patch)
tree258503dd329c04e12fdfea0419d8bed7b5c8d037 /config/snort
parentef213220291dccd423fa8eb534ab5f34c4f0a49a (diff)
downloadpfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.tar.gz
pfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.tar.bz2
pfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.zip
Remove not needed code.
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 23478d9d..d4a79d1b 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -489,13 +489,6 @@ 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*');
- /* XXX: In pfSense this really does not add much!
- * add snort user and group note: 920 keep the numbers < 2000, above this is reserved in pfSense 2.0
- exec('/usr/sbin/pw groupadd snort -g 920');
- exec('/usr/sbin/pw useradd snort -u 920 -c "Snort User" -d /nonexistent -g snort -s /sbin/nologin');
- */
-
-
/* create a few directories and ensure the sample files are in place */
if (!is_dir('/usr/local/etc/snort'))
exec('/bin/mkdir -p /usr/local/etc/snort/custom_rules');