Changeset e674d0b


Ignore:
Timestamp:
08/05/13 09:50:53 (12 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
4e5cced
Parents:
af47272
Message:

Add a check to the sys-init for i915kms, and set it to load on boot if necessary

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • overlays/install-overlay/etc/pcbsd-video.sh

    r9f211e3 re674d0b  
    7373if [ "$loadIntelKMS" = "yes" ] ; then 
    7474   kldload i915kms 
     75   touch /tmp/loadIntelKMS 
    7576fi 
  • src-sh/xtrafiles/local/share/pcbsd/scripts/sys-init.sh

    r6705b15 re674d0b  
    5454  touch /etc/defaults/pcbsd 
    5555 
    56   # Enable showing the PC-BSD 4th screen 
    57   echo "pcbsd_boot=\"YES\"" >> /boot/loader.conf 
    58  
    5956  # Init the desktop 
    6057  /usr/local/bin/pc-extractoverlay desktop --sysinit 
     58 
     59  # Check if we need to load i915kms 
     60  kldstat | grep -q "i915kms" 
     61  if [ $? -eq 0 ] ; then 
     62     echo "i915kms_load=\"YES\"" >> /boot/loader.conf 
     63  fi 
    6164 
    6265  # Need to save a language? 
Note: See TracChangeset for help on using the changeset viewer.