fixed dual video card output

This commit is contained in:
inxi-svn 2008-10-29 06:54:28 +00:00
parent 203501f56a
commit dcd2d72813

17
inxi
View file

@ -1,7 +1,7 @@
#!/bin/bash
########################################################################
#### Script Name: inxi
#### version: 0.1.28
#### version: 0.1.29
#### Date: October 28 2008
########################################################################
#### inxi is a fork of infobash, the original bash sys info script by locsmif
@ -1191,6 +1191,14 @@ print_it_out()
fi
print_screen_output "$long_gfx"
i=1
while [[ -n ${GFX[i]} && $i -le 3 ]]
do
long_gfx=$( printf "${C1}%-${INDENT}s${C2} %s" " " "${C1}Card $(($1+1))${C2} ${GFX[i]}" )
print_screen_output "$long_gfx"
(( i++ ))
done
if ((X)) && ! ((MESA))
then
#long_gfx="$( echo -ne "${INDENT}${C1}GLX Renderer${C2} ${GLXR}${CN} | ${C1}GLX Version${C2} ${GLXV}${CN}" )"
@ -1202,13 +1210,6 @@ print_it_out()
fi
print_screen_output "$long_gfx"
i=1
while [[ -n ${GFX[i]} && $i -le 3 ]]
do
long_gfx=$( printf "${C1}%-${INDENT}s${C2} %s" " " "${GFX[i]}" )
print_screen_output "$long_gfx"
(( i++ ))
done
if [ "$VERBOSITY_LEVEL" -ge 2 ]
then