mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added another regex for mobo data
This commit is contained in:
parent
e68f70b840
commit
dabe37f200
2
inxi
2
inxi
|
@ -4254,7 +4254,7 @@ get_machine_data()
|
||||||
# Chassis Manufacturer|Chassis Version|Chassis Serial Number
|
# Chassis Manufacturer|Chassis Version|Chassis Serial Number
|
||||||
# System manufacturer|System Product Name|System Version
|
# System manufacturer|System Product Name|System Version
|
||||||
# To Be Filled By O.E.M.
|
# To Be Filled By O.E.M.
|
||||||
sub(/^Base Board .*|^Chassis .*|.*O\.E\.M\..*|.*OEM.*|^Not .*|^System .*|.*unknow.*|.*N\/A.*|none/, "", $0)
|
sub(/^Base Board .*|^Chassis .*|.*O\.E\.M\..*|.*OEM.*|^Not .*|^System .*|.*unknow.*|.*N\/A.*|none|^To be filled.*/, "", $0)
|
||||||
gsub(/bios|acpi/, "", $0)
|
gsub(/bios|acpi/, "", $0)
|
||||||
sub(/http:\/\/www.abit.com.tw\//, "Abit", $0)
|
sub(/http:\/\/www.abit.com.tw\//, "Abit", $0)
|
||||||
gsub(/^ +| +$/, "", $0)
|
gsub(/^ +| +$/, "", $0)
|
||||||
|
|
Loading…
Reference in a new issue