mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
bug fixes
This commit is contained in:
parent
6658d489a2
commit
ea42c7495c
11
inxi
11
inxi
|
@ -2,8 +2,8 @@
|
|||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 1.8.19
|
||||
#### Date: October 3 2012
|
||||
#### Patch Number: 00
|
||||
#### Date: October 18 2012
|
||||
#### Patch Number: 01
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
########################################################################
|
||||
|
@ -2921,7 +2921,8 @@ get_audio_usb_data()
|
|||
separator = " "
|
||||
}
|
||||
if ( $2 != "" ){
|
||||
print string ",USB Audio,,," $2 "-" sub(/:/,"", $4)
|
||||
sub(/:/,"", $4)
|
||||
print string ",USB Audio,,," $2 "-" $4
|
||||
}
|
||||
}' <<< "$usb_data" )
|
||||
fi
|
||||
|
@ -4962,12 +4963,14 @@ get_networking_usb_data()
|
|||
sub(/realtek semiconductor/, "Realtek", $0)
|
||||
sub(/davicom semiconductor/, "Davicom", $0)
|
||||
sub(/Belkin Components/, "Belkin", $0)
|
||||
|
||||
for ( i=7; i<= NF; i++ ) {
|
||||
string = string separator $i
|
||||
separator = " "
|
||||
}
|
||||
if ( $2 != "" ){
|
||||
print string ",,,,usb-" $2 "-" sub(/:/, "", $4 )
|
||||
sub(/:/, "", $4 )
|
||||
print string ",,,,usb-" $2 "-" $4
|
||||
}
|
||||
}' <<< "$lsusb_data"
|
||||
) )
|
||||
|
|
Loading…
Reference in a new issue