aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-10-09 14:48:07 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-10-09 14:48:07 -0400
commitaf0f8bece934296de9cace977c84fc00ce73b7ed (patch)
tree961a3dfb9ab7ee637cf588b6ef6c278b842cd2d9
parent07fe7dc6ac15532cfeafe3e02b99de57c4db7c92 (diff)
downloadpfsense-packages-af0f8bece934296de9cace977c84fc00ce73b7ed.tar.gz
pfsense-packages-af0f8bece934296de9cace977c84fc00ce73b7ed.tar.bz2
pfsense-packages-af0f8bece934296de9cace977c84fc00ce73b7ed.zip
Remove unneeded calls to conf_mount_rw() and conf_mount_ro().
-rwxr-xr-xconfig/snort/snort.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 261c100f..852b9af3 100755
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1055,8 +1055,6 @@ function sync_snort_package_config() {
return;
}
- conf_mount_rw();
-
$snortconf = $config['installedpackages']['snortglobal']['rule'];
foreach ($snortconf as $value) {
/* Skip configuration of any disabled interface */
@@ -1087,8 +1085,6 @@ function sync_snort_package_config() {
/* Do not attempt package sync if reinstalling package or booting */
if (!$g['snort_postinstall'] && !$g['booting'])
snort_sync_on_changes();
-
- conf_mount_ro();
}
function snort_build_sid_msg_map($rules_path, $sid_file) {