Current File : //root/clam.sh |
sed -i -e 's/autoupdate_signatures="1"/autoupdate_signatures="0"/g' /usr/local/maldetect/conf.maldet
sed -i -e 's/autoupdate_version="1"/autoupdate_version="0"/g' /usr/local/maldetect/conf.maldet
sed -i -e 's/autoupdate_version_hashed="1"/autoupdate_version_hashed="0"/g' /usr/local/maldetect/conf.maldet
echo "Checks 0" >> /etc/freshclam.conf
for proc in $(ps aux | grep clamupd | cut -d" " -f3);do echo $proc; kill -9 $proc; done
for proc1 in $(ps aux | grep clamupd | cut -d" " -f2);do echo $proc1; kill -9 $proc1; done