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