aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort.inc
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-09-11 00:42:24 -0700
committerrobiscool <robrob2626@yahoo.com>2009-09-11 00:42:24 -0700
commit2ddf14eff84f79e584a324d978558f16461df05d (patch)
treec944ecd087d2b9c2ecc853f05e6cf9af388f2036 /config/snort-dev/snort.inc
parenta012d2a9f6c7bd314e22804d48c010dbb21a957e (diff)
downloadpfsense-packages-2ddf14eff84f79e584a324d978558f16461df05d.tar.gz
pfsense-packages-2ddf14eff84f79e584a324d978558f16461df05d.tar.bz2
pfsense-packages-2ddf14eff84f79e584a324d978558f16461df05d.zip
snort-dev, update snort auto update, update snort.inc, add perl depend..
Diffstat (limited to 'config/snort-dev/snort.inc')
-rw-r--r--config/snort-dev/snort.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 46f28a1a..e84c0e31 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -59,9 +59,11 @@ function sync_package_snort_install() {
global $g, $config;
/* create a few directories and ensure the sample files are in place */
+ exec("/bin/mkdir -p /usr/local/etc/snort_bkup");
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");