aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorrobiscool <robrob2626@yahoo.com>2010-03-16 20:34:49 -0700
committerrobiscool <robrob2626@yahoo.com>2010-03-16 20:34:49 -0700
commit1ded9523862c99ce2d2cf9c3f073c0c8c5899ed2 (patch)
tree2779aeaf233f9c1c15c1b9e399d51642d2515316 /config
parent7ad2117004bec7c66f84b50b06aa6f566de780ee (diff)
downloadpfsense-packages-1ded9523862c99ce2d2cf9c3f073c0c8c5899ed2.tar.gz
pfsense-packages-1ded9523862c99ce2d2cf9c3f073c0c8c5899ed2.tar.bz2
pfsense-packages-1ded9523862c99ce2d2cf9c3f073c0c8c5899ed2.zip
snort-dev, update snort.inc
Diffstat (limited to 'config')
-rw-r--r--config/snort-dev/snort.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc
index b773b231..28d9b4d9 100644
--- a/config/snort-dev/snort.inc
+++ b/config/snort-dev/snort.inc
@@ -932,11 +932,10 @@ exec("echo \"Snort Deinstall $if_real $id....\" >> /root/test.log");
exec("/usr/sbin/pw userdel snort");
exec("/usr/sbin/pw groupdel snort");
exec("rm -rf /usr/local/etc/snort*");
- exec("cd /var/db/pkg && pkg_delete `ls | grep barnyard2`");
+ //exec("cd /var/db/pkg && pkg_delete `ls | grep barnyard2`");
exec("cd /var/db/pkg && pkg_delete `ls | grep snort`");
/* Remove snort cron entries Ugly code needs smoothness*/
-}
function snort_rm_blocked_deinstall_cron($should_install)
{
@@ -973,10 +972,10 @@ exec("echo \"Deinstall cron block....\" >> /root/test.log");
configure_cron();
- }
+ }
conf_mount_ro();
-}
-
+
+}
function snort_rules_up_deinstall_cron($should_install)
{
@@ -1006,6 +1005,7 @@ exec("echo \"Deinstall rules up ....\" >> /root/test.log");
}
configure_cron();
}
+}
snort_rm_blocked_deinstall_cron("");
snort_rules_up_deinstall_cron("");
@@ -1022,7 +1022,7 @@ snort_rules_up_deinstall_cron("");
exec("rm -r /usr/local/lib/snort/");
conf_mount_ro();
-
+
}
function generate_snort_conf($id, $if_real, $snort_uuid)