From 55f994dd6272638960c4a3f703d8abaeed991b92 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 14 Jun 2012 19:53:11 +0000 Subject: Dno not remove lib/snort since it breaks reinstallations! --- config/snort/snort.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index ce033267..fed42b72 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1076,8 +1076,7 @@ function snort_deinstall() { sleep(2); mwexec('/usr/sbin/pw userdel snort; /usr/sbin/pw groupdel snort', true); mwexec('/bin/rm -rf /usr/local/etc/snort*; /bin/rm -rf /usr/local/pkg/snort*', true); - mwexec('/bin/rm -r /usr/local/bin/barnyard2', true); - mwexec('/bin/rm -rf /usr/local/www/snort; /bin/rm -rf /var/log/snort; /bin/rm -rf /usr/local/lib/snort', true); + mwexec('/bin/rm -rf /usr/local/www/snort; /bin/rm -rf /var/log/snort', true); /* Remove snort cron entries Ugly code needs smoothness*/ if (!function_exists('snort_deinstall_cron')) { -- cgit v1.2.3