Changeset 40aa467


Ignore:
Timestamp:
11/13/13 09:45:52 (11 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
4f9718b
Parents:
61bd3c6
Message:

Fix a bug on first-boot, check for the nvidia module, and if it exists,
try to use nvidia-xconfig for the auto-detected display

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-xgui/resources/bin/rundetect.sh

    r2513d5a r40aa467  
    106106      cp ${PROGDIR}/cardDetect/XF86Config.compat /etc/X11/xorg.conf 
    107107    else 
     108      # Check if this system has a nvidia device, and run nvidia-xconfig 
     109      kldstat | grep -q 'nvidia' 
     110      if [ $? -eq 0 ] ; then 
     111         echo "Detected NVIDIA, creating xorg.conf" 
     112         nvidia-xconfig 2>/dev/null 
     113      fi 
    108114      AUTORES="YES" 
    109115    fi 
Note: See TracChangeset for help on using the changeset viewer.