Files
packages/utils/hwdata/test.sh
T
Alexandru Ardelean 7b4bc31f68 hwdata: update to 0.406
Updates PCI, USB, OUI, and other hardware ID databases.

Changelog: https://github.com/vcrhonek/hwdata/commits/v0.406

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit c903ed04b7)
2026-05-28 11:47:12 +02:00

17 lines
309 B
Bash

#!/bin/sh
case "$1" in
pciids)
test -s /usr/share/hwdata/pci.ids
grep -q "^8086" /usr/share/hwdata/pci.ids
;;
usbids)
test -s /usr/share/hwdata/usb.ids
grep -q "^0781" /usr/share/hwdata/usb.ids
;;
pnpids)
test -s /usr/share/hwdata/pnp.ids
grep -q "PNP" /usr/share/hwdata/pnp.ids
;;
esac