mirror of
https://github.com/smxi/inxi.git
synced 2025-01-19 00:47:47 +00:00
branch one, should be one of last tests before putting networking updates/fixes in new stable.
This commit is contained in:
parent
161ab937b7
commit
c114aff914
9
inxi
9
inxi
|
@ -2,8 +2,8 @@
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.1.28
|
#### Version: 2.1.28
|
||||||
#### Date: 2014-07-25
|
#### Date: 2014-08-07
|
||||||
#### Patch Number: 06-b1
|
#### Patch Number: 07-b1
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -3467,7 +3467,7 @@ get_audio_data()
|
||||||
else if (/kernel modules:/) {
|
else if (/kernel modules:/) {
|
||||||
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
|
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
|
||||||
}
|
}
|
||||||
else if (/I\/O/) {
|
else if (/^[[:space:]]*I\/O/) {
|
||||||
portsTemp = gensub(/\t*I\/O ports at (.*) \[.*\]/,"\\1","g",$0)
|
portsTemp = gensub(/\t*I\/O ports at (.*) \[.*\]/,"\\1","g",$0)
|
||||||
ports[audioCard] = ports[audioCard] portsTemp " "
|
ports[audioCard] = ports[audioCard] portsTemp " "
|
||||||
}
|
}
|
||||||
|
@ -6321,6 +6321,7 @@ get_module_version_number()
|
||||||
eval $LOGFE
|
eval $LOGFE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
## create array of network cards
|
## create array of network cards
|
||||||
get_networking_data()
|
get_networking_data()
|
||||||
{
|
{
|
||||||
|
@ -6352,7 +6353,7 @@ get_networking_data()
|
||||||
eth[nic]++
|
eth[nic]++
|
||||||
while ( getline && !/^$/ ) {
|
while ( getline && !/^$/ ) {
|
||||||
gsub(/,/, "", $0)
|
gsub(/,/, "", $0)
|
||||||
if ( /I\/O/ ) {
|
if ( /^[[:space:]]*I\/O/ ) {
|
||||||
ports[nic] = ports[nic] $4 " "
|
ports[nic] = ports[nic] $4 " "
|
||||||
}
|
}
|
||||||
if ( /driver in use/ ) {
|
if ( /driver in use/ ) {
|
||||||
|
|
Loading…
Reference in a new issue