mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(Change Version)
fixed another small bug that made the print for busid use wrong data, forgot to clean , from original array data.
This commit is contained in:
parent
8ff14cda78
commit
c0d50a4a26
4
inxi
4
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 1.3.10
|
||||
#### version: 1.3.11
|
||||
#### Date: February 5 2010
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -1706,6 +1706,7 @@ get_audio_data()
|
|||
|
||||
# loop until you get to the end of the data block
|
||||
while (getline && !/^$/) {
|
||||
gsub( /,/, "", $0 )
|
||||
if (/driver in use/) {
|
||||
drivers[audioCard] = drivers[audioCard] gensub( /(.*): (.*)/ ,"\\2", "g" ,$0 ) ""
|
||||
}
|
||||
|
@ -2820,6 +2821,7 @@ get_networking_data()
|
|||
# I do not understand why incrementing a string index makes sense?
|
||||
eth[nic]++
|
||||
while ( getline && !/^$/ ) {
|
||||
gsub(/,/, "", $0)
|
||||
if ( /I\/O/ ) {
|
||||
ports[nic] = ports[nic] $4 " "
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue