hwdb: OUI - use ID_OUI_FROM_DATABASE=
This commit is contained in:
parent
40b8acd039
commit
87281abdf3
|
@ -1800,7 +1800,7 @@ dist_udevhwdb_DATA = \
|
||||||
hwdb/20-pci-vendor-product.hwdb \
|
hwdb/20-pci-vendor-product.hwdb \
|
||||||
hwdb/20-usb-vendor-product.hwdb \
|
hwdb/20-usb-vendor-product.hwdb \
|
||||||
hwdb/20-acpi-vendor.hwdb \
|
hwdb/20-acpi-vendor.hwdb \
|
||||||
hwdb/20-OUI-vendor.hwdb
|
hwdb/20-OUI.hwdb
|
||||||
|
|
||||||
udevconfdir = $(sysconfdir)/udev
|
udevconfdir = $(sysconfdir)/udev
|
||||||
dist_udevconf_DATA = \
|
dist_udevconf_DATA = \
|
||||||
|
|
51108
hwdb/20-OUI-vendor.hwdb
51108
hwdb/20-OUI-vendor.hwdb
File diff suppressed because it is too large
Load diff
51108
hwdb/20-OUI.hwdb
Normal file
51108
hwdb/20-OUI.hwdb
Normal file
File diff suppressed because it is too large
Load diff
|
@ -80,7 +80,7 @@ close(INP);
|
||||||
close(OUTP);
|
close(OUTP);
|
||||||
|
|
||||||
open(IN, "<", "oui.txt");
|
open(IN, "<", "oui.txt");
|
||||||
open(OUT, ">", "20-OUI-vendor.hwdb");
|
open(OUT, ">", "20-OUI.hwdb");
|
||||||
print(OUT "# This file is part of systemd.\n" .
|
print(OUT "# This file is part of systemd.\n" .
|
||||||
"#\n" .
|
"#\n" .
|
||||||
"# Data imported and updated from: http://standards.ieee.org/develop/regauth/oui/oui.txt\n");
|
"# Data imported and updated from: http://standards.ieee.org/develop/regauth/oui/oui.txt\n");
|
||||||
|
@ -93,7 +93,7 @@ while (my $line = <IN>) {
|
||||||
my $text = $2;
|
my $text = $2;
|
||||||
print(OUT "\n");
|
print(OUT "\n");
|
||||||
print(OUT "OUI:" . $vendor . "\n");
|
print(OUT "OUI:" . $vendor . "\n");
|
||||||
print(OUT " ID_VENDOR_FROM_DATABASE=" . $text . "\n");
|
print(OUT " ID_OUI_FROM_DATABASE=" . $text . "\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(INP);
|
close(INP);
|
||||||
|
|
Loading…
Reference in a new issue