module-nvidia-current:versin bump

This commit is contained in:
alihanozturk
2016-03-05 11:54:06 +02:00
parent 39180badc8
commit 9a1d7870db
4 changed files with 141 additions and 31 deletions
@@ -1,8 +1,5 @@
# Blacklist by default since nvidia* modules have the same aliases
blacklist nvidia-current
# Fail if nouveau loaded
install nvidia-current if /bin/grep -qw "^nouveau" /proc/modules; then /bin/false; else /sbin/modprobe -i nvidia-current $CMDLINE_OPTS; fi
# Load the right module when requested with the name "nvidia"
install nvidia M=$(/bin/readlink /etc/alternatives/libGL | /usr/bin/cut -d/ -f4 | /bin/grep nvidia) && /sbin/modprobe $M $CMDLINE_OPTS
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off