nvidia-current kernel module name on Ubuntu
This commit is contained in:
parent
eb8b54f5ac
commit
7347ff2e9a
|
@ -16,7 +16,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Test for nVidia driver"
|
echo "Test for nVidia driver"
|
||||||
modinfo nvidia &>/dev/null
|
modinfo nvidia &>/dev/null || modinfo nvidia-current &>/dev/null
|
||||||
if [ 0 -eq $? ]; then
|
if [ 0 -eq $? ]; then
|
||||||
echo "nVidia kernel module found! ;-)"
|
echo "nVidia kernel module found! ;-)"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue