remove suricata log files @uninstall
This commit is contained in:
parent
eb4112c912
commit
50f786dda4
@ -26,6 +26,7 @@ delete_packages(){
|
|||||||
read answer
|
read answer
|
||||||
if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]]
|
if [[ "$answer" =~ ^([yY][eE][sS]|[yY])$ ]]
|
||||||
then
|
then
|
||||||
|
rm -rf /var/log/suricata
|
||||||
for pkg in "${pkgs[@]}"
|
for pkg in "${pkgs[@]}"
|
||||||
do
|
do
|
||||||
apt -y remove $pkg && apt -y purge $pkg
|
apt -y remove $pkg && apt -y purge $pkg
|
||||||
|
Loading…
Reference in New Issue
Block a user