xorg: fix a typo preventing nvidia->nouveau reconfiguration from working
This commit is contained in:
parent
b934e5e81d
commit
c454411a28
@ -187,7 +187,7 @@ if [ -e $XORGCONF ]; then
|
|||||||
[ -e /sys/module/nouveau/parameters/modeset ] && NOUVEAU_MODESET=`cat /sys/module/nouveau/parameters/modeset`
|
[ -e /sys/module/nouveau/parameters/modeset ] && NOUVEAU_MODESET=`cat /sys/module/nouveau/parameters/modeset`
|
||||||
[ -e /sys/module/radeon/parameters/modeset ] && RADEON_MODESET=`cat /sys/module/radeon/parameters/modeset`
|
[ -e /sys/module/radeon/parameters/modeset ] && RADEON_MODESET=`cat /sys/module/radeon/parameters/modeset`
|
||||||
|
|
||||||
if [ "$VIDEODRIVER" = "nvidia" -a "$NUOUVEAU_MODESET" = "1" ]; then
|
if [ "$VIDEODRIVER" = "nvidia" -a "$NOUVEAU_MODESET" = "1" ]; then
|
||||||
# replace nvidia with nouveau
|
# replace nvidia with nouveau
|
||||||
mv $XORGCONF $XORGCONF.postplug.nvidia.save
|
mv $XORGCONF $XORGCONF.postplug.nvidia.save
|
||||||
rmmod nvidia
|
rmmod nvidia
|
||||||
|
Loading…
Reference in New Issue
Block a user