diff options
author | Ermal Luçi <eri@pfsense.org> | 2014-01-13 03:41:15 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2014-01-13 03:41:15 -0800 |
commit | 13d9babd775498cf1e3b796e07030e946e1cb12a (patch) | |
tree | d21f85d6fcbee014b0221e546927548eced3a340 /config/snort/snort_download_updates.php | |
parent | 141c1dc4774370210c41580da5ba897bc54c8e12 (diff) | |
parent | 8e3a6c43552fa36df9dd19a0dd0db312add43d11 (diff) | |
download | pfsense-packages-13d9babd775498cf1e3b796e07030e946e1cb12a.tar.gz pfsense-packages-13d9babd775498cf1e3b796e07030e946e1cb12a.tar.bz2 pfsense-packages-13d9babd775498cf1e3b796e07030e946e1cb12a.zip |
Merge pull request #571 from bmeeks8/master
Snort 2.9.5.5 pkg v3.0.2 Update -- Bug Fixes
Diffstat (limited to 'config/snort/snort_download_updates.php')
-rwxr-xr-x | config/snort/snort_download_updates.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/snort/snort_download_updates.php b/config/snort/snort_download_updates.php index 5c9b8210..fc97ab96 100755 --- a/config/snort/snort_download_updates.php +++ b/config/snort/snort_download_updates.php @@ -87,8 +87,10 @@ if (file_exists("{$snortdir}/{$snort_community_rules_filename}.md5")) /* Check for postback to see if we should clear the update log file. */ if (isset($_POST['clear'])) { + conf_mount_rw(); if (file_exists("{$snort_rules_upd_log}")) mwexec("/bin/rm -f {$snort_rules_upd_log}"); + conf_mount_ro(); } if (isset($_POST['update'])) { |