From e35913552efea60f71bf2c3b1c9a06157d257b2e Mon Sep 17 00:00:00 2001 From: robiscool Date: Sun, 13 Dec 2009 16:24:23 -0800 Subject: snort-dev, add more deinstall code --- config/snort-dev/snort.inc | 4 +++- config/snort-dev/snort.xml | 2 +- 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 @@ snort - snort.sh + snort Snort is the most widely deployed IDS/IPS technology worldwide. -- cgit v1.2.3