aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-15 10:12:38 +0000
committerErmal <eri@pfsense.org>2012-06-15 10:12:57 +0000
commite540121d1c8fcfb7935fc133c1851c8ee39dde6f (patch)
tree7d5f7eb8144495c79cbfc3e07356d9534030add2 /config
parent7d530151462ba22643b9a6baf6c566442bf83428 (diff)
downloadpfsense-packages-e540121d1c8fcfb7935fc133c1851c8ee39dde6f.tar.gz
pfsense-packages-e540121d1c8fcfb7935fc133c1851c8ee39dde6f.tar.bz2
pfsense-packages-e540121d1c8fcfb7935fc133c1851c8ee39dde6f.zip
List all dependencies here to avoid problems during installation
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index fed42b72..48e826d4 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -957,7 +957,7 @@ function create_rules_iface($id, $if_real, $snort_uuid)
$folder_chk = (count(glob("{$if_rule_dir}/rules/*")) === 0) ? 'empty' : 'full';
if ($folder_chk == "empty") {
- if (!is_dir("/usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/rules"))
+ if (!is_dir("{$if_rule_dir}/rules"))
exec("/bin/mkdir -p {$if_rule_dir}/rules");
exec("/bin/cp /usr/local/etc/snort/rules/* {$if_rule_dir}/rules");
if (file_exists("/usr/local/etc/snort/custom_rules/local_{$snort_uuid}_{$if_real}.rules"))