aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_download_updates.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-01-13 10:51:45 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-01-13 10:51:45 -0500
commitaf4460ff3f18dff763e0a493ac71be37dd814435 (patch)
tree357bc9cf44654cf1ac366e9244f28d2b8a014b9f /config/snort/snort_download_updates.php
parent8e3a6c43552fa36df9dd19a0dd0db312add43d11 (diff)
downloadpfsense-packages-af4460ff3f18dff763e0a493ac71be37dd814435.tar.gz
pfsense-packages-af4460ff3f18dff763e0a493ac71be37dd814435.tar.bz2
pfsense-packages-af4460ff3f18dff763e0a493ac71be37dd814435.zip
Incorporate Ermal's comments -- use conf_mount_rw() only where needed.
Diffstat (limited to 'config/snort/snort_download_updates.php')
-rwxr-xr-xconfig/snort/snort_download_updates.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/snort/snort_download_updates.php b/config/snort/snort_download_updates.php
index fc97ab96..5c9b8210 100755
--- a/config/snort/snort_download_updates.php
+++ b/config/snort/snort_download_updates.php
@@ -87,10 +87,8 @@ 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'])) {