Merge branch 'master' into 'master'

Update install_hooks.sh

See merge request risingprismtv/single-gpu-passthrough!12
This commit is contained in:
Risingprism 2021-06-22 19:06:13 +00:00
commit 05d056a7c7

View File

@ -1,4 +1,9 @@
#!/bin/bash
if test -e /etc/libvirt/ && ! test -e /etc/libvirt/hooks;
then
mkdir -p /etc/libvirt/hooks;
fi
if test -e /etc/libvirt/hooks/qemu;
then
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup