aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-06-11 16:56:22 -0700
committerrobiscool <robrob2626@yahoo.com>2009-06-11 16:56:58 -0700
commitdc4c0770e939749273d14bf548dc0cfef2bfacc8 (patch)
tree699cc0a47e8ad3dd792c7d108f2c4ff8fbd71f95
parent8595e2f1536736777e2298ac994a8ba17c1f3c5b (diff)
downloadpfsense-packages-dc4c0770e939749273d14bf548dc0cfef2bfacc8.tar.gz
pfsense-packages-dc4c0770e939749273d14bf548dc0cfef2bfacc8.tar.bz2
pfsense-packages-dc4c0770e939749273d14bf548dc0cfef2bfacc8.zip
New installs should have rules dir
-rwxr-xr-xconfig/snort/snort.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index e7576ceb..7c3b3622 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -74,6 +74,7 @@ function sync_package_snort()
/* create a few directories and ensure the sample files are in place */
exec("/bin/mkdir -p /usr/local/etc/snort");
exec("/bin/mkdir -p /var/log/snort");
+ exec("/bin/mkdir -p /usr/local/etc/snort/rules");
exec("/bin/cp /usr/local/etc/snort/unicode.map-sample /usr/local/etc/snort/unicode.map");
exec("/bin/cp /usr/local/etc/snort/classification.config-sample /usr/local/etc/snort/classification.config");
exec("/bin/cp /usr/local/etc/snort/gen-msg.map-sample /usr/local/etc/snort/gen-msg.map");