mirror of
https://gitlab.com/risingprismtv/single-gpu-passthrough.git
synced 2024-12-22 13:45:22 +00:00
Merge branch 'critical-bug-fix' into 'master'
Update install_hooks.sh See merge request risingprismtv/single-gpu-passthrough!7
This commit is contained in:
commit
fc2769db05
@ -1,14 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if test -e /etc/libvirt/hooks/qemu then
|
if test -e /etc/libvirt/hooks/qemu;
|
||||||
|
then
|
||||||
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
||||||
fi
|
fi
|
||||||
if test -e /bin/vfio-startup.sh then
|
if test -e /bin/vfio-startup.sh;
|
||||||
|
then
|
||||||
mv /bin/vfio-startup.sh /bin/vfio-startup.sh.bkp
|
mv /bin/vfio-startup.sh /bin/vfio-startup.sh.bkp
|
||||||
fi
|
fi
|
||||||
if test -e /bin/vfio-teardown.sh then
|
if test -e /bin/vfio-teardown.sh;
|
||||||
|
then
|
||||||
mv /bin/vfio-teardown.sh /bin/vfio-teardown.sh.bkp
|
mv /bin/vfio-teardown.sh /bin/vfio-teardown.sh.bkp
|
||||||
fi
|
fi
|
||||||
if test -e /etc/systemd/system/libvirt-nosleep@.service then
|
if test -e /etc/systemd/system/libvirt-nosleep@.service;
|
||||||
|
then
|
||||||
rm /etc/systemd/system/libvirt-nosleep@.service
|
rm /etc/systemd/system/libvirt-nosleep@.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user