mirror of
https://github.com/unraid/webgui.git
synced 2026-02-05 16:39:01 -06:00
Add pci checks in qemu
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user