2 if (( $(vercmp "$2" '5.1.0-2') < 0 )); then
3 printf "NOTE: The qemu-ga.service has been renamed to qemu-guest-agent.service\n"
5 if systemctl is-enabled --quiet qemu-ga.service &> /dev/null; then
6 systemctl disable qemu-ga.service
7 systemctl enable qemu-guest-agent.service