mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
c903ed04b7
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>
17 lines
309 B
Bash
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
|