aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-01 15:04:12 +0000
committerErmal <eri@pfsense.org>2011-09-01 15:04:12 +0000
commit2df27cf2a748cf517ad127c5c769c26b7d93b13a (patch)
treea5c28696c6b7bc1360b56a78ad4e0474efd8a8ee
parent9a7cecbb199371a82a823e237a4658d4837ced93 (diff)
downloadpfsense-packages-2df27cf2a748cf517ad127c5c769c26b7d93b13a.tar.gz
pfsense-packages-2df27cf2a748cf517ad127c5c769c26b7d93b13a.tar.bz2
pfsense-packages-2df27cf2a748cf517ad127c5c769c26b7d93b13a.zip
The new port does some things differently
-rw-r--r--config/snort/snort.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index c373ab0e..f8f20465 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -492,14 +492,14 @@ function snort_postinstall()
}
/* cleanup default files */
- @unlink('/usr/local/etc/snort/snort.conf-sample');
- @unlink('/usr/local/etc/snort/threshold.conf-sample');
- @unlink('/usr/local/etc/snort/sid-msg.map-sample');
- @unlink('/usr/local/etc/snort/unicode.map-sample');
- @unlink('/usr/local/etc/snort/classification.config-sample');
- @unlink('/usr/local/etc/snort/generators-sample');
- @unlink('/usr/local/etc/snort/reference.config-sample');
- @unlink('/usr/local/etc/snort/gen-msg.map-sample');
+ @rename('/usr/local/etc/snort/snort.conf-sample', '/usr/local/etc/snort/snort.conf');
+ @rename('/usr/local/etc/snort/threshold.conf-sample', '/usr/local/etc/snort/threshold.conf');
+ @rename('/usr/local/etc/snort/sid-msg.map-sample', '/usr/local/etc/snort/sid-msg.map');
+ @rename('/usr/local/etc/snort/unicode.map-sample', '/usr/local/etc/snort/unicode.map');
+ @rename('/usr/local/etc/snort/classification.config-sample', '/usr/local/etc/snort/classification.config');
+ @rename('/usr/local/etc/snort/generators-sample', '/usr/local/etc/snort/generators');
+ @rename('/usr/local/etc/snort/reference.config-sample', '/usr/local/etc/snort/reference.config');
+ @rename('/usr/local/etc/snort/gen-msg.map-sample', '/usr/local/etc/snort/gen-msg.map');
@unlink('/usr/local/etc/snort/sid');
@unlink('/usr/local/etc/rc.d/snort');
@unlink('/usr/local/etc/rc.d/bardyard2');