Files
packages/utils/hwdata/test.sh
T
Alexandru Ardelean c903ed04b7 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>
2026-05-10 11:32:19 +03: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