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

12 lines
207 B
Bash

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