works por deps fixed...
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user