diff options
author | Ermal <eri@pfsense.org> | 2012-06-12 21:30:50 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-06-12 21:30:50 +0000 |
commit | 423f9667123c847b76d021d514ef2b3fb443ac82 (patch) | |
tree | 258503dd329c04e12fdfea0419d8bed7b5c8d037 | |
parent | ef213220291dccd423fa8eb534ab5f34c4f0a49a (diff) | |
download | pfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.tar.gz pfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.tar.bz2 pfsense-packages-423f9667123c847b76d021d514ef2b3fb443ac82.zip |
Remove not needed code.
-rw-r--r-- | config/snort/snort.inc | 7 |
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'); |