aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/snort-dev/snort.inc4
-rw-r--r--config/snort-dev/snort.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index 5dfa4255..26bdee7d 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -867,6 +867,7 @@ function snort_deinstall()
function snort_rm_blocked_deinstall_cron($should_install)
{
global $config, $g;
+ conf_mount_rw();
$is_installed = false;
@@ -894,7 +895,8 @@ function snort_deinstall()
}
configure_cron();
}
- conf_mount_ro();
+ }
+ conf_mount_ro();
}
function snort_rules_up_deinstall_cron($should_install) {
diff --git a/config/snort-dev/snort.xml b/config/snort-dev/snort.xml
index 9b462d07..7900d07a 100644
--- a/config/snort-dev/snort.xml
+++ b/config/snort-dev/snort.xml
@@ -57,7 +57,7 @@
</menu>
<service>
<name>snort</name>
- <rcfile>snort.sh</rcfile>
+ <rcfile></rcfile>
<executable>snort</executable>
<description>Snort is the most widely deployed IDS/IPS technology worldwide.</description>
</service>