mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
fixes and twaeks
This commit is contained in:
parent
cde3d78ac4
commit
3c5dcc1b1a
2
inxi
2
inxi
|
@ -1028,8 +1028,6 @@ get_audio_data()
|
|||
#/^[0-9a-f:.]+ (ethernet|network) (controller|bridge)/ || /^[0-9a-f:.]+ [^:]+: .*(ethernet|network).*$/ {
|
||||
/multimedia audio controller|audio device/ {
|
||||
audioCard=gensub(/^[0-9a-f:.]+ [^:]+: (.+)$/,"\\1","g",$0)
|
||||
gsub(/realtek semiconductor/, "Realtek", audioCard)
|
||||
gsub(/davicom semiconductor/, "Davicom", audioCard)
|
||||
# The doublequotes are necessary because of the pipes in the variable.
|
||||
gsub(/'"$BAN_LIST_NORMAL"'/, "", audioCard)
|
||||
gsub(/,/, " ", audioCard)
|
||||
|
|
Loading…
Reference in a new issue