2021-08-18 11:57:06 +00:00
|
|
|
if [ "$1" = "purge" ]; then
|
|
|
|
find /etc/crowdsec -maxdepth 1 -mindepth 1 | grep -v "bouncer" | xargs rm -rf || echo ""
|
|
|
|
rm -rf /var/lib/crowdsec
|
2022-10-18 15:11:48 +00:00
|
|
|
if [ -f "/etc/cron.daily/crowdsec" ]; then
|
|
|
|
rm /etc/cron.daily/crowdsec
|
2022-10-17 15:04:01 +00:00
|
|
|
fi
|
2021-08-18 11:57:06 +00:00
|
|
|
fi
|