2 # Copyright 1999-2012 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License, v2
4 # $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/files/xdm.initd-3,v 1.2 2011/01/22 15:30:07 lxnay Exp $
11 if ( lsmod | grep nvidia ) ; then
12 /usr/bin/eselect opengl set nvidia
13 /bin/ln -f /etc/X11/xorg.conf-nvidia /etc/X11/xorg.conf
15 /usr/bin/eselect opengl set xorg-x11
16 /bin/rm -f /etc/X11/xorg.conf