diff options
author | Ermal <eri@pfsense.org> | 2012-06-14 19:53:11 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-06-14 19:53:11 +0000 |
commit | 55f994dd6272638960c4a3f703d8abaeed991b92 (patch) | |
tree | 3b72f886dafbd76f6cf36a9f3302d0cba9db5376 /config/snort | |
parent | 1c0f9a5f5ae35db99fe8d9710be853cd3dcbe297 (diff) | |
download | pfsense-packages-55f994dd6272638960c4a3f703d8abaeed991b92.tar.gz pfsense-packages-55f994dd6272638960c4a3f703d8abaeed991b92.tar.bz2 pfsense-packages-55f994dd6272638960c4a3f703d8abaeed991b92.zip |
Dno not remove lib/snort since it breaks reinstallations!
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort.inc | 3 |
1 files changed, 1 insertions, 2 deletions
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')) { |