diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-16 15:26:32 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-16 15:26:32 +0000 |
commit | 08b542df6ba90cd2a1c824bfc9f49d1397f4a8eb (patch) | |
tree | 78af6b85199707e98b63b14fea1ca48ca9a9f7be /livecd-functions.sh | |
parent | Updated nVidia card detection for bug #111509. (diff) | |
download | livecd-tools-08b542df6ba90cd2a1c824bfc9f49d1397f4a8eb.tar.gz livecd-tools-08b542df6ba90cd2a1c824bfc9f49d1397f4a8eb.tar.bz2 livecd-tools-08b542df6ba90cd2a1c824bfc9f49d1397f4a8eb.zip |
Changed echo to einfo and added information on filing bugs if your card is not properly detected.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/livecd-tools/trunk@85 7bf51bff-881f-0410-a643-fba68b97345e
Diffstat (limited to 'livecd-functions.sh')
-rwxr-xr-x | livecd-functions.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/livecd-functions.sh b/livecd-functions.sh index 5a7d54b..ac1b55e 100755 --- a/livecd-functions.sh +++ b/livecd-functions.sh @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.14 2005/11/13 21:57:28 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/livecd-tools/livecd-functions.sh,v 1.15 2005/11/16 15:26:32 wolf31o2 Exp $ # Global Variables: # CDBOOT -- is booting off CD @@ -11,6 +11,8 @@ # LIVECD_CONSOLE_PARITY -- console parity specified # LIVECD_CONSOLE_DATABITS -- console databits specified +source /sbin/functions.sh + livecd_parse_opt() { case "$1" in *\=*) @@ -34,17 +36,21 @@ livecd_get_cmdline() { } no_gl() { - echo "No OpenGL-capable card found." + ewarn "No OpenGL-capable card found." + echo + einfo "If you have a card that you know is supported by either the ATI or" + einfo "NVIDIA binary drivers, please file a bug with the output of lspci" + einfo "on http://bugs.gentoo.org so we can resolve this." GLTYPE=xorg-x11 } ati_gl() { - echo "ATI card detected." + einfo "ATI card detected." GLTYPE=ati } nv_gl() { - echo "NVIDIA card detected." + einfo "NVIDIA card detected." GLTYPE=nvidia } |