diff options
author | Perry Mason <crazypark2@yahoo.dk> | 2009-02-10 01:04:08 +0100 |
---|---|---|
committer | Perry Mason <crazypark2@yahoo.dk> | 2009-02-10 01:04:08 +0100 |
commit | db532a42bb4450b98cb6e1049aa9b26852ad9cc8 (patch) | |
tree | 271c90302ba4d02904a9f4da5b1ae82beb8c77f6 /config/snort/snort.inc | |
parent | fbc60ffbeccaf89792a6dd5e71dd533e7764735f (diff) | |
parent | 3b7742e0884ab95302a5028f5cd9baa4f965e8cb (diff) | |
download | pfsense-packages-db532a42bb4450b98cb6e1049aa9b26852ad9cc8.tar.gz pfsense-packages-db532a42bb4450b98cb6e1049aa9b26852ad9cc8.tar.bz2 pfsense-packages-db532a42bb4450b98cb6e1049aa9b26852ad9cc8.zip |
Merge branch 'master' of http://gitweb.pfsense.org/pfsense-packages/mainline
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 70dc31bf..d8826ea9 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -631,7 +631,8 @@ function extract_snort_rules_md5($tmpfname) { $static_output = gettext("Extracting snort rules..."); update_all_status($static_output); } - $cmd = "/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C /usr/local/etc/snort/"; + mkdir("/usr/local/etc/snort/rules/"); + $cmd = "/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C /usr/local/etc/snort/rules/"; /* extract item and show status during extraction */ $handle = popen('$cmd 2>&1', 'r'); while(!feof($handle)) { |