diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 04:44:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-27 04:44:45 +0000 |
commit | 5d74aede64811b101f8e83cdedbbd400d90d02a4 (patch) | |
tree | b1fe56d2f6f6702c66692a869da1c9604a5add07 /packages/snort/snort_check_for_rule_updates.php | |
parent | 28a256448332f0d4736b5b51e1d975f100a83650 (diff) | |
download | pfsense-packages-5d74aede64811b101f8e83cdedbbd400d90d02a4.tar.gz pfsense-packages-5d74aede64811b101f8e83cdedbbd400d90d02a4.tar.bz2 pfsense-packages-5d74aede64811b101f8e83cdedbbd400d90d02a4.zip |
Make console text friendler
Diffstat (limited to 'packages/snort/snort_check_for_rule_updates.php')
-rw-r--r-- | packages/snort/snort_check_for_rule_updates.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/snort/snort_check_for_rule_updates.php b/packages/snort/snort_check_for_rule_updates.php index 32c09c48..40136f40 100644 --- a/packages/snort/snort_check_for_rule_updates.php +++ b/packages/snort/snort_check_for_rule_updates.php @@ -1,4 +1,4 @@ -#!/usr/local/bin/php -v +#!/usr/local/bin/php -f <?php /* $Id$ */ @@ -61,12 +61,12 @@ if($date1ts > $date2ts or !$last_ruleset_download) { exec("/bin/rm -rf {$tmpfname};/bin/mkdir -p {$tmpfname}"); /* download snort rules */ - exec("fetch -vvv -o {$tmpfname}/{$snort_filename} $dl"); + exec("fetch -q -o {$tmpfname}/{$snort_filename} $dl"); verify_downloaded_file($tmpfname . "/{$snort_filename}"); /* download snort rules md5 file */ $static_output = gettext("Downloading current snort rules md5... "); - exec("fetch -vvv -o {$tmpfname}/{$snort_filename_md5} $dl_md5"); + exec("fetch -q -o {$tmpfname}/{$snort_filename_md5} $dl_md5"); verify_downloaded_file($tmpfname . "/{$snort_filename_md5}"); /* verify downloaded rules signature */ @@ -84,9 +84,9 @@ if($date1ts > $date2ts or !$last_ruleset_download) { /* cleanup temporary directory */ exec("/bin/rm -rf {$tmpfname};"); - echo "Rules are now up to date."; + echo "Rules are now up to date.\n"; } else { - echo "Rules are up to date."; + echo "Rules are up to date.\n"; } ?>
\ No newline at end of file |