aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2009-12-13 16:24:23 -0800
committerrobiscool <robrob2626@yahoo.com>2009-12-13 16:24:23 -0800
commite35913552efea60f71bf2c3b1c9a06157d257b2e (patch)
tree5295a3b9abac9fa7befd9faefacb03fec0549c50
parentc42ee531a6fadfcce93d83099ca2cd8611a0898f (diff)
downloadpfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.tar.gz
pfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.tar.bz2
pfsense-packages-e35913552efea60f71bf2c3b1c9a06157d257b2e.zip
snort-dev, add more deinstall code
-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>