diff options
author | thompsa <andy@fud.org.nz> | 2010-01-28 11:32:19 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-01-28 11:32:19 +1300 |
commit | 239706e0dd9af7b5e0035c1653ec6e969eb56880 (patch) | |
tree | 98bd5c202dd72ba62e68ef258adb88857451952b /config/snort-dev/snort_download_rules.php | |
parent | 4e829559c54053e7768b2bf37a5077ba770b1834 (diff) | |
download | pfsense-packages-239706e0dd9af7b5e0035c1653ec6e969eb56880.tar.gz pfsense-packages-239706e0dd9af7b5e0035c1653ec6e969eb56880.tar.bz2 pfsense-packages-239706e0dd9af7b5e0035c1653ec6e969eb56880.zip |
Fix tar arguments.
Diffstat (limited to 'config/snort-dev/snort_download_rules.php')
-rw-r--r-- | config/snort-dev/snort_download_rules.php | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/config/snort-dev/snort_download_rules.php b/config/snort-dev/snort_download_rules.php index 5948aa95..6991e215 100644 --- a/config/snort-dev/snort_download_rules.php +++ b/config/snort-dev/snort_download_rules.php @@ -667,22 +667,22 @@ if ($snortdownload != "off") update_output_window(gettext("May take a while...")); exec("/bin/mkdir -p {$snortdir}/rules_bk/"); exec("/usr/bin/tar xzf {$tmpfname}/{$snort_filename} -C {$snortdir}/rules_bk rules/\*" . - "etc/" . - "so_rules/precompiled/FreeBSD-7.0/i386/2.8.4/\*" . - "so_rules/bad-traffic.rules/" . - "so_rules/chat.rules/" . - "so_rules/dos.rules/" . - "so_rules/exploit.rules/" . - "so_rules/imap.rules/" . - "so_rules/misc.rules/" . - "so_rules/multimedia.rules/" . - "so_rules/netbios.rules/" . - "so_rules/nntp.rules/" . - "so_rules/p2p.rules/" . - "so_rules/smtp.rules/" . - "so_rules/sql.rules/" . - "so_rules/web-client.rules/" . - "so_rules/web-misc.rules/"); + " etc/" . + " so_rules/precompiled/FreeBSD-7.0/i386/2.8.4/\*" . + " so_rules/bad-traffic.rules/" . + " so_rules/chat.rules/" . + " so_rules/dos.rules/" . + " so_rules/exploit.rules/" . + " so_rules/imap.rules/" . + " so_rules/misc.rules/" . + " so_rules/multimedia.rules/" . + " so_rules/netbios.rules/" . + " so_rules/nntp.rules/" . + " so_rules/p2p.rules/" . + " so_rules/smtp.rules/" . + " so_rules/sql.rules/" . + " so_rules/web-client.rules/" . + " so_rules/web-misc.rules/"); /* add prefix to all snort.org files */ /* remove this part and make it all php with the simplst code posible */ chdir ("/usr/local/etc/snort/rules_bk/rules"); |