GIF87a;
#!/bin/bash set -x im360_clamav=$(yum list installed | grep imunify360 | grep clamav | awk '{print $1}') installed_epel=0 if [ -n "${im360_clamav}" ]; then if [ ! -f /etc/yum.repos.d/epel.repo ] && ! yum repolist all | grep 'epel/'; then yum -y install epel-release installed_epel=1 fi yum -y downgrade --enablerepo=epel ${im360_clamav} if [ $installed_epel = 1 ]; then yum -y remove epel-release fi fi touch /var/imunify360/tmp/clamav_purged rm -f /etc/cron.d/imunify360-purge-clamav
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
check-detached.py | File | 1.11 KB | 0755 |
|
create_default_config | File | 1.23 KB | 0755 |
|
delay_on_cron_call.py | File | 1.12 KB | 0755 |
|
imunify-disable-cpu-accounting.sh | File | 792 B | 0744 |
|
imunify-doctor.sh | File | 16.64 KB | 0744 |
|
imunify-force-update.sh | File | 3.12 KB | 0744 |
|
purge-clamav | File | 535 B | 0755 |
|
update_components_versions.py | File | 4.03 KB | 0755 |
|