diff options
author | jim-p <jim@pingle.org> | 2009-10-24 19:45:49 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-24 19:46:51 -0400 |
commit | b01a27a54c97e5c4f96c412794c11dc7acad91e1 (patch) | |
tree | 718d31543d114601d3c100294afa845a46ce10bb | |
parent | 8ca79ca87460f67526d0d2388d68b371e680dcec (diff) | |
download | pfsense-packages-b01a27a54c97e5c4f96c412794c11dc7acad91e1.tar.gz pfsense-packages-b01a27a54c97e5c4f96c412794c11dc7acad91e1.tar.bz2 pfsense-packages-b01a27a54c97e5c4f96c412794c11dc7acad91e1.zip |
Move rw call a bit higher when downloading snort rules.
-rw-r--r-- | config/snort/snort_download_rules.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_download_rules.php b/config/snort/snort_download_rules.php index c07dc1cf..9826ba2a 100644 --- a/config/snort/snort_download_rules.php +++ b/config/snort/snort_download_rules.php @@ -164,6 +164,8 @@ hide_progress_bar_status(); /* send current buffer */ ob_flush(); +conf_mount_rw(); + /* remove old $tmpfname files */ if (file_exists("{$tmpfname}")) { update_status(gettext("Removing old tmp files...")); @@ -189,8 +191,6 @@ if (file_exists($tmpfname)) { /* unhide progress bar and lets end this party */ unhide_progress_bar_status(); -conf_mount_rw(); - /* download md5 sig from snort.org */ if (file_exists("{$tmpfname}/{$snort_filename_md5}")) { update_status(gettext("md5 temp file exists...")); |