diff options
author | Ermal <eri@pfsense.org> | 2011-08-02 21:37:15 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-02 21:37:15 +0000 |
commit | 9788ae7230aa939fec86d18ccdbc94a4ae4ce9bc (patch) | |
tree | d2a1d6bd4027f184945061753f4ce7d1b1be8bca /config/snort | |
parent | 08d9ecf5afcb5c462959f1eb4d3904500c220c1d (diff) | |
download | pfsense-packages-9788ae7230aa939fec86d18ccdbc94a4ae4ce9bc.tar.gz pfsense-packages-9788ae7230aa939fec86d18ccdbc94a4ae4ce9bc.tar.bz2 pfsense-packages-9788ae7230aa939fec86d18ccdbc94a4ae4ce9bc.zip |
Correct command
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index cf04d647..ab6d2e64 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1726,7 +1726,7 @@ function generate_snort_conf($id, $if_real, $snort_uuid) exec("/bin/cp /usr/local/etc/snort/unicode.map /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/unicode.map"); exec("/bin/cp /usr/local/etc/snort/threshold.conf /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/threshold.conf"); exec("/bin/cp /usr/local/etc/snort/snort.conf /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/snort.conf"); - exec("/bin/cp /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/barnyard2.conf"); + exec("/usr/bin/touch /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/barnyard2.conf"); if (!is_dir("/usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/rules")) exec("/bin/mkdir -p /usr/local/etc/snort/snort_{$snort_uuid}_{$if_real}/rules"); |