mirror of
https://gitlab.com/risingprismtv/single-gpu-passthrough.git
synced 2024-08-30 18:12:14 +00:00
Update install_hooks.sh
This commit is contained in:
parent
eb0dd93e13
commit
ca39e86212
@ -1,4 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/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;
|
if test -e /etc/libvirt/hooks/qemu;
|
||||||
then
|
then
|
||||||
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
mv /etc/libvirt/hooks/qemu /etc/libvirt/hooks/qemu_last_backup
|
||||||
|
Loading…
Reference in New Issue
Block a user