Show
Ignore:
Timestamp:
06/05/08 08:43:46 (6 months ago)
Author:
kris
Message:

Added a slew of new scripts and updated rundetect.sh to grab monitor / card
information that will be used in the XGUI tool to enhance graphics setup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh

    r1890 r2021  
    99 
    1010# Set all our path variables 
    11 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin" ; export PATH 
     11PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin" 
     12export PATH 
    1213 
    1314# Set the home directory for startx to run properly 
     
    1819 
    1920# Source the language version 
    20 . /PCBSD/LANGS/PCBSDLANG 
     21. /PCBSD/LANGS/PCBSDLANG 2>/dev/null 
     22 
     23# Program Directory 
     24PROGDIR="/PCBSD/xorg-gui" ; export PROGDIR 
    2125 
    2226############################################################################### 
     
    4347 rm /tmp/.horzsync >/dev/null 2>/dev/null 
    4448 rm /tmp/.vertsync >/dev/null 2>/dev/null 
     49 rm /tmp/.monmodel >/dev/null 2>/dev/null 
     50 rm /tmp/.monvendor >/dev/null 2>/dev/null 
     51 rm /tmp/.cardboard >/dev/null 2>/dev/null 
     52 rm /tmp/.cardbus >/dev/null 2>/dev/null 
     53 rm /tmp/.cardvendor >/dev/null 2>/dev/null 
    4554 
    4655 # Check for refresh rate lines 
     
    5665  cat /root/xorg.conf.new | grep VertRefresh > /tmp/.vertsync 
    5766 fi 
     67 
     68 # Get the monitor model 
     69 ${PROGDIR}/scripts/monmodel.sh > /tmp/.monmodel 
     70  
     71 # Get the monitor vendor 
     72 ${PROGDIR}/scripts/monvendor.sh > /tmp/.monvendor 
     73  
     74 # Get the card board edition 
     75 ${PROGDIR}/scripts/cardboard.sh > /tmp/.cardboard 
     76  
     77 # Get the card bus  
     78 ${PROGDIR}/scripts/cardbus.sh > /tmp/.cardbus 
     79  
     80 # Get the card vendor 
     81 ${PROGDIR}/scripts/cardvendor.sh > /tmp/.cardvendor 
    5882 
    5983fi # End of skip for nvidia reboot