diff --git a/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php b/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php index b8e116e45..d0425b8b1 100755 --- a/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php +++ b/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php @@ -16,7 +16,7 @@ $docroot ??= ($_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp'); require_once "$docroot/webGui/include/Helpers.php"; -require_once "$docroot/plugins/dynamix.vm.manager/include/libvirt_helpers.php"; + $pci_device_changes = comparePCIData(); $pcierror = false; diff --git a/sbin/qemu b/sbin/qemu index 79415243a..da3c4945f 100755 --- a/sbin/qemu +++ b/sbin/qemu @@ -7,7 +7,7 @@ if [ $DISABLE == "yes" ] exit 1 ; fi PCI="no" -#PCI=$(/usr/local/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php "$@"); +PCI=$(/usr/local/emhttp/plugins/dynamix.vm.manager/scripts/pcicheck.php "$@"); if [ $PCI == "yes" ] then printf '\n%s\n' "Start/autostart is disabled PCI Change detected." >&2 ## Send message to stderr.