diff options
Diffstat (limited to 'config/snort-dev/snort.inc')
-rw-r--r-- | config/snort-dev/snort.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/snort-dev/snort.inc b/config/snort-dev/snort.inc index 4cd26acd..76a1e855 100644 --- a/config/snort-dev/snort.inc +++ b/config/snort-dev/snort.inc @@ -687,11 +687,8 @@ function snort_deinstall() 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 snort`"); - exec("cd /var/db/pkg && pkg_delete `ls | grep mysql-client`"); - exec("cd /var/db/pkg && pkg_delete `ls | grep libdnet`"); - exec("/usr/usr/bin/killall -9 snort"); - exec("/usr/usr/bin/killall snort"); /* Remove snort cron entries Ugly code needs smoothness*/ |