mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-22 22:03:43 +03:00
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-usb-vendor-product.hwdb \
|
||||
hwdb/20-acpi-vendor.hwdb \
|
||||
hwdb/20-OUI-vendor.hwdb
|
||||
hwdb/20-OUI.hwdb
|
||||
|
||||
udevconfdir = $(sysconfdir)/udev
|
||||
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);
|
||||
|
||||
open(IN, "<", "oui.txt");
|
||||
open(OUT, ">", "20-OUI-vendor.hwdb");
|
||||
open(OUT, ">", "20-OUI.hwdb");
|
||||
print(OUT "# This file is part of systemd.\n" .
|
||||
"#\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;
|
||||
print(OUT "\n");
|
||||
print(OUT "OUI:" . $vendor . "\n");
|
||||
print(OUT " ID_VENDOR_FROM_DATABASE=" . $text . "\n");
|
||||
print(OUT " ID_OUI_FROM_DATABASE=" . $text . "\n");
|
||||
}
|
||||
}
|
||||
close(INP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user