xorg: fix a typo preventing nvidia->nouveau reconfiguration from working

This commit is contained in:
Silvan Calarco 2012-07-16 18:47:34 +02:00
parent b934e5e81d
commit c454411a28

View File

@ -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