diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-02-09 18:56:25 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-02-09 18:56:25 -0500 |
commit | 3b7742e0884ab95302a5028f5cd9baa4f965e8cb (patch) | |
tree | 2154940713c1316e22e1f782050751f13f669f4c /config/snort/snort.inc | |
parent | ddad7f5298ff4293df10908c1833422f8e92eec7 (diff) | |
download | pfsense-packages-3b7742e0884ab95302a5028f5cd9baa4f965e8cb.tar.gz pfsense-packages-3b7742e0884ab95302a5028f5cd9baa4f965e8cb.tar.bz2 pfsense-packages-3b7742e0884ab95302a5028f5cd9baa4f965e8cb.zip |
Update URL
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)) { |