aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2011-06-23 10:45:26 -0700
committerrobiscool <robrob2626@yahoo.com>2011-06-23 10:45:26 -0700
commit8e5b787a41f9ddf2cd9f9b4edd4c22fbbc826edd (patch)
treefdaecbda5783023d805474f0e19e5b82f27f6b62 /config/snort-dev
parent6f8a6ecd60edfd7f2151affdd1de1d839ca532af (diff)
downloadpfsense-packages-8e5b787a41f9ddf2cd9f9b4edd4c22fbbc826edd.tar.gz
pfsense-packages-8e5b787a41f9ddf2cd9f9b4edd4c22fbbc826edd.tar.bz2
pfsense-packages-8e5b787a41f9ddf2cd9f9b4edd4c22fbbc826edd.zip
snort-dev, add snort-dev to pkg_config.8.xml
Diffstat (limited to 'config/snort-dev')
-rw-r--r--config/snort-dev/snort_install.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/snort-dev/snort_install.inc b/config/snort-dev/snort_install.inc
index 30f2884e..bcdabdb1 100644
--- a/config/snort-dev/snort_install.inc
+++ b/config/snort-dev/snort_install.inc
@@ -138,6 +138,10 @@ function snort_postinstall()
if (!file_exists('/var/snort/')) {
exec('/bin/mkdir -p /var/snort/');
+ }
+
+ if (!file_exists('/usr/local/pkg/snort/snortDBtemp')) {
+ exec('/bin/mv /var/snort/snortDBtemp');
}
// cleanup default files