mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bsd fix
This commit is contained in:
parent
482338cae2
commit
78a1c5b0e8
2
inxi
2
inxi
|
@ -3580,7 +3580,7 @@ get_audio_data()
|
||||||
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
|
modules[audioCard] = modules[audioCard] gensub( /(.*): (.*)/ ,"\\2" ,"g" ,$0 ) ""
|
||||||
}
|
}
|
||||||
else if (/^[[:space:]]*I\/O/) {
|
else if (/^[[:space:]]*I\/O/) {
|
||||||
portsTemp = $4
|
portsTemp = gensub(/\t*I\/O ports at ([a-z0-9]+)(| \[.*\])/,"\\1","g",$0)
|
||||||
ports[audioCard] = ports[audioCard] portsTemp " "
|
ports[audioCard] = ports[audioCard] portsTemp " "
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue