33383faf9e
* Fix * Fix
8 lines
274 B
Plaintext
8 lines
274 B
Plaintext
if [ "$1" = "purge" ]; then
|
|
find /etc/crowdsec -maxdepth 1 -mindepth 1 | grep -v "bouncer" | xargs rm -rf || echo ""
|
|
rm -rf /var/lib/crowdsec
|
|
if [ -d "/etc/cron.daily/" ] && [ -f "/etc/cron.daily/crowdsec-hub" ]; then
|
|
rm /etc/cron.daily/crowdsec-hub
|
|
fi
|
|
fi
|