Greetings to all.
Perhaps someone like me has encountered (especially in the RU segment) the problem of accessing antivirus database updates. I'm tired of looking for a mirror after each update, finding and making changes to the configuration file. To automate routine actions, I developed a script for changing the update mirror:
https://github.com/wirgen/syno-clamav-mirrors
The order of the script:
checking the availability of the list of preinstalled mirrors;
displaying information about the database version;
updating the configuration file;
restarting the antivirus package.
I hope someone will find it interesting and useful.