[PC-BSD Commits] r2021 - in pcbsd/trunk/system-overlay/PCBSD/xorg-gui: . bin scripts
svn at pcbsd.org
svn at pcbsd.org
Thu Jun 5 08:43:46 PDT 2008
Author: kris
Date: 2008-06-05 08:43:46 -0700 (Thu, 05 Jun 2008)
New Revision: 2021
Added:
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardboard.sh
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardbus.sh
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardvendor.sh
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/monmodel.sh
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/monvendor.sh
Modified:
pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
Log:
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
Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh 2008-06-04 14:08:47 UTC (rev 2020)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh 2008-06-05 15:43:46 UTC (rev 2021)
@@ -8,7 +8,8 @@
# Configuration Settings
# Set all our path variables
-PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin" ; export PATH
+PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin"
+export PATH
# Set the home directory for startx to run properly
HOME="/root" ; export HOME
@@ -17,8 +18,11 @@
XLOG="/PCBSD/tmp/xsetup.log" ; export XLOG
# Source the language version
-. /PCBSD/LANGS/PCBSDLANG
+. /PCBSD/LANGS/PCBSDLANG 2>/dev/null
+# Program Directory
+PROGDIR="/PCBSD/xorg-gui" ; export PROGDIR
+
###############################################################################
# Start the script now
@@ -42,6 +46,11 @@
# Clear out any old refresh rates
rm /tmp/.horzsync >/dev/null 2>/dev/null
rm /tmp/.vertsync >/dev/null 2>/dev/null
+ rm /tmp/.monmodel >/dev/null 2>/dev/null
+ rm /tmp/.monvendor >/dev/null 2>/dev/null
+ rm /tmp/.cardboard >/dev/null 2>/dev/null
+ rm /tmp/.cardbus >/dev/null 2>/dev/null
+ rm /tmp/.cardvendor >/dev/null 2>/dev/null
# Check for refresh rate lines
cat /root/xorg.conf.new | grep HorizSync >/dev/null 2>/dev/null
@@ -56,6 +65,21 @@
cat /root/xorg.conf.new | grep VertRefresh > /tmp/.vertsync
fi
+ # Get the monitor model
+ ${PROGDIR}/scripts/monmodel.sh > /tmp/.monmodel
+
+ # Get the monitor vendor
+ ${PROGDIR}/scripts/monvendor.sh > /tmp/.monvendor
+
+ # Get the card board edition
+ ${PROGDIR}/scripts/cardboard.sh > /tmp/.cardboard
+
+ # Get the card bus
+ ${PROGDIR}/scripts/cardbus.sh > /tmp/.cardbus
+
+ # Get the card vendor
+ ${PROGDIR}/scripts/cardvendor.sh > /tmp/.cardvendor
+
fi # End of skip for nvidia reboot
echo "Please wait... Start X-Configuration Utility" >/dev/console
Added: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardboard.sh
Added: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardbus.sh
Added: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/cardvendor.sh
Added: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/monmodel.sh
Added: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/scripts/monvendor.sh
More information about the Commits
mailing list