diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/snort-dev/snort_install.inc | 4 |
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 |