etc-gentoo/hprofile/profiles/vga/scripts/fglrx.start

13 lines
266 B
Bash

#
# vga/scripts/fglrx.start
#
modprobe ${1} || die "Failed to insert ${1} kernel module"
[[ $(eselect opengl show) != ati ]] && eselect opengl set ati
[[ $(eselect xvmc show) != ati ]] && eselect xvmc set ati
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#