diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-08-09 14:41:03 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-08-09 14:41:03 +0000 |
commit | e216ff9d348578a4170b868be0d79e2624c37e38 (patch) | |
tree | bdcc9b6afd7c39e08a028f7dd1b33a3f5828e06d /livecd-functions.sh | |
parent | Added code to make autoconfig disable DHCP properly. (diff) | |
download | livecd-tools-e216ff9d348578a4170b868be0d79e2624c37e38.tar.gz livecd-tools-e216ff9d348578a4170b868be0d79e2624c37e38.tar.bz2 livecd-tools-e216ff9d348578a4170b868be0d79e2624c37e38.zip |
Fixed VGA detection in the opengl identification parts of livecd-functions.sh for bug #143103. This will likely be going away in the future for a much simpler method, since we no longer ship the binary drivers on any of our media.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@119 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-x | livecd-functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index c559b29..040d934 100755 --- a/livecd-functions.sh +++ b/livecd-functions.sh @@ -80,8 +80,8 @@ nv_no_gl() { } get_video_cards() { - [ -x /sbin/lspci ] && VIDEO_CARDS="$(/sbin/lspci | grep VGA)" - [ -x /usr/sbin/lspci ] && VIDEO_CARDS="$(/usr/sbin/lspci | grep VGA)" + [ -x /sbin/lspci ] && VIDEO_CARDS="$(/sbin/lspci | grep ' VGA ')" + [ -x /usr/sbin/lspci ] && VIDEO_CARDS="$(/usr/sbin/lspci | grep ' VGA ')" NUM_CARDS="$(echo ${VIDEO_CARDS} | wc -l)" if [ ${NUM_CARDS} -eq 1 ] then |