mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-20 02:52:15 +00:00
Update notification service
This commit is contained in:
@@ -5644,6 +5644,10 @@ def get_hardware_info():
|
||||
'device': device_name,
|
||||
'class': device_class
|
||||
}
|
||||
# Add subsystem device name if available (e.g., "HBA 9400-16i" for SAS controllers)
|
||||
sdevice = current_device.get('SDevice', '')
|
||||
if sdevice:
|
||||
pci_device['sdevice'] = sdevice
|
||||
if network_subtype:
|
||||
pci_device['network_subtype'] = network_subtype
|
||||
hardware_data['pci_devices'].append(pci_device)
|
||||
|
||||
Reference in New Issue
Block a user