mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
Updated number, added patch
This commit is contained in:
parent
31c692cc07
commit
de22e58936
7
inxi
7
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 0.5.31-b-1-t-2
|
#### version: 0.5.32-b-1-t-2
|
||||||
#### Date: November 14 2008
|
#### Date: November 14 2008
|
||||||
########################################################################
|
########################################################################
|
||||||
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
#### inxi is a fork of infobash 3.02, the original bash sys info script by locsmif
|
||||||
|
@ -1006,7 +1006,10 @@ get_audio_data()
|
||||||
print driver
|
print driver
|
||||||
}
|
}
|
||||||
}' /proc/asound/cards )
|
}' /proc/asound/cards )
|
||||||
fi
|
fi\
|
||||||
|
# this is to safeguard against line breaks from results > 1, which if inserted into following
|
||||||
|
# array will create a false array entry. This is a hack, not a permanent solution.
|
||||||
|
alsa_driver=$( echo $alsa_driver )
|
||||||
# this isn't perfect, but if one card was found in lscpci, we're passing
|
# this isn't perfect, but if one card was found in lscpci, we're passing
|
||||||
# this array constructor that card driver name. This should work for most people
|
# this array constructor that card driver name. This should work for most people
|
||||||
# but if you can think of anything better, please post the code patch
|
# but if you can think of anything better, please post the code patch
|
||||||
|
|
Loading…
Reference in a new issue